forums

TNT Basic Forums > Programming Q&A
a particular problem with my particles
< Last Thread     Next Thread >
Author
Thread        Post A Reply

02-26-2002 14:58

Posted by:
Louis!

Find more posts by Louis!

I'm trying to return a value from a procedure.. and aparently, return is not a command... how can I do this??

02-26-2002 15:57

Posted by:
John Treece-Birch

Find more posts by John Treece-Birch

Returning Variables

You can place the variable you want to return from the procedure in brackets after the End Proc statement. Then you can just use the functions Result Intm Result Float or Result String to get at the value.

Hope this helps,
John

02-26-2002 18:57

Posted by:
Louis!

Find more posts by Louis!

Partial to Particles

Fantastic!.. I just read about it exactly 7 minuted ago and made the changes but thanx for the quick reply.. I'll scower the help file more thorouly before askin' questions from now on. Thanx to this, my little prject is back on track.. just some optimizing and so VERY HEAVY commenting to do now!

All times are GMT        Post A Reply

Forum Jump:
< Last Thread     Next Thread >

< Contact Us - TNT Basic >

Powered by: vBulletin Lite Version 1.0.1 Lite
Copyright © Jelsoft Enterprises Limited 2000.