Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

$ symbol??

Status
Not open for further replies.

paulk29

Technical User
Jul 15, 2003
113
Hi all,
hope your keeping well. One thing has been puzzling me in the Apect program. What is the significance of the "$" symbol??? e.g. $CARRIER, $CTS, $RTS, $DIALING...etc.
I've tried looking it up on the Apect Help file but it only lists the "commands" no explanations.
Thanks again
Paul

Paul Kilcoyne B eng. CCNA
 
"$" words are system variables.

System variables are read-only and cannot be set.

if $CARRIER 0 then OK

$CARRIER = 1 NOT OK


"I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered."
No. 6
 
tbushmaker,
thanks for the reply but I still dont follow you. From a Lay Man's point of view what does say $CARRIER mean?
I thought it meant "change in carrier state" is that correct?
so if I had say;

if $CARRIER
call routine
else
endif

the program would call "routine" if there's a change in carrier state. Am I right? Please help as it's causing me some frustration......
Thanks
Paul



Paul Kilcoyne B eng. CCNA
 
$CARRIER is the status of the CD (carrier detect)
of RS-232.

1 = CD HIGH, carrier present
0 = CD LOW, carrier absent

$CARRIER works only in TERMINAL or TELNET modes.

In your sample, try:

if $CARRIER 1
call routine
else
endif


"I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered."
No. 6
 
Thanks alot that explains it.
Seeing that $CARRIER works only in TERMINAL or TELNET modes is there any way of telling when a call has ( dial up networking ) has connected when in MAIL or WEB Mode?
Thanks again
Paul

Paul Kilcoyne B eng. CCNA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top