[TIB] DOS programming


[Prev][Next][Index][Thread]

[TIB] DOS programming



Hi, I am writing a dos program and a few others and having problems with the if statements

Example code

Input “c:\”,com

If com=cls Then:ClrIO:Goto start:EndIf

If left(com,2)=cd Then:setfold(right(com,3)):goto start:EndIf

 

It works if I type in cls

But anyother command and it says failed to return a true or false statement…please help.

 

Also if anyone knows I use flib and flib2 and that makes a list of all the files in the folder, but how do I find out how many vars are in 1 list? This way I can disp them all on the screen. Thanks

 

Jeremy Butcher


Follow-Ups: References: