02-03-2003, 04:30 AM
Hi :)
The program stored itself in a hex string as you suggested but the challenge was to get it to fit into less than 255 characters as this is the line limit of QB! ie this:
p$ = "A0868768EF987E..."
had to be less than 255.
It then printed:
print "p$ = "+chr$(34)+p$+chr$(34)
Or something like that. p$ contained the hex for the code for printing p$ (this was generated by another program which scanned through the .bas file). I can't find the code anywhere so I can post it, sorry
:)
The program stored itself in a hex string as you suggested but the challenge was to get it to fit into less than 255 characters as this is the line limit of QB! ie this:
p$ = "A0868768EF987E..."
had to be less than 255.
It then printed:
print "p$ = "+chr$(34)+p$+chr$(34)
Or something like that. p$ contained the hex for the code for printing p$ (this was generated by another program which scanned through the .bas file). I can't find the code anywhere so I can post it, sorry
:)