I'm having trouble with IFE>, it appears it only works with Label> and not SRT>. Any time I try to use the IFE> command and if the file exists when using a SUB> label, I get a message saying the label/subroutine can't be found.... if I change the label name to an actual label, it works fine. I would assume that if a message appears saying the label/subroutine cant be found that the IFE> would work with SUB> as well as Label>... is this a bug or am I just doing something wrong?
This doesnt work:
Let>myfile=c:\test.txt
IFE>myfile,DoSomethingSub
...
SRT>DoSomethingSub
...
END>DoSomethingSub
This does:
Let>myfile=c:\test.txt
IFE>myfile,DoSomethingLabel
...
Label>DoSomethingLabel
...
And yes, I do have the latest version as of 4/29/03, v7.2.034
IFE not working with subroutines
Moderators: JRL, Dorian (MJT support)
Hi,
IFE needs a label and will not jump directly to a subroutine. That improvement is on the list. In the mean time use a label and then jump to the subroutine.
IFE needs a label and will not jump directly to a subroutine. That improvement is on the list. In the mean time use a label and then jump to the subroutine.
MJT Net Support
[email protected]
[email protected]