Jump to content

Archived

This topic is now archived and is closed to further replies.

Shwaza

Setting functions inside variables

Recommended Posts

Hi, I'm trying to set a variable which can be used throughout the script inside of a function, is that possible? (And I don't want to return things)

Thanks :)

Share this post


Link to post
Share on other sites
You could use a global but Id'e try to avoid it.

Share this post


Link to post
Share on other sites
Thanks. Anyone have other alternatives? If not I guess I'll use globals.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.