-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Sandor,

On 08 July 2001 at  21:38:38 +0200 (which was 20:38 where I live)
Sandor SZAKACS-VASS wrote to [EMAIL PROTECTED] and made these
points:

SSV> So let's take the IF macro. The help says:

<snip>

The definition has been reworked for the next release of the help and
now says:

 %IF : "var1" <comparison operator> "var2" : <true> : <false>

 Conditional text template insertion macro which works as
 follows:

 <comparison operator> may be '=', '>', '<' or '<>'
 If <var1> is = or > or < or <> (unequal) <var2>, then use the <true> result.
 If the compare fails, then use the <false> result.

 Example:
 %IF:"%TIME"<"12:00":"morning":%-"%IF:'%TIME'>'17:00':'evening':'afternoon'"
 Note that any of the <var1>, <var2>, <true> or <false> elements may
 be either macros or text strings and macros may be used recursively
 as well.

I think this makes the working of the %IF macro a little clearer but
doesn't answer all of your questions.

SSV> - what delimiters can be used? Here we have two, I've seen
SSV> another one (space mixed with ;) in one of Chema's message...

Yeah - that puzzled the heck out of me! Until I saw that I had thought
that only colons (:) could be used.

SSV> - characters used as a delimiter can be quoted? Is there any mean
SSV> to escape them (like 'that\'s a quotation')?

The only way to escape them is by doubling them up as Januk has
described.

- --
Cheers -- .\\arck D. Pearlstone -- List moderator and fellow end user
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\ BrainStorm - free thinking - www: http://www.brainstormsw.com /
 \ PGP Key ID: 0x929DCDA0  |  www: http://www.silverstones.com /

SB! v1.53d/iKey1000 55238-48F0B on Windows NT 5.0.2195 Service Pack 1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (MingW32)
Comment: GPG Sealed for freshness

iD8DBQE7SXnVOeQkq5KdzaARAsKqAKC5V7d7e0dTR7w3mtMrcY4DqDcv6QCgrgv3
YK+oFjZJUJ81yCC35KkxZ+k=
=5ItD
-----END PGP SIGNATURE-----

-- 
______________________________________________________
Archives   : <http://tbudl.thebat.dutaint.com>
Moderators : <mailto:[EMAIL PROTECTED]>
TBTech List: <mailto:[EMAIL PROTECTED]>
Unsubscribe: <mailto:[EMAIL PROTECTED]>

You are subscribed as : archive@jab.org


Reply via email to