hb_E - Petewg/harbour-core GitHub Wiki
🔙 Home
-
hb_eol() ➜ cEndOfLineMarker
returns the platform/OS specificEOL
(end of line marker, char or pair of chars). -
hb_ExecFromArray(
<cFuncName>|<sFuncSymbol>|<bCodeBlock> [, aParams]
) ➜ xResult
returns the result produced by execution of the function specified bycFuncName
orsFuncSymbol
or thebCodeBlock
code-block. The parameteraParams
is array with parameters that is passed to and used by the executed function or code-block and must be of correct type and number needed for proper functioning, otherwise RTE occurs.
e.g.? hb_execFromArray( "Left", {"Hello world", 5} )
➜ Hello
also? hb_execFromArray( @Left(), {"Hello world", 5} )
➜ Hello
but:? hb_execFromArray( @Val(), {2} )
➜ RTE (runtime error!) // passed {2} is a wrong type for Val(), had to be {"2"}.
ℹ️ See a very interesting/useful post about this function here. -
hb_ExecMsg(
<sFuncSym>, <object>, [<params,...>]
) ➜ xResult
Executes<sFuncSym>
with<object>
set as QSELF() value. -
hb_EndObject() ➜ oSelf
(TODO!)
🔙 Home