@td question

Kenneth Brody kenbrody at bestweb.net
Mon Aug 15 17:50:24 PDT 2005


Quoting beppler (Mon, 15 Aug 2005 22:51:58 +0000):

> My client came to me with this today. He is running SCO Unix 5.07
> Filepro 5.0.14R4.
[...]
>        ∙ If: fx lt @td
>        Then: beep;beep;beep;errorbox "Settlement Date in the PAST!";exit
>
> Line 126 returns true when it is false.

My first questions are: what are the actual contents of fx and @td,
and what is PFCMARK set to?

> But if I change @td to @TD it works. I major problem if all system
> fields must be in caps now with FP version 5.0.14R4. Is this true?
>
> Any ideas? Is this true with all system variables?

There is zero different between field @td and field @TD.  They are
absolutely, totally, completely, 100% the same as far as filePro
is concerned.  (On the other hand, if you had a typo of "@dt",
that's a different story altogether.)

To convince yourself of this, compile a .tok file using @td, make
a copy the file, and then recompile using @TD.  The resulting .tok
files will be identical.

On a side note, why build a (6,allup) field containing YYMMDD, only
to recombine the contents into an (8,mdy/) field, when you could
simply use a (6,ymd) field from the outset?

--
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list