TIP: Click on subject to list as thread! ANSI
echo: z3_pascal
to: All
from: Keith Bolland
date: 1996-06-18 23:34:46
subject: Yes, I`m a terrible pascal programmer. Your point?

Greetings, All...

Me again.

With the version of my editor-adjunct I'm running currently (does random
origin lines) I sometimes get a blank origin. (" + Origin:
(3:771/160.41)")

Does anyone know why this is happening?

Basic code sequence:

Read CFG file.
Get origins and shove in an array.
Pick a random one.
(*) Go through output text file for external editor line-by-line. If: -
tearline found, add ", OrigRand".
    - origin line found containing " + Origin: !!RAND!!", grab address in
      brackets, store in temporary variable, create line containing randomised
      origins, write to file.
Go back to (*) while not EOF.

I can post the code if it's necessary, but I'd prefer not to.

  -- Keith...
... Never trust a smiling GM.
--- timEd/2-B11, OrigRand
* Origin: Concilium Orb (3:771/160.41)
SEEN-BY: 633/267 270
@PATH: 771/160 772/20 712/624 517 515 711/808 50/99 635/544 727 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.