16 February 2019, 14:57 | #1 |
Registered User
Join Date: Oct 2008
Location: Finland
Posts: 643
|
Longer lines of code in SuperTED?
Is it possible to increase the number of symbols possible on a line in SuperTED? It seems the "default" maximum is 128 symbols/columns. I use version 2.52.
(I like to use descriptive constants and they quickly make code lines too long.) |
17 February 2019, 10:24 | #2 |
Banana
Join Date: Jul 2016
Location: Darmstadt
Posts: 1,213
|
Variable names should be single characters. Nobody needs more than 26 of them in any program.
|
20 February 2019, 22:20 | #3 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
|
I remember in the 8-bit BASIC days, the programming books actually *encouraged* single-letter variable names in order to save RAM. Which of course I explained to my coding lecturer in Uni... while coding compiled programs... In C
Anyway, to answer the OP, I'm afraid the maximum in all versions of Ted seems to be 128 characters. Depending on what you're doing, you could build up your statement over a couple of lines. That's hardly ideal though. AmiBlitz 3 allows 255 characters, and also allows you to join lines together if they are too long to fit, but I think having such lines in your code will cause problems if you want to bring the code back into Blitz 2.1. |
21 February 2019, 11:38 | #4 | ||
Registered User
Join Date: Oct 2008
Location: Finland
Posts: 643
|
Quote:
Quote:
|
||
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SuperTed 2.5 | Predseda | Coders. Blitz Basic | 7 | 10 January 2020 21:33 |
SuperTED 3.0 sources | idrougge | Coders. Blitz Basic | 0 | 04 September 2016 14:24 |
SuperTed 2.6 | idrougge | Coders. Blitz Basic | 6 | 27 February 2016 15:59 |
SuperTed - New game for the Amiga released (2014/11/22) | hipoonios | News | 26 | 20 July 2015 22:29 |
Diagonal Lines on TV | eva | support.Hardware | 7 | 24 April 2015 13:38 |
|
|