Scope of variables in PAWN?
#3

Yes. Variables declared outside of a callback are considered Global (all functions/callbacks can access them). Anything declared inside a function is local, and only usable by that function.
Reply


Messages In This Thread
Scope of variables in PAWN? - by T0pAz - 28.12.2011, 17:03
Re: Scope of variables in PAWN? - by CaHbKo - 28.12.2011, 17:07
Re: Scope of variables in PAWN? - by randomkid88 - 28.12.2011, 17:08
Re: Scope of variables in PAWN? - by T0pAz - 28.12.2011, 17:13
Re: Scope of variables in PAWN? - by Calgon - 28.12.2011, 17:17
Re: Scope of variables in PAWN? - by Tannz0rz - 28.12.2011, 17:19
Re: Scope of variables in PAWN? - by T0pAz - 28.12.2011, 17:19
Re: Scope of variables in PAWN? - by Calgon - 28.12.2011, 17:23
Re: Scope of variables in PAWN? - by T0pAz - 28.12.2011, 17:26
Re: Scope of variables in PAWN? - by Ash. - 28.12.2011, 18:33

Forum Jump:


Users browsing this thread: 1 Guest(s)