Post by anton2012 on Feb 12, 2024 12:07:54 GMT
when i try to run the code says: "BASIC compile halted:DO WHILE or DO UNTIL expected" so im kinda confused.
btw i love this languege
and if there's any more mistaces pls tell me
(here's the code)
edit:yes i tried DO LOOP
btw i love this languege
and if there's any more mistaces pls tell me
(here's the code)
REM KAIJU PARADISE BESTIARY
PRINT "WELCOME TO THE KAIJU PARADISE BESTIARY!"
PRINT
DO
PRINT "SELECT A CREATURE TO VIEW ITS ENTRY:"
PRINT "1. Kaiju"
PRINT "2. Fed"
PRINT "3. Figs"
PRINT "4. Ghost Fox"
PRINT "5. Hazzy"
PRINT "6. Lemon Shork"
PRINT "7. Shade"
PRINT "8. Shork"
PRINT "9. Slime Hound"
PRINT "10. Slime Pup"
PRINT "11. Toxic Rappit"
PRINT "12. Witchbrew"
PRINT "13. Melon Shork"
PRINT "14. Pseudo Shork"
PRINT "15. Sinox"
PRINT "0. Exit"
INPUT "Enter the number of the creature: "; choice
SELECT CASE choice
CASE 1
GOSUB 300
CASE 2
GOSUB 310
CASE 3
GOSUB 320
CASE 4
GOSUB 330
CASE 5
GOSUB 340
CASE 6
GOSUB 350
CASE 7
GOSUB 360
CASE 8
GOSUB 370
CASE 9
GOSUB 380
CASE 10
GOSUB 390
CASE 11
GOSUB 400
CASE 12
GOSUB 410
CASE 13
GOSUB 420
CASE 14
GOSUB 430
CASE 15
GOSUB 440
CASE 0
END
CASE ELSE
PRINT "Invalid choice. Please enter a number from the menu."
END SELECT
LOOP
END
300 REM Entry for Kaiju
PRINT "KAIJU:"
PRINT "A giant lizard-like creature that slowly has crystals growing outside of its back."
PRINT "Kaijus tend to be passive aggressive, and are very territorial."
PRINT "They will attack when provoked, but if you keep your distance, they will leave you be... most of the time."
PRINT "Refrain from going near any of the large blue crystals inside the cave."
RETURN
310 REM Entry for Kaiju
PRINT "FED:"
PRINT "FED TEXT TEST"
RETURN
320 REM Entry for Kaiju
PRINT "FIGS:"
PRINT "FIGS TEXT TEST"
RETURN
330 REM Entry for Kaiju
PRINT "GHOST FOX:"
PRINT "GHOST FOX TEXT TEST"
RETURN
340 REM Entry for Kaiju
PRINT "HAZZY:"
PRINT "HAZZY TEXT TEST"
RETURN
350 REM Entry for Kaiju
PRINT "LEMON SHORK:"
PRINT "LEMON SHORK TEXT TEST"
RETURN
360 REM Entry for Kaiju
PRINT "SHADE:"
PRINT "SHADE TEXT TEST"
RETURN
370 REM Entry for Kaiju
PRINT "SHORK:"
PRINT "SHORK TEXT TEST"
RETURN
380 REM Entry for Kaiju
PRINT "SLIME HOUND:"
PRINT "SLIME HOUND TEXT TEST"
RETURN
390 REM Entry for Kaiju
PRINT "SLIME PUP:"
PRINT "SLIME PUP TEXT TEST"
RETURN
400 REM Entry for Kaiju
PRINT "TOXIC RABBIT:"
PRINT "TOXIC RABBIT TEXT TEST"
RETURN
410 REM Entry for Kaiju
PRINT "WITCHBREW:"
PRINT "WITCHBREW TEXT TEST"
RETURN
420 REM Entry for Kaiju
PRINT "MELON SHORK:"
PRINT "MELON SHORK TEXT TEST"
RETURN
430 REM Entry for Kaiju
PRINT "PSUEDO SHORK:"
PRINT "PSUEDO SHORK TEXT TEST"
RETURN
420 REM Entry for Kaiju
PRINT "SINOX:"
PRINT "SINOX TEXT TEST"
RETURN
edit:yes i tried DO LOOP