Order of the Butterfly
Posts: 217 from 2003/11/14
From: Bavaria
Yes, really strange to use RC instead of RESULT for return value...
My problem now is: I want to find out the Path/Filename of currently shown Picture.
my code looks like that:
Code:
/* $VER: 1.0 */
options results /* enable return codes */
options failat 6
signal on syntax
address SHOWGIRLS.1
'ImagePath'
say result
say rc
'ImageName'
say results
say rc
exit
syntax:
say "Error in line" sigl ":" errortext(rc)
when run, result is always unset.
and RC contains a number width 8 digits in case of ImagePath resp. 4 digits in case of ImageName.
I however exspected string values instead...