Almost ok

by Lisztfr (no login)

CLS

INPUT ; "offset"; offset

PRINT

DO

INPUT ; "index"; index

ind = (index + offset) MOD 5

PRINT "ind "; ind

LOOP

END

At least it works for the positives offset, and that's all i need :)

L

Posted on Jan 6, 2009, 1:20 PM

Respond to this message   

Goto Forum Home