Empty line

Hints and tricks for using Mouse and Key Recorder

Empty line

Postby Zoltar » 16 Jan 2010, 12:40

Hi,

Thank you for the previous answer, but…

I was studying the following manual program:

{{ImportFile c:\MyList.txt
{{Label Start
{{MessageBox {{DoImport}
{{If {{ImportNextLine} = {{True} ;{{Goto Start;{{Goto End
{{Label End

MyList.txt file looks as follows:

123,123
123 123
123^123

123/123

The program runs OK but the empty line (contains just a CR) was skipped.

Please advice?
Zoltar
 
Posts: 3
Joined: 14 Jan 2010, 20:10

Re: Empty line

Postby admin » 16 Jan 2010, 22:35

Yes, Empty lines are skipped. This is handy to avoid the need to handle the last (empty) line especially.
You can use a space in your "empty" line, then the line is read.

John Krauer, Kra-Tronic Corp.
admin
Site Admin
 
Posts: 219
Joined: 28 Oct 2005, 13:50


Return to Mouse and Key Recorder

Who is online

Users browsing this forum: No registered users and 1 guest

cron