Page 1 of 1
Checking existence of a variable
Posted: Wed Jul 09, 2008 8:41 am
by bjb007
Know I can check "if there is no..."
for image, graphic, field etc. etc. but
can I check for a global or local variable?
Posted: Wed Jul 09, 2008 9:34 am
by Mark
Hi BJB,
Please check out the documantion on the variablenames function. You probamly want something like:
Code: Select all
if not "variable" is among the items of line x of the variableNames then
do "put something into" && variable
end if
Best,
Mark
Posted: Wed Jul 09, 2008 1:05 pm
by rozek
Oops,
trying to learn how to use RR properly, I also checked the docs for "variablenames" myself - then I checked the other ...names as well - and ran across a bug in the docs:
according to the docs, "the localnames" shall to contain 3 lines - but only two of them are mentioned and explained.
What does the first line contain?
[edit]I just filed a bug report
Posted: Thu Jul 10, 2008 12:25 am
by Mark
Hi Andreas,
I have no idea what should be on the first line of the localnames. I'm sure it is something obvious, but I can't discover it. Sorry...
Mark
Posted: Thu Jul 10, 2008 6:04 am
by rozek
Hello Mark,
thanks for your effort anyway - I already filed a bug report (and this one should be easy to fix - in contrast to the others which are often "not reproducable"

)