How to make a program so that it could read from the text file and then perform same function according to the syntax of the text file.
Printable View
How to make a program so that it could read from the text file and then perform same function according to the syntax of the text file.
Unfortunately this is IMPOSSIBLE !!
Visual Basic does not work in a way of passing strings to the compiler, but the compiler processes COMMANDS, and this is the new characteristic of the new developed Programming Languages, i.e. Pascal, C, VB.
However, in Clipper you can do this .. if you heard about this programming language.
Wesam.
------------------
Fortunately, it's possible (I'm guessing the original poster intended to use the word "some" in place of "same").
Use this process:
Read record
parse string into fields
use a case statement to decide what to do based upon the content of one (or more) of the fields.
loop until done