| 1 |
<HTML> |
| 2 |
<HEAD> |
| 3 |
<TITLE>Variables</TITLE> |
| 4 |
</HEAD> |
| 5 |
<BODY BACKGROUND="/back_fbb.jpg"> |
| 6 |
<P> |
| 7 |
<IMG SRC="/fbb.gif" WIDTH="32" HEIGHT="32"> |
| 8 |
<H1 ALIGN=Center> |
| 9 |
<SMALL>Variables.</SMALL> |
| 10 |
</H1> |
| 11 |
<P> |
| 12 |
<PRE> |
| 13 |
<BIG><B>Variables definition:</B></BIG> |
| 14 |
|
| 15 |
Most of the text files support usage of variables. These variables enable |
| 16 |
text or values to be placed, depending upon the context or the channels in |
| 17 |
use. |
| 18 |
|
| 19 |
These variables are defined with the $ sign, followed by a letter. The |
| 20 |
meaning will be different if the letter is in capital or in lower case. A |
| 21 |
second set of variables is defined with the % sign, followed by a letter. |
| 22 |
|
| 23 |
They can also be followed by a figure and in this case, this is a parameter |
| 24 |
whose value is function of the context. These particular variables are used |
| 25 |
in texts, usually as computation results. Do not use them in other places |
| 26 |
than text files (*.TXT). |
| 27 |
|
| 28 |
The $ sign will have to be written $$, if it is not to be considered as a |
| 29 |
variable. The % sign will have to be written %%. |
| 30 |
|
| 31 |
<BIG><B>List of the variables:</B></BIG> |
| 32 |
|
| 33 |
$0 - $9 : Temporary variables. |
| 34 |
$A : @ BBS of the message header. |
| 35 |
$a : Year of the current date. |
| 36 |
$B : Inserts a Ctrl-G (Bell). |
| 37 |
$b : Zip code of the user. |
| 38 |
$C : Number of the next message. |
| 39 |
$c : City where the BBS is located. |
| 40 |
$D : Current date (Format : YYMMDD). |
| 41 |
$d : Current date (Format : DD-Dec). |
| 42 |
$E : Version number. |
| 43 |
$e : City of the connected user. |
| 44 |
$F : Minute of the hour for forwarding. |
| 45 |
$f : File appended to the message header. |
| 46 |
$G : Destination of the message header. |
| 47 |
$g : Number of gateway ports available. |
| 48 |
$H : Current time (Format : HH:MM). |
| 49 |
$h : Home BBS of the user. |
| 50 |
$I : First name of the connected user. |
| 51 |
$i : Date and time of the message header (Format MMDD/HHMM). |
| 52 |
$J : Date of the message header (Format YYMMDD). |
| 53 |
$j : Date of the message header (Format 29-Dec). |
| 54 |
$K : Time of the message header (Format : HH:MM). |
| 55 |
$k : List of the users involved in the conference. |
| 56 |
$L : Number of the last used message. |
| 57 |
$l : Filter value of LC command. |
| 58 |
$M : Number of the message header. |
| 59 |
$m : Frequency of the port in use. |
| 60 |
$N : Number of active messages. |
| 61 |
$n : Size of the message header. |
| 62 |
$O : BBS callsign. |
| 63 |
$o : SSID of the BBS. |
| 64 |
$P : Origin of the message header. |
| 65 |
$p : Number of lines of scroll page option, for the connected user |
| 66 |
$Q : List of the 8 callsigns which have new messages. |
| 67 |
$q : Base messages number of the user. |
| 68 |
$R : BID of the message header. |
| 69 |
$r : L or space character. L means that the message was locally created. |
| 70 |
$S : Subject of the message header. |
| 71 |
$s : Status of the message header. |
| 72 |
$T : Time of message header (Format : HH:MM). |
| 73 |
$t : Type of message header. |
| 74 |
$U : Callsign of the connected user. |
| 75 |
$u : Current drive in FBBDOS. |
| 76 |
$V : SysOp first name. |
| 77 |
$v : Complete route (with the hierarchical structure). |
| 78 |
$W : Inserts a carriage return. |
| 79 |
$w : Inserts an escape character. |
| 80 |
$X : Date of the last connection (Format : 881229). |
| 81 |
$x : Date of the last connection (Format : 29-Dec). |
| 82 |
$Y : Time of the last connection (Format : 12:30). |
| 83 |
$y : Year of message. |
| 84 |
$Z : Last message read by the user (L command). |
| 85 |
$z : Zip Code of the BBS. |
| 86 |
|
| 87 |
$* : Number of active channels. |
| 88 |
$= : User's current channel. |
| 89 |
$! : User's current port. |
| 90 |
$^ : Number of allowed ports. |
| 91 |
$? : BBS QTH-Locator. |
| 92 |
$% : List of the connected users. |
| 93 |
$: : Connection duration (Format : 12mn 05s). |
| 94 |
$. : Machine operation time (Format : 12mn 05s). |
| 95 |
$$ : Character $ |
| 96 |
|
| 97 |
Second set of variables : |
| 98 |
(unformatted means that text is not padded with spaces) : |
| 99 |
|
| 100 |
%A : @ BBS of the message header, unformatted. |
| 101 |
%C : Gives the number of times a message has been read. |
| 102 |
%d : Nb of KB downloaded to the user. |
| 103 |
%E : Give the version code (Linux, Dos, Windows). |
| 104 |
%G : Destination of the message header, unformatted. |
| 105 |
%i : Date and time of the message creation (Format MMDD/HHMM). |
| 106 |
%J : Date of the message creation (format YYMMDD). |
| 107 |
%j : Date of the message creation (format 29-Dec). |
| 108 |
%K : Time of the message creation (format HH:MM). |
| 109 |
%M : Number of the message, unformatted. |
| 110 |
%m : Maximum KB of download allowed on the port. |
| 111 |
%N : Gives the message number limited to the right 5 digits and |
| 112 |
modulo 65536. To be changed in the header definition of INIT.SRV. |
| 113 |
%n : Size of the message header, unformatted. |
| 114 |
%O : Callsign of sysop. |
| 115 |
%P : Origin of the message header, unformatted. |
| 116 |
%R : Callsign with full path (e.g. F6FBB.FMLR.FRA.EU). |
| 117 |
%r : = D if the message holds data (7+) else is space. |
| 118 |
%T : Name of the current theme. |
| 119 |
%t : Number of bulletins in the current theme. |
| 120 |
%X : Number of messages for the user. |
| 121 |
%x : Number of new messages for the user. |
| 122 |
|
| 123 |
%y : Year of the message creation. |
| 124 |
%% : Character % |
| 125 |
|
| 126 |
|
| 127 |
|
| 128 |
|
| 129 |
<A HREF="doc.htm"><IMG SRC="/contents.gif" WIDTH="108" HEIGHT="28"></A> |
| 130 |
|
| 131 |
<A HREF="/"><IMG SRC="../button_home.gif" WIDTH="90" HEIGHT="29"></A> |
| 132 |
|
| 133 |
<FONT COLOR="#800000">This page was last updated <!--#config timefmt="%d-%b-%y"--><!--#echo var="LAST_MODIFIED"--></FONT> |
| 134 |
|
| 135 |
</PRE> |
| 136 |
</BODY></HTML> |