This li'l baby will mirror a word!
Remember to give me credit if you use this in a script!

(I'm not sure if this has been made before, but I havent stolen anything from anybody, just so you know.)

All you have to do, is throw this script in your includes folder, include it in your script and make a procedure where you decide what String 'S' (without quotation-signs) is.

then at the mainloop you add:

MirrorString;
TrimString;
Writeln(S);


The String 'S' can max be 100 chars long, and spaces in start and ending will be deleted.

My idea while making this was; We have all heard rumors of that "Read and Type" random. In the forums they talk about adding lines through letters and an avast amount of other stuff. So why wouldn't they add mirror-words?
So, if anyone with a bit more experience and skill with Scar, would make this to a "IsTextUp" and case sensitivity script, it might be more useful than for just DebugBox-fun.

The real effect is actually not worth anything. If you declare String 'S' to be 'acd', the script will write 'dca' in the DebugBox. Not for much use,
huh :P ?

So until this script is converted into something more useful, it is just a fun-script. Also; This script uses String 'S', String 'K', Integer 'I' and
Array [1..100] of String 'MirrorArray'. Just so you won't duplicate 'em elsewhere in your script

This is the right way to use it, with nothing else:
SCAR Code:
program MirrorMyWord;
{.include Mirror.scar}

procedure WhatIsStringS;
begin
  S:= 'Mirror my word!';
end;

begin
  WhatIsStringS;
  MirrorString;
  TrimString;
  Writeln(S)
end.