forums

TNT Basic Forums > Programming Q&A
Moaning
< Last Thread     Next Thread >
Author
Thread        Post A Reply

11-08-2002 05:47

Posted by:
Toxicgonzo

Click Here to Email Toxicgonzo   Find more posts by Toxicgonzo

Whenever I try to pass the Moan Move command a variable(like "M velocity_x,velocity_y, 10"), I get a runtime error. Is there a way to pass it a variable?

11-08-2002 08:31

Posted by:
Mark Tully

Find more posts by Mark Tully

Variables and Registers

Hi there,

Moan can't use variables from TNT Basic, but it does have registers. The registers are numbered R0-R9 (channel specific) and RA-RZ (shared across all channels) and can be read and set from the main TNT Basic program using the 'set channel register' and 'channel register' commands.

See the moan tutorials sections of the help for more information.

Thanks,

Mark

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.