I need some information about "VAL" use in Natural. As far as I know it will fetch the numeric value from a alphanumeric variable as mentioned below :-
Reset #a (A30) init <'1A'>
Reset #B (N2)
#B := VAL(#A)
Display #B
The output will be #B = 1.
Now here my doubt is if #a contain no numeric data as mention below :
Reset #a (A30) init <'AB'>
Reset #B (N2)
#B := VAL(#A)
Display #B
What will be the value of #B ?
Thanks in Advance!