forums

TNT Basic Forums > Programming Q&A
One instruction on several lines
< Last Thread     Next Thread >
Author
Thread        Post A Reply

02-21-2009 16:38

Posted by:
Maxime

Location:
Paris France

Find more posts by Maxime

I would like to build a 30 points Polygon. The instruction is very long in size which makes it difficult to amend.
Seems simple, but is there a "Return" just for edition (sort of "Option Return") which would allow to write an instruction on several lines ?
Thank you

03-09-2009 02:31

Posted by:
swagIT

Location:
Great Wet North (Vancouver)

Find more posts by swagIT

Not sure what you mean exactly....

03-14-2009 09:33

Posted by:
Maxime

Location:
Paris France

Find more posts by Maxime

One instruction... precisions

I will try to explain, swagIt
I would like to write :
Fill Poly 100,100 to 110,110, to 110,110, to 110,110, to 110,110, to 110,110, to 110,110, to 110,110, to 110,110, to 110,110, to 110,110, to 110,110, to 110,110, to 110,110, to 110,110, to...
(changing the figures, evidently)
But in the code window, I have to write it on one single line which extends widely out of the window. This makes modifications difficult : you have to scroll, while keeping the count of which "110" you want to change. And you no more see the other shorter lines of the prog.

I would like to write that line with "sort of returns" which would allow to write the instruction on several lines, but still read by the prog as ONE instruction :

Fill Poly 100,100 to 110,110, to 110,110, to 110,110, to 110,110, SReturn
to 110,110, to 110,110, to 110,110, to 110,110, to 110,110, SReturn
to 110,110, to 110,110, to 110,110, to 110,110, to 110,110, to...
Thanks for help

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.