Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

JCI_GetField

This function returns the value of an instance field of an object.
It is equivalent to the JNI functions Get<type>Field. However, it also offers the option of obtaining strings directly.


Call

CALL 'JCI_GetField' USING obj fID res

obj

Instance object

fID

Field ID

res

Result


Arguments

obj

Data field of the type JCI-object
Instance object whose field content is to be returned.

fID

Data field of the type JCI-handle
ID of the field whose content is to be returned. The field ID must be obtained by calling the function JCI_GetFieldID.

res

A structure of the form MethodRes
Description of the return value for the field content and error information (see section "Arguments and event values of Java methods"). If the content of the field is a NULL object, the length field of the target structure is set to 0 for the types RES-ANUM-STRING and RES-NAT-STRING, and the text area remains unchanged.


Return value (RETURN-CODE)

JCI-RET-ENULLOBJ

obj is JCI-NULL.

All other values as in JCI_GetStaticField.