It would be nice to have a built-in REVERSE$ function in EB, unless of course there is one already and I've overlooked it. Yes, I know we can roll on own as illustrated below, but it would be another feature that EB could boast about. :)
OPENCONSOLE
DEF Counter:INT
DEF TestStr,NewStr:STRING
TestStr="Emergence"
NewStr=""
FOR Counter = LEN(TestStr) TO 1 STEP -1
NewStr=NewStr+MID$(TestStr,Counter,1)
NEXT Counter
PRINT NewStr
while INKEY$=""
wend
CLOSECONSOLE
END
Hi
Have a look at this.
http://www.ionicwind.com/forums/index.php/topic,1661.0.html
you could add it to EB yourself
Hey Copex,
Thanks for the info. :)
Tony.