Hello Keith!
,jn78ywKeith Bolland{at}GKkjhsfy8&*^*AllM Read CFG file.
KB> Get origins and shove in an array.
KB> Pick a random one.
KB> (*) Go through output text file for external editor line-by-line. If:
KB> - tearline found, add ", OrigRand".
KB> - origin line found containing " + Origin: !!RAND!!",
grab address
KB> in
KB> brackets, store in temporary variable, create line containing
KB> randomised
KB> origins, write to file.
KB> Go back to (*) while not EOF.
Well all I can think of is that maybe you've just got a few numbers wrong,
so that the program is grabbing blank lines from the CFG file. Hmmmm,
maybe the CFG file has a couple of balnk lines (which you can't see) that
the program is grabbing - just make sure that after the last line in the
CFG you cannot use the arrow keys to go further down. Hope you can follow
my dribble! ;)
See ya, o _ EnigmA _ o
Jase. 0\_(>|øù.,.ùø'`øù.,.ùø'`øù.,.ùø'`øù.,.ùø|<)_/0
T> TT Puzzle Point Point 2400 TT * Origin: *¨*¨*¨* înigmA's Puzzle Point *?*?*?* (3:774/195.2400)
SEEN-BY: 633/267 270
@PATH: 774/195 605 772/20 712/624 517 515 711/808 50/99 635/544 727 633/267
|