Login
Forum Help



Post Your Message
="hidden" name="cat" value="Programming">
Username: (Login)

Topic:
Message:
 


Previous Messages
Posted By

Crown
on 2006-01-26
15:07:38
 Re: BASIC line lenght

Execution and listing happens differently. You can actually hide basic lines which do get executed, but not listed. You only have to modify the link of the previous Basic line to point it to next line after the line you want to hide.

I think this also survives the relinking after loading the file as well...

Posted By

indi
on 2006-01-26
14:17:55
 Re: BASIC line lenght

If you enter a line >251 using the monitor, it might not display it..... but does it run it?

Posted By

SVS
on 2006-01-26
12:34:29
 Re: BASIC line lenght

I'm used to insert BASIC lines (and also AUSTROSPEED sources) by abbreviating commands as Lavina said. This allows to insert lines even 100 chars long. Of course when you have to modify one, you must reinsert any keyword.

I remember a prg. like yours, Gaia. If I'm not wrong its name was "Cruncher"

... yes, yes Csabo I promise to search it ASAP! happy

Posted By

Gaia
on 2006-01-26
11:11:04
 Re: BASIC line lenght

I used to have a program that crunched BASIC lines to ~250 long. Is there something like that in the database already? If not then it's surely missing software, although I have no idea what the title was.

Interesting is the 88 limit for the input buffer, the engineers have probably taken over kernal program code from the VIC-20 (where it is 4 times the screen line length) wink

Posted By

Lavina
on 2006-01-26
10:59:08
 Re: BASIC line lenght

When you type in the basic line, you should use the shorter version of commands with usually the first letter and the next one with shift. This way you can get pretty long lines... happy

But I suppose you all know this...

Posted By

Csabo
on 2006-01-26
10:51:02
 Re: BASIC line lenght

Played with this a little. First of all, an incorrectly linked basic line will happily crash basic happy

It seems to me that there IS a 251 byte limit. Even though you can create lines that are technically valid and longer than that in monitor, when you list the given line, it cuts off at 251. I wouldn't say this is 100% the case, just from quick testing.

Posted By

SVS
on 2006-01-26
09:57:59
 BASIC line lenght

I read on comp.sys.cbm that it was said that BASIC can teoretically operate with lines having 255 characters.
I think that its max is 251 characters, while 4 bytes are reserved for header.
Any comment?


Copyright © Plus/4 World Team, 2001-2024. Support Plus/4 World on Patreon