Page 1 of 1
MessageRequester()
Posted: Sun May 04, 2003 1:57 pm
by Kale
This code runs even though 'Flags' is not defined!
Code: Select all
MessageRequester("Bug?", "This code runs even though 'Flags' is not defined!", Flags)
Posted: Sun May 04, 2003 2:00 pm
by freak
Hum, what do you mean by Flags is not defined?
Every PB Variable get's defined if it is used somehwere. If you don't
assign a type to it, it will be LONG.
So here you just call MessageRequester() with 0 as Flags.
Timo
Posted: Sun May 04, 2003 9:14 pm
by Kale
aha! yes of coarse, i was expecting it needed to be defined first, i didn't realise it would declare the variable in the command itself.