TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: ALL
from: STEVE MCCRYSTAL
date: 1996-06-19 18:00:00
subject: errorlevel in pb3.x

;
;
I swear I've looked (and RTFM), but if there is a way to set an 
errorlevel/exit code from a PB program, I sure can't find it.
Would anyone care to share a technique? It's fairly easy in QB/PDS, so I'm 
sure a fine compiler like PB must have an equally simple procedure.
-[Steve]-
--- GoldED/2 2.50+/#1057US3
---------------
** A related thread FOLLOWS this message.

FIDO MESSAGE AREA==> TOPIC: 214 POWER BASIC   Ref: DAU00104 Date: 06/25/96
From: KURT KUZBA                                            Time: 12:01am
\/To: STEVE MCCRYSTAL (Rcvd)                              (Read 6 times)
Subj: R: errorlevel in pb3.x

SM>   a way to set an errorlevel/exit code from a PB program
sm>.........................................................
   END DOSerrorlevel%

---
> ] Once you know me better, you'll like me even less...........

---------------
>>>>>>>>>>>>>>>>>>>>>> LAST Message In Thread <<<<<<<<<<<<<<<<<<<<<<

FIDO MESSAGE AREA==> TOPIC: 214 POWER BASIC   Ref: DAQA2335 Date: 06/20/96
From: JIM BROADBENT                                         Time: 08:49am
\/To: ERIC SCHONNING                                      (Read 4 times)
Subj: Re: Parellel Port

 ES> I'm not sure about solid state relays, but I know the mechanical type
 ES> ones have a coil in them, and when you apply power it will become an
 ES> electromagnet, which then attacts 'switch' part and closes circuit. 
 ES> The coil will have some resistance, and using Ohm's law can calculate
 ES> the current.  For example, if coil resistance is 75 ohms, and voltage
 ES> is 5v, then 5/75 = 66 ma, which may be too much for those open
 ES> collector outputs on the parallel port.  
 
 ES> hmmmm....there is a book out called "interfacing to the ibm-pc", up to
 
Thanks for your help Eric....you've pointed in the right direction.
 
Thanks Mr. Moderator for allowing this discussion.
 
Best regards Jim
--- Maximus 2.01wb
---------------
* Origin: -[Steve's Place]- New Berlin, WI (FidoNet 1:3641/1.202)
* Origin: RASCAL Calgary, Alberta (403)686-2550 USR V.Everything (1:134/122)

SOURCE: echomail via exec-pc

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™.