Very simple code...I thought
Posted: Fri Sep 19, 2003 8:41 am
I am trying to write a very simeple bit of code as follows
quote:
Harmitem = Arg1
Ans = ''
If Harmitem = '116' then Found = @True else Found = @False
If Found Then Ans = 'R'
End
when i compile the job i get the following errors
quote:
Compiling: Source = 'DSU_BP/DSU.JOCImportRedefinedReefer', Object = 'DSU_BP.O/DSU.JOCImportRedefinedReefer'
0007 RETURN(Ans)
^
WARNING: Text found after final END statement
Compilation Complete.
There isnt even any blank spaces after the end statment
what is wrong here?
quote:
Harmitem = Arg1
Ans = ''
If Harmitem = '116' then Found = @True else Found = @False
If Found Then Ans = 'R'
End
when i compile the job i get the following errors
quote:
Compiling: Source = 'DSU_BP/DSU.JOCImportRedefinedReefer', Object = 'DSU_BP.O/DSU.JOCImportRedefinedReefer'
0007 RETURN(Ans)
^
WARNING: Text found after final END statement
Compilation Complete.
There isnt even any blank spaces after the end statment
what is wrong here?