The Dink Network

Reply to Re: Debug mode questions

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
February 21st, 10:18 PM
custom_simon.gif
SimonK
Peasant He/Him Australia
 
It seems most likely I was defining in a custom variable, as the predefined ones used by the engine seem to accept the global scope of the variable.

-----

After more mucking around, I observed this regarding variable scope and custom procedures/

Even variables that are declared in the main procedure don't seem to be recognized by custom procedures, at least not on the first pass through the procedure.

But if I just use a custom procedure specific variable that gets defined in procedure itself, then that is fine. If I can be bothered I should explore the whole arg passing stuff mentioned in the DinkC Ref, which as I read probably already explains about passing variables around and I just didn't get it. (God I hate scripting languages...>-) )

But global variables are modified within custom procedures, so that is something...