Section One BBS

Welcome, Guest.


Subject: Baja Command To Campare. Date: Thu Dec 14 2017 03:36 pm
From: DesotoFireflite To: Digital Man

  Re: Baja Command To Campare.
  By: Digital Man to DesotoFireflite on Thu Dec 14 2017 09:17 am

 >> COMPARE_ARS Handle c:\sbbs\data\call.dat
 >> If True
 >> Goto end
 >> end_if

 >> FOPEN FILE O_WRONLY|O_CREAT|O_APPEND "%Jcalls.dat"
 >> :end
 DM> COMPARE_ARS is for comparing the current user against a list of access
 DM> requirements (not a file), so not the right function to call.

 DM> COMPARE is probably what you want. So, FOPEN, FREAD, COMPARE the result
 DM> against _USERON.ALIAS (a global variable), FWRITE to add it to the file.
 DM> That's the basics anyway. I think echicken already gave you a working
 DM> example in the other sub.

I knew it was wrong (Kinda), but it helped me show what I was thinking. The
bigist problem I had was trying to figure out how to open the file so I could
compare it to the _USERON.ALIAS. yes, echicken helped me very much, and now I
think I have enough to incorporate it into my script I've been updating through
the years. Everytime I think I've mastered baja, something like this comes
along and I get humbled very quick :) If it wasn't for you, echicken, nightfox,
and mro, I'd never get anything in baja or js fixed. You guys have always come
through for me when I need help, and I really appreciate it. 

SysOp: C.G. Learn, AKA: DesotoFireflite
Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com
Valhalla II! - (GAP) - bbs.valhallabbs.com:24
A Gamers Paradise - Over 150 Registered Online Game Doors!

Play Trade Wars Between 10 Other BBS's On Valhalla's Trade Wars Game Server!

Featuring Legion, A New RPG, Available On Both Systems!

--- FART(n):  An audio test of one's waste-disposal system.
 ■ SynchronetValhalla Home Services USA http://valhalla.synchro.net

Previous Message       Next Message
In Reply To: Baja Command To Campare. (Digital Man)