I am having trouble with the NOT statement:
OPEN SourceFile FOR INPUT AS 100 LEN = 32768
OPEN FilePathStr+FileNameStr FOR INPUT AS 200 LEN = 32768
WHILE NOT EOF(100) AND NOT EOF(200) AND Done = 0 THEN
'my code
WEND
I get a syntax error with the While statement. I want to keep looping unles any of the three conditions is met ie: i reach the end of file #100 or i reach the end of file #200 or Done = 1.
Anyone?
------------------
Kind Regards
Mike
OPEN SourceFile FOR INPUT AS 100 LEN = 32768
OPEN FilePathStr+FileNameStr FOR INPUT AS 200 LEN = 32768
WHILE NOT EOF(100) AND NOT EOF(200) AND Done = 0 THEN
'my code
WEND
I get a syntax error with the While statement. I want to keep looping unles any of the three conditions is met ie: i reach the end of file #100 or i reach the end of file #200 or Done = 1.
Anyone?
------------------
Kind Regards
Mike
Comment