I've tested a ZX Spectrum BASIC line in ZX81 BASIC and I had to make some modifications in order to get it to run. The line 'PRINT VAL "VAL ""VAL """"2"""""""' is from ch. 9 in the ZX Spectrum BASIC Programming manual and it can only be typed in in Spectrum 48K or earlier (e.g. not in Spectrum 128K mode):
http://www.worldofspectrum.org/ZXBasicM ... chap9.html
Here is my test program with the translated line:
valvalval2.p
Is it possible to make the ZX81 line shorter and more similar to the ZX Spectrum line?
PRINT VAL VAL VAL "2"
PRINT VAL VAL VAL "2"
Last edited by MOB-i-L on Sat Oct 26, 2013 9:51 am, edited 1 time in total.
Started w/ BASIC on ABC80 & ZX81 then Forth, Z80… http://scratch.mit.edu/users/mobluse/ https://www.youtube.com/user/MOBiL4u/ https://twitter.com/mobluse/
Re: PRINT VAL VAL VAL "2"
Hi,
what about this? VAL STR$ VAL STR$ VAL "2"
Matthias
what about this? VAL STR$ VAL STR$ VAL "2"
Matthias
- Attachments
-
- valvalval2.P
- (1.02 KiB) Downloaded 253 times