E - Petewg/harbour-core GitHub Wiki
Back to Home
-
ElapTime(
<cStartTime>, <cEndTime>
) ➜ cDiference
returns a time-formatted character string holding the duration of the time interval in the formathh:mm:ss
. -
Empty(
<exp>
) ➜ lEmpty
returns .T. when the passed value is empty, otherwise .F. -
Eof() ➜ lIsEndOfFile
returns .T. when the record pointer in a work area has reached the end of file, otherwise .F.
NOTE: Eof() is always .T. when a database has no records, and is always .F. when there is no work area in use. -
EoM(
[<dDate>]
) ➜ dDateEndOfMonth
returns the last day of a given month date. -
EoY(
[<dDate>]
) ➜ dDateEndOfYear
returns the last date of a given year date. -
ErrorBlock(
[<bErrorHandler>]
) ➜ bCurrentErrorHandler
returns the current error handling code block and optionally sets a new<bErrorHandler>
to be executed whenever a runtime error occurs. When evaluated, the<bErrorHandler>
is passed an error object as an argument by the system. -
ErrorLevel(
[<nNewReturnCode>]
) ➜ nCurrentReturnCode
returns and optionally sets the current exit code as a numeric value. It returns zero if no exit code has been set. -
Eval(
<bBlock>, [<BlockArg list>]
) ➜ LastBlockValue
Evaluates a code block and returns the resulting value of the last expression within the block. Returned value can be of any type.<bBlock>
is the code block to be evaluated, while<BlockArg list>
is an optional list of arguments to send to the code block before it is evaluated. -
Exp(
<nExponent>
) ➜ nAntilogarithm
returns a numeric value that is equivalent to the value ofe
raised to the specified power. The maximum value of<nExponent>
is46
otherwise a numeric overflow occurs. It's the inverse function of 'LOG()'.
Back to Home