The Dink Network

Reply to Re: Local variable problem

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:
 
 
August 6th 2009, 04:32 PM
slimeg.gif
metatarasal
Bard He/Him Netherlands
I object 
If my memory serves me right you can only use a local variable in the procedure it's declared with the exception of the main procedure. I usually declare my variables in the main procedure and then use them wherever I want. It shouldn't give any trouble.

There have been changes in 1.08 concerning 'sharing' of variables between procedures, but declaring in the main procedure and then using it in the hit procedure should work perfectly well. Do you have the script so we can take a look at it?