dummies in @done
Kenneth Brody
kenbrody at bestweb.net
Wed Aug 31 14:23:37 PDT 2005
Quoting Brian K. White (Wed, 31 Aug 2005 15:01:48 -0400):
> Something I forgot to ask a long time ago...
> Sanity check, is it just me or do ,g variables (short or long) get
> cleared out in @done?
It's just you. :-)
> I have processing-only export processes that set variables with ,g in
> @once, and the variable remains set after @once in the main body.
> Great. very useful. I rely on that all the time.
> But the same variable is empty in @done. Not great.
>
> I'm coining a new acronym. YAFI (yet another filepro inconsistency)
And I'll bring back WFM ("works for me").
[...]
xx(10,*,g) ; declare foo(10,*,g)
mesgbox "Record" < @rn { "\nxx = '" & xx & "' foo = '" & foo & "'"
end
@once
xx = "ThisIsXX" ; foo = "ThisIsFoo"
mesgbox "@once\nxx = '" & xx & "' foo = '" & foo & "'"
end
@done
mesgbox "@done\nxx = '" & xx & "' foo = '" & foo & "'"
end
--
KenBrody at BestWeb dot net spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com
More information about the Filepro-list
mailing list