View Single Post
# 4 25-02-2004 , 04:53 PM
Alan's Avatar
Moderator
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
you can do this with any variable (A string is a TYPE of variable). so

proc intTest(int $a, int $b)
{
int $c = $a + $b;
print ("value of c is: " + $c + "\n");
}

intTest(4,5);

That should work.


Technical Director - Framestore

Currently working on: Your Highness

IMDB