IonicWind Software

Aurora Compiler => Tips and Tricks => Topic started by: WayneA on June 14, 2010, 02:22:20 PM

Title: Decypher me!
Post by: WayneA on June 14, 2010, 02:22:20 PM
A signature program I wrote.. Can you figure out what it does?

sub main(){unsigned int f=openfile(getargstring(1),
MODE_CREATE|MODE_WRITE);string s=getargstring(2);if
(f){  print(write(f,"; ,]P^0Dw0Dy5{!P/5e PZX5'(n!`"
+s+"$",30+Len(s)));closefile(f);}return;}
Title: Re: Decypher me!
Post by: WayneA on June 15, 2010, 12:41:14 PM
heh, no ones interested or its harder than I anticipated?
Title: Re: Decypher me!
Post by: WayneA on June 16, 2010, 12:56:37 PM
Alright, not as big a hit as I hoped.

Compile this as console, named something like "text2com.exe"

It needs to be called from the command line like so:
text2com test.com "Hello World!"

It will produce a .com file that displays whatever text you passed as the second argument.