I didn't know that about parsing IF and * commands. This gave me an interesting idea for some Underhanded BBC BASIC Programming (not using * commands, but a similar parsing confusion):
Owlet link
Code:
10DIM key% 63 20key%? 10 = 7: REM mark this as a fresh key needing initialisation 30REM ... ... 40REM initialise key before encryption, if necessary 50IF key% ? 10 = 7:PROCinit:PROCencrypt ELSE PROCreencrypt 60END 70DEFPROCinit 80PRINT"Securely initialising encryption key" 90FOR I% = 0 TO 60 STEP 4:key%! I% = RND:NEXT100ENDPROC110DEFPROCencrypt120PRINT"Encrypting sensitive data with key"130IF key%!60 = 0 AND key%!56 = 0:PRINT"**ALERT** Key somehow wasn't initialised!?"140ENDPROC150DEFPROCreencrypt160PRINT"**ALERT** Key is being reused!"170ENDPROCStatistics: Posted by joachim — Mon Dec 08, 2025 1:20 pm