123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|610|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Retro Coding -> I Never Had a C64

Page : 1 Prev 2
Next
Sun, 28 Nov 2021, 05:55
AndyH
Again your interest may vary, here is some information on Amstrad's BASIC: cpctech.cpc-live.com/docs/bastech.html. Not so different.

I will have to look into it in more detail some time. I wonder in this example, if the word GOTO is not tokenised because it is not recognised without the space. PRINT on the other hand works with or without a space before the " character.

10 PRINT"HELLO":GOTO10

(get syntax error)

10 PRINT"HELLO":GOTO 10

(seems to work fine)

-=-=-
Andy H
8-bit games at www.hewco.uk
Cartoons at awful.ovine.net
Ovine at ovine.net
Sun, 28 Nov 2021, 06:40
Jayenkai
The difference there is that the " is acting as a break, whereas Goto10 could be a variable.

-=-=-
''Load, Next List!''
Sun, 28 Nov 2021, 15:58
AndyH
Goto10 would not be a good name for a variable 8-O

-=-=-
Andy H
8-bit games at www.hewco.uk
Cartoons at awful.ovine.net
Ovine at ovine.net
Page : 1 Prev 2
Next