Code: Select all
RESTORE locationsStartLine% + roomId%
I think Turbo supports them too but I can't say for sure as I have never used it.
Code: Select all
RESTORE locationsStartLine% + roomId%
Code: Select all
RESTORE 2000
Code: Select all
RESTORE 2000 + offset %
And it saves memory: With READ/DATA you have to hold your data both in program code and in variables which always seemed to be a silly thing for me to do. When PEEKing, you can pick whatever you need into a temporary variable. READ (if READing a field, as intended) needs to read sequentially or use tricky RESTORE methods.Dave wrote:Which doesn't affect me at all, fortunately. My programming style was always to ALCHP and then load the data in and peek it. I did this because it was more compact than SuperBASIC on mdv, a bit quicker to load, and just fun to do.