The Dink Network

Reply to Self Refrencing Numeric variables

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:
 
 
November 7th 2008, 04:46 PM
wizardb.gif
Endy
Peasant He/Him United States
 
Not sure if this was mentioned anywhere else(or even how much use it is) but I've found you can do something like:

int &50 = 51;
int &51 = 777;

say(" &&50 ", 1);

would say 777

I was actually messing around with set_button when I noticed this. I was hoping I'd be able to use the &buttoninfo vars. Found out that didn't work. You also can't do something like &&buttoninfo, even if the var for &buttoninfo has been defined.

Still not sure how useful this is, thought I should mention it though.

Edit:

Really weird, it appears that vars in say commands are processed in the reverse of the normal order.

ie.

For &&50 it reads &50 then sees the other & and says the value of the location that one points to(if any).

Unfortunatly means that it doesn't appear to work for normal operations.

Going to test it some more in other part of the say/choice commands. May still be of some use.