call a function?
Ken Ray
kray at sonsothunder.com
Mon Jan 7 13:49:01 EST 2002
Niklas,
The function needs to be in the message passing order, and the stack script
is a good place for it. Is it possible you're calling it like a command, not
a function?
For example:
function foo myParam1,myParam2
put myParam1 * myParam2 into myVal
return myVal
end foo
put foo(12,24) into myVar
Hope this helps,
Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
----- Original Message -----
From: "Niklas Almesjö" <niklas_almesjo at yahoo.com>
To: <use-revolution at lists.runrev.com>
Sent: Monday, January 07, 2002 10:46 AM
Subject: call a function?
> Hello,
> I've created a function, but don't quite get how to
> call it. Does the function have to be in the same
> object from where it's called. I placed it in the
> stack script but it doesn't seem to get called when I
> call it from an object,
> thanks,
> /Niklas
>
> __________________________________________________
> Do You Yahoo!?
> Send FREE video emails in Yahoo! Mail!
> http://promo.yahoo.com/videomail/
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list