View Single Post
  #2  
Old 12-14-2001, 11:18 PM
Xaviar Xaviar is offline
Registered User
Join Date: Aug 2001
Location: Fairyland
Posts: 463
Xaviar is on a distinguished road
Send a message via ICQ to Xaviar Send a message via AIM to Xaviar
Re: function arguments

Quote:
Originally posted by btedji
can you pass arguments through functions in graal like this?

funtion Test(this.test){
this.test+=5;
}

Test(5);


this.test would now be worth 10 if it worked
I've tried, and it didn't turn out to well...just put this.test = 5; before the function call
__________________
One by one, the penguins steal my sanity.

*cookie for Xaviar* --Originally posted by Tyhm

--Xaviar

A m e r i c a
Reply With Quote