I created a small routine to convert string values to decimal
Code: Select all
$INCLUDE DSINCLUDE JOBCONTROL.H
vLen=len(Arg1)
For Arg2 = vLen To 1 Step -1
If Arg1[Arg2,1]="" or Arg1[Arg2,1]=" "
then
end
else
abc=Seq(Arg1[Arg2,1]):abc
end
Next Arg2
Ans=abc
Program "DSU.StringToDecimal": Line 9, Variable "abc" previously undefined. Empty string used.
Program "DSU.StringToDecimal": Line 9, Variable "abc" previously undefined. Empty string used.
Program "DSU.StringToDecimal": Line 9, Variable "abc" previously undefined. Empty string used.
Program "DSU.StringToDecimal": Line 9, Variable "abc" previously undefined. Empty string used.
Program "DSU.StringToDecimal": Line 9, Variable "abc" previously undefined. Empty string used.
can you please let me know what is the error causing .
Any help is really appreciated
Thanks in advance