Engine Help: Function
Filtered overview of the Engine Help documentation.
@HttpExtractFields
The HTTP POST fields in TEXT TEXT1 are stored as Engine variables on the VStack TEXT VSTACKPATH2 stored. On success, TRUE returned, otherwise @ERROR.
@HTTPGet
Returns the HTML code of a web page as TEXT. In addition to TEXT SERVER1 and TEXT PAGE2, a port number FN PORT3 can optionally be specified. If omitted, port 80 is used by default. The default timeout for this function i …
@HTTPSGet
Returns the HTML code of a web page as TEXT returned. In addition to TEXT SERVER1 und TEXT PAGE2 a port number FN/TEXT PORT3 can optionally be specified. If omitted, 443 (HTTPS) is used by default. FN FNTIMEOUT4 is reser …
@HugeMimePart
Returns a variable of type HUGEMIMEPART (HMP) with 0 elements.
@HugeRFC822
Returns a variable of type VHUGERFC822 (HRF8) with 0 elements.
@HugeTextList
Returns a variable of type HUGETEXTLIST with 0 elements.
@IDList
Returns a variable of type IDLIST with 0 elements.
@If
Evaluates 1 to 49 conditions BOOL Condition1..49 and returns as the result the value from TrueValue1..49 that immediately follows the first matching condition Condition1..49 . If no condition Condition1..49 matches, the …
@Implode
Joins TEXT/TEXTLIST TEXT1/TEXTLIST1 into a single TEXT . A space is inserted between all joined elements. With TEXT SEPTEXT2, a different separator text can be selected instead.
@Increment
Increments FN FN1 by 1 and writes the result directly back to FN1. NOTE: This @Function is very fast, but it does not return a function result even on success. The return value of the @Function is undefined!!! The expres …
@IncrementViewPos
Increments the pointer in VIEWPOS VIEWPOS by 1 to point to the next document in the view and writes the result directly back to VIEWPOS VIEWPOS. On success this @Function returns TRUE otherwise @Error. FN FNLEVEL (Option …
@IndexOf
Determines whether, in TEXT/BUFFERHANDLE TEXTINSTRING/BUFFERHANDLE der TEXT/the elements of TEXTLIST TEXTSEARCH is/are contained and, if so, at which position(s) it/they are located. The position starts at 0. If the TEXT …
@InsertListElement
Inserts the element FN/TD/TEXT ELEMENT3 into the list FNLIST/TDLIST/TEXTLIST/IDLIST/HUGETEXTLIST LIST1 at the position specified by FN FN2.
@Integer
Truncates the decimal places of FN/FNLIST FN1/FNLIST1 ab und gibt die ganzzahligen Werte.
@IPAddressToText
The V4 IP address FLOAT FLOATIPADDRESS is converted to TEXT and returned. Currently available for Windows only!!!
@IPCloseSocket
Closes the IP connection or port IPSOCKET IPSOCKET1 and returns a closed IPSOCKET. Currently available for Windows only!!!
@IPGetLocalAddress
The local V4 IP address is returned in FLOAT RETFLOATIPADDRESS. Return value: @Error in case of an error; otherwise the local host name (as TEXT). Currently available for Windows only!!!
@IPHexDump2DecAdr
Converts V4 IP address(es) in HEX dump notation (TEXT/TEXTLIST TEXT1/TEXTLIST1) into IP address(es) in decimal dotted notation and returns them. HEXDump Notation: An IP address may be 7 or 8 characters long. If it has 7 …
@IPIsDataAvailable
For an IP connection, returns IPSOCKET IPSOCKET1 whether data has been received. The return value is 0 or 1. If the IPSOCKET is no longer available (TCP), the return value is an @ERROR. Currently available for Windows on …
@IPOpenReceiveSocket
Opens a communication endpoint (port) for incoming IP connections on the server name TEXT SERVER1, unter dem FN PORT2 und dem Protokoll TEXT PROCOTCOL3 und gibt einen IPSOCKET. The first parameter can also be empty if on …
@IPOpenSendSocket
Opens an outgoing IP connection to server TEXT SERVER1, FN PORT2 und dem Protokoll TEXT PROCOTCOL3 und gibt einen IPSOCKET. If the requested communication endpoint (port) is not available, the result is an @ERROR-Wert. P …
@IPPing
In TEXT TEXTRECHNERNAME specifies the host name or host V4 IP address (as TEXT for example "172.16.1.100") of the host to be pinged. In FN FNTIMEOUTMS specifies the timeout in milliseconds (applies to each operation indi …
@IPReceive
Receives the TEXT RETTEXT2 via the opened IPSOCKET IPSOCKET1. The return value of the function is the number of received bytes or an @ERROR-Wert. The timeout for this function is 10 seconds or FN TIMEOUT3 Sekunden. Withi …
@IPSend
Sends the RT/TEXT TEXT2/RT2 via the opened IPSOCKET IPSOCKET1 and returns the number of bytes sent. In case of an error, the result is an @ERROR-Wert. FN FNFLAGS3: 0 (default) - 1 Flush send buffer Currently available fo …
@IPWaitForConnection
Waits for an incoming TCP/IP connection to be opened on IPSOCKET IPSOCKET1 and otherwise returns from the call only after FN TIMEOUT3 or 10 seconds. After that, data can be exchanged connection-oriented using @IPSend and …
@IsBitSet
Checks whether the bit at position FN FN2 in FN FN1 is set or not. If it is set, TRUE is returned; otherwise FALSE. The position is counted from the back and starts with 1. Examples: @IsBitSet(FN1;FN2); X:=1; Ret:=@IsBit …
@IsError
Checks whether any of the variables VAR1-VAR99 contains an error status and returns TRUE if this is the case; otherwise FALSE. IMPORTANT: This @Function returns TRUE if one of the variables VAR1-VAR99 are of Type TEXT st …
@IsMember
Returns whether TEXT/TEXTLIST TEXT1/TEXTLIST1 is completely contained in TEXT/TEXTLIST TEXT2/TEXTLIST2. If TEXTLIST1 contains no elements, the result depends on whether TEXTLIST2 contains any elements: if TEXTLIST2 is em …
@IsNotMember
Returns 1 if TEXT/TEXTLIST TEXT1/TEXTLIST1 is not completely contained in TEXT/TEXTLIST TEXT2/TEXTLIST2; otherwise returns 0. If TEXTLIST1 contains no elements, the result depends on whether TEXTLIST2 contains any elemen …
@JoinList
Implodes TEXT/TEXTLIST TEXTLIST1 taking into account FN/FNLIST LENGHTLIST2 and the separator string list TEXT/TEXTLIST SEPERATORLIST3 zu einem TEXT. FN/FNLIST LENGHTLIST2: Assigns a length to each element of TEXT/TEXTLIS …
@JsonAdd
This @Function adds a new value to an existing JSON object or JSON array. The behavior and meaning of the optional parameters depend on whether HJSON references a JSON object or a JSON array. For a JSON object, VALUE is …
@JsonCreate
This @Function creates a new empty JSON structure and returns a VSPECHJSON (HJS) handle. If the function is called without parameters, a JSON object is created by default. If the optional JSONTYPE parameter is set to "Ar …
@JsonGet
This @Function reads a value from an existing JSON object or JSON array and, where possible, converts it into a corresponding Engine data type. The behavior of the second parameter depends on whether HJSON references a J …
@JsonGetKeys
This @Function returns all keys of a JSON object as a TEXTLIST. HJSON must contain a valid VSPECHJSON (HJS) handle referencing a JSON object. JSON arrays are not supported by this function. Each key of the JSON object is …
@JsonParse
As input, either TEXT or a VSPECBINBUFFER can be supplied. The content is interpreted as JSON and must be encoded in UTF-8. If parsing is successful, @JsonParse returns a VSPECHJSON (HJS) handle to the created JSON struc …
@JsonRelease
This @Function releases a previously created VSPECHJSON (HJS) handle. The function decreases the reference count of the JSON object or array referenced by HJSON. If the reference count reaches zero, the JSON structure an …
@JsonRemove
This @Function removes a value from an existing JSON object or JSON array. For a JSON object, the second parameter must be a TEXT KEY. The value associated with the specified key is removed from the object. For a JSON ar …
@JsonSerialize
This @Function serializes a JSON object or JSON array and returns its complete JSON text representation. The generated JSON is returned in compact format without additional indentation or line breaks. Strings contained i …
@JsonSize
This @Function returns the number of elements in a JSON array or the number of keys in a JSON object. For a JSON array, the return value is the number of array elements contained in the array. For a JSON object, the retu …
@JsonType
This @Function determines the type of a JSON structure. HJSON must contain a valid VSPECHJSON (HJS) handle referencing a JSON object or JSON array. As return value, the @Function returns TEXT containing one of the follow …
@Left
Returns the left part of TEXT/TEXTLIST TEXT1/TEXTLIST1. The selected part can be FN COUNT2 characters or the text to the left of TEXT TEXT2. The search for TEXT2 is performed from left to right.
@LeftBack
Returns the left part of TEXT/TEXTLIST TEXT1/TEXTLIST1. The selected part can be all characters except for FN COUNT2 remaining characters, or the text to the left of TEXT TEXT2. The search for TEXT2 is performed from rig …
@Length
Returns the length of VAR VAR1, or the lengths of the individual elements of VARLIST VARLIST1.
@Ln
Calculates the natural logarithm of FN/FNLIST FN1/FNLIST1.
@Log
Calculates the base-10 logarithm of FN/FNLIST FN1/FNLIST1.
@LogReport
Outputs the contents of the variable VAR1 to the API log and on the server console. With FN OPTIONS2 the detailed behavior of the @Function can be defined. FNLIST STYLE3 specifies the font, options, color and size of the …
@LowerCase
Returns TEXT/TEXTLIST TEXT1/TEXTLIST1 in lowercase.
@MagicNumber
Returns a MagicNumber for the value FN FN1.
@MainDatabase
Without parameters, @MainDatabase the DBHANDLE for the current main database (AEF DATABASE Statement). With parameters, @MainDatabase works like @OpenDB, but the opened database becomes the new main database. The previou …
@Max
Returns the maximum of FN/FNLIST FN1/FNLIST1 and FN/FNLIST FN2/FNLIST2. To do this, each element of FNLIST1 is compared with the corresponding element of FNLIST2. If one list is shorter, its last element is used for all …
