| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 194 online users. » 0 Member(s) | 191 Guest(s) Baidu, Bing, Google
|
| Latest Threads |
Old zxbasic game errors
Forum: Help & Support
Last Post: boriel
Yesterday, 11:52 AM
» Replies: 7
» Views: 139
|
Error: Undefined GLOBAL l...
Forum: Help & Support
Last Post: ardentcrest
2025-11-04, 05:46 PM
» Replies: 3
» Views: 108
|
A Fast(er) Plot Routine f...
Forum: How-To & Tutorials
Last Post: tubz74
2025-10-30, 03:16 PM
» Replies: 2
» Views: 160
|
Hall of Fame - Include fo...
Forum: How-To & Tutorials
Last Post: tubz74
2025-10-28, 03:48 PM
» Replies: 0
» Views: 91
|
[SOLVED] Array layout bug...
Forum: Bug Reports
Last Post: Zoran
2025-10-25, 05:48 PM
» Replies: 2
» Views: 217
|
3DOS Commands?
Forum: Help & Support
Last Post: boriel
2025-10-06, 02:54 PM
» Replies: 3
» Views: 380
|
How to open fuse as an ex...
Forum: How-To & Tutorials
Last Post: zedex82
2025-10-05, 07:36 PM
» Replies: 2
» Views: 280
|
CLS/Fade out ASM Sub-rout...
Forum: How-To & Tutorials
Last Post: tubz74
2025-10-05, 03:39 PM
» Replies: 2
» Views: 271
|
ZX Basic Studio Bugs
Forum: Bug Reports
Last Post: Duefectu
2025-09-23, 04:07 PM
» Replies: 5
» Views: 1,083
|
Printing with FZX
Forum: Help & Support
Last Post: boriel
2025-07-17, 10:08 PM
» Replies: 1
» Views: 1,965
|
|
|
| 1.8.1 error unexpected token 'ELSEIF' |
|
Posted by: ximokom - 2018-02-07, 10:16 PM - Forum: Help & Support
- Replies (2)
|
 |
Estaba compilando correctamente con la version estable 1.7.2 y al actualizar a la version 1.8.1 en desarrollo me sale esto: Alguna idea?
Was compiling correctly with the stable version 1.7.2 and update to the version 1.8.1 in development I get this: any idea?
if n=0 then c="\a"
elseif n=1 then c="\{i6}\b" -->error unexpected token 'ELSEIF'
elseif n=2 then c="\{i2}\c"
end if
|
|
|
| How to manage part of a STRING? |
|
Posted by: LukeBord1 - 2018-01-09, 12:29 AM - Forum: How-To & Tutorials
- Replies (4)
|
 |
In standard Basic, we have this example correctly working:
Code: 10 LET a$="123456789012345678901234567890xy"
20 PRINT AT 0,0; a$
30 IF INKEY$="0" THEN LET a$=a$(32) + a$(1 TO 31)
40 GOTO 20
...but it doesn't seem to work in ZXB:
Code: DIM test AS STRING
test="123456789012345678901234567890xy"
mainloop:
PRINT AT 0,0; test
IF INKEY="0" THEN
test=test(32) + test(1 TO 31)
END IF
GOTO mainloop
Thoughts?
|
|
|
|