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: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Niklas Almesj�" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> 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 > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
