Hi Brian,
today I had the following problem using the "Stack" macros. I will
demonstrate it on the attached example script.
Unintentionally I have put the initialization of the stack variable
"Inline_Stack_Vars" NOT into the declaration part (line 6). Instead I
have put in on line 12 of the function. Then I got the following
compilation error:
"main_C_example006_error_pl_....xs", line 14.3: 1506-046 (S) Syntax error.
"main_C_example006_error_pl_....xs", line 18.5: 1506-045 (S) Undeclared identifier
sp.
After some tests and playing around with my code I assumed, that the
stack initialization call has to be within the declaration part. After
I looked into the code I found that this is true.
Just for the sake of the Inline beginners I would suggest, that this
fact should be more emphasized in the Inline documentation. Or is it
somewhere stated and I just did not read it ?
Cheers,
Norbert
--
Ceterum censeo | PGP encrypted mail preferred.
Redmond esse delendam. | PGP Public Key at www.MPA-Garching.MPG.DE/~nog/
example006-error.pl