String handling

The place for codemasters or beginners to talk about programming any language for the Spectrum.
Post Reply
HappyLittleDiodes
Drutt
Posts: 42
Joined: Mon Apr 20, 2020 9:29 am

String handling

Post by HappyLittleDiodes »

Hi

I have an example script I'm modifying, and I'd like find a faster way to achieve this...

DEF FN m$(q$)=q$(2 TO )+q$(1)

The purpose of the function is shift a line of space invaders along by one cell, moving the last back to the front of the line.
It's just so slow the game really isn't much fun!
Post Reply