Search found 6 matches

by midgemaster
Sun Apr 25, 2010 6:45 am
Forum: Freebasic Questions & Answers
Topic: Error handling in Freebasic
Replies: 0
Views: 20997

Error handling in Freebasic

Hi there I tried a QBasic style error handling subroutine in FBasic and received the message Illegal without the -ex option, found: 'Resume' In the Help section under RESUME, it explains that I must compile with - ex option. I have no idea what that means. Can someone perhaps explain? Many thanks Mi...
by midgemaster
Wed Jul 01, 2009 6:25 am
Forum: Freebasic Questions & Answers
Topic: Blank spaces in Freebasic
Replies: 11
Views: 45959

Blank spaces in Freebasic

Hi T'lon Unfortunately the files are spread over literally hundreds of directories so working through them might not be practical. I see the forum provides the facility to send e-mails. Do you know whether attachments are permitted? If so, I could e-mail you with an example file attached (the files ...
by midgemaster
Tue Jun 30, 2009 2:16 am
Forum: Freebasic Questions & Answers
Topic: Blank spaces in Freebasic
Replies: 11
Views: 45959

Blank spaces in Freebasic

Hi there

Yes, WRITE would do the trick.

The problem is that I have some 2,500,000 legacy files created using PRINT in QBasic, and peppered with blanks. Naturally I don't wish to have to re-create them.

Midgemaster
by midgemaster
Mon Jun 29, 2009 11:45 am
Forum: Freebasic Questions & Answers
Topic: Blank spaces in Freebasic
Replies: 11
Views: 45959

Blank spaces in Freebasic

Hi there

Reading with Input in Freebasic. Created with Print in QBasic.

Midgemaster
by midgemaster
Mon Jun 29, 2009 1:42 am
Forum: Freebasic Questions & Answers
Topic: Blank spaces in Freebasic
Replies: 11
Views: 45959

Blank spaces in Freebasic

Hi T'lon I'm trying to read sequential files created by QBasic. Each line in the files has only one piece of data. Part of an example file looks like this : . . PETONG (GB) 1 0 BOLSHOI Ballet . . When the code gets to the blank between 'PETONG (GB) and '1', Freebasic seems to ignore it and picks up ...
by midgemaster
Fri Jun 26, 2009 4:45 am
Forum: Freebasic Questions & Answers
Topic: Blank spaces in Freebasic
Replies: 11
Views: 45959

Blank spaces in Freebasic

Hi there

In Freebasic, if reading a file line by line, blank lines seems to be ignored and the following line is used instead. If I replace a blank line with "", everything works perfectly.

Is this the way it is supposed to work?

Thanks

Midgemaster