I keep it simple and count the number of characters, though in some places Locomotive BASIC will tell me my Lines Too Long if I had too many variables on it.
Gefällt mir
fabrizio_caruso
15. Jan. 2020
Is this rule applied to all targets with no abbreviations (except the almost universal "?" for PRINT)?e.g., Locomotive BASIC? Do we count characters or tokens/instructions?
Gefällt mir
gkanold
04. Feb. 2019
Exactly anders.carlsson
Gefällt mir
anders.carlsson
04. Feb. 2019
Regarding keystrokes, tokens, abbreviations: What goes for Commodore BASIC where abbreviations can be typed in, but are expanded to the full keyword? I suppose P + Shift O would count as 2 characters here though it will be expanded as POKE when listed.
Gefällt mir
post
02. Feb. 2019
Okay, das ist eine gute Regelung. Es sind bereits drei Programme in Arbeit. :-) Vielen Dank
Gefällt mir
gkanold
02. Feb. 2019
>- Do keyword tokens (entered as a single character and not editable separately on the Spectrum) count as one or many characters? There are, for this reason, no abbreviations in ZX BASIC.
Each token counts one character. Because this is the Speccy way of abbreviations.
>- If they count as many, do spaces also count? If so, how?
Space count zero characters.
Gefällt mir
gkanold
02. Feb. 2019
Da bei Sinclair Abkürzungen durch Token realisiert werden, zählt hier die Anzahl der Tastendrücke. PUR80 hat also 80 Tastendrücke pro Zeile zur Verfügung.
I keep it simple and count the number of characters, though in some places Locomotive BASIC will tell me my Lines Too Long if I had too many variables on it.
Is this rule applied to all targets with no abbreviations (except the almost universal "?" for PRINT)? e.g., Locomotive BASIC? Do we count characters or tokens/instructions?
Exactly anders.carlsson
Regarding keystrokes, tokens, abbreviations: What goes for Commodore BASIC where abbreviations can be typed in, but are expanded to the full keyword? I suppose P + Shift O would count as 2 characters here though it will be expanded as POKE when listed.
Okay, das ist eine gute Regelung. Es sind bereits drei Programme in Arbeit. :-) Vielen Dank
>- Do keyword tokens (entered as a single character and not editable separately on the Spectrum) count as one or many characters? There are, for this reason, no abbreviations in ZX BASIC.
Each token counts one character. Because this is the Speccy way of abbreviations.
>- If they count as many, do spaces also count? If so, how?
Space count zero characters.
Da bei Sinclair Abkürzungen durch Token realisiert werden, zählt hier die Anzahl der Tastendrücke. PUR80 hat also 80 Tastendrücke pro Zeile zur Verfügung.