Search found 1086 matches

by NormanDunbar
Thu Jul 09, 2020 11:17 am
Forum: Software & Programming
Topic: SuperBASIC function for type validation
Replies: 12
Views: 721

Re: SuperBASIC function for type validation

Nah, don't hold back, I have been known to be wrong! Just ask my wife!

Cheers,
Norm.
by NormanDunbar
Thu Jul 09, 2020 11:05 am
Forum: Software & Programming
Topic: SuperBASIC function for type validation
Replies: 12
Views: 721

Re: SuperBASIC function for type validation

Beaten, once again, by tofro. :(
by NormanDunbar
Thu Jul 09, 2020 11:03 am
Forum: Software & Programming
Topic: SuperBASIC function for type validation
Replies: 12
Views: 721

Re: SuperBASIC function for type validation

1000 WHEN ERRor 1010 PRINT "That was not a number!" 1020 CONTINUE 1030 END WHEN 1040 : 1050 : 2000 REPeat loop 2010 INPUT "Please enter a number: "; num$ 2020 num = num$ 2030 PRINT "Your number was: " & num 2040 END REPeat loop The above sort of works. Empty string...
by NormanDunbar
Thu Jul 09, 2020 10:52 am
Forum: Help for New Users
Topic: QDOS and Toolkit II syntax
Replies: 2
Views: 252

Re: QDOS and Toolkit II syntax

Hi Tom, A1. Not that I am aware of, sorry. A2. Do you have the C68 installation? If not, get it from Dilwyn's fine web site. Once you have it you can "redirect" flp1_ to flp2_ as follows: ex win1_c68_sed; '-g s/flp1_/flp2_/ input_file_name >output_file_name' The docs for C68 explain all th...
by NormanDunbar
Tue Jul 07, 2020 8:31 pm
Forum: Software & Programming
Topic: EJC (C-Compiler) experiments
Replies: 48
Views: 2855

Re: EJC (C-Compiler) experiments

@NormanDunbar: I know, but in this case this shouldn't be dangerous, cause the input is read from a CON-channel which normally does not have a buffer length > 256 charcters. Of course if it is used with redirection (<)... DON'T DO IT! :D So, now we need to build in a check on startup, that stdin is...
by NormanDunbar
Mon Jul 06, 2020 10:19 am
Forum: Software & Programming
Topic: EJC (C-Compiler) experiments
Replies: 48
Views: 2855

Re: EJC (C-Compiler) experiments

Morning ql_freak. A nice little calculator there, and well done on figuring it all out in the end. userin = gets(userinbuf); Most people I know strongly advise against using gets() for the simple reason that it leaves one susceptable to a buffer overflow. Gcc advise the use of getline() instead, as ...
by NormanDunbar
Sat Jul 04, 2020 8:05 pm
Forum: Software & Programming
Topic: Q68 Software SD Card
Replies: 32
Views: 3812

Re: Q68 Software SD Card

What do you get when you print the FUPDT, from Toolkit 2, of one of the affected files? The value returned is the date in QDOS format, ie. the number of seconds since Midnight 1st January 1961. I imagine the value for the file's date was written on a device that had not had the date set. But 1899???...
by NormanDunbar
Wed Jul 01, 2020 1:26 pm
Forum: General QL Chat
Topic: Forum with infos about online auctions
Replies: 9
Views: 492

Re: Forum with infos about online auctions

It would be nice to have a separate topic with info about online auctions. I would have missed the boxed QL + printer if not mentioned in the 700E QL thread. Now I will miss it because of the price ... And God, I want a QL printer! Drop RobHeaton a PM and request a new forum. That should work. Chee...
by NormanDunbar
Wed Jul 01, 2020 8:27 am
Forum: Software & Programming
Topic: Prospero Pascal BEEP
Replies: 16
Views: 1340

Re: Prospero Pascal BEEP

I alwys mss out some ky prsses!
by NormanDunbar
Tue Jun 30, 2020 11:23 pm
Forum: Software & Programming
Topic: Prospero Pascal BEEP
Replies: 16
Views: 1340

Re: Prospero Pascal BEEP

There's a missing 'e' in "KeyPressd" when Regs.D0 <> 0. :(

Cheers,
Norm.