This is designed to be a simple set of questions and answers - please no general chit chat in here - keep it focused to help new users!
I am trying to write the first part of a programme which starts
0 rem etc etc etc val print etc etc etc
The problem being that the line just carries on but the print commands only normally come on at the start of a newline,so how do they get the print commands on part way through one line ?
Any help would be gratefully appreciated.
- Posts: 108
- Joined: Mon May 23, 2011 2:10 pm
- Location: A bit north of Cardiff, Wales.
What you are seeing is "embeded" machine code that has been entered into a program via a loader, and not using the keyboard.
Normally, when a program is entered you create the first line such as
1 REM 0000000000000000000000
Then, the program (say, in a magazine) would then have a loader routine which is run to poke the machine code values into this REM statement.
When listed, the BASIC interpreter sees the control characters, some of which are BASIC reserved words and converts the poked code to a BASIC keyword, which is meaningless to read.
So, you don't enter those keywords directly, but poke in the values that are listed elsewhere.
If you are just looking at an existing listing after the pokes have taken place, then it is not possible to directly type it back in as you see it. You will need to poke the bytes as originally done.