View Single Post
Old Nov 30th, 2006, 9:34 AM   #3
m0rb1d
Newbie
 
Join Date: Nov 2006
Posts: 19
Rep Power: 0 m0rb1d is on a distinguished road
After rereading that tutorial, it seems SUB's DO something, and functions return a value.

So, I suppose the actual question I'm looking for an answer to is...

Im wanting to generate 3 values, and assign them to variables. This will need to be done repeatedly throughout the program.

Following the SUB doing something, and functions returning a number, it would seem that it's possible to achieve this by using FUNCTION. But, can FUNCTION give the value of 3 things at once?

Such as, the monsters HP, the monsters EXP value, and the monsters Gold value? Or, would I have to use 3 seperate functions?
m0rb1d is offline   Reply With Quote