[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: code - Correction



PureBytes Links

Trading Reference Links

At 10:26 AM -0400 4/8/98, Andrew Ross Abraham wrote:

>Was hoping someone can help me.. I would like to send out an ela and
>attach it to someones block number.. also how would I be able to make
>an ela valid for just a trial period.. thanks

The function used in my previous message should have been CurrentDate not
Date. The corrected code is below.

Assuming a block number of 12345 and a cutoff date of 7/1/98, try the
following:

if BlockNumber = 12345 and CurrentDate < 980701 then begin
   <Code>
end;

Be sure to protect the code with a password so that the recipient cannot
modify this.

Bob Fulks