Register to post in forums, or Log in to your existing account
 
:
Search found 2 matches for:
Page 1 of 1
Author Message
  Topic: Appending to a certain line in a file
Torrenal

Replies: 4
Views: 13067

PostForum: zMUD General Discussion   Posted: Sun Nov 11, 2001 9:05 am   Subject: Appending to a certain line in a file
I don't like the first alias much, but it all works.

Alias: findaltc
Value:
;find record for passed name. return Name & recno
#DBLOAD altcs
#var recno ""
#var name "" ...
  Topic: Appending to a certain line in a file
Torrenal

Replies: 4
Views: 13067

PostForum: zMUD General Discussion   Posted: Sun Nov 11, 2001 5:41 am   Subject: Appending to a certain line in a file
Hmm. I've done the exact same thing in LPC...
The crudest form would be:

#ALIAS altc {#var work %db( @altcs, %1);#var altcs %addkey( @altcs, %1, %2)}
#ALIAS showalts {#show Alts of %1 are~: %db( ...
 
Page 1 of 1
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net