Your Browser is not longer supported
Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...
{{viewport.spaceProperty.prod}}
This function sets the value of a static field of a class.
It is equivalent to the JNI functions Set<type>Field
. However, it also offers the option of transferring strings directly.
Call
CALL 'JCI_SetField' USING
obj fID arg res
obj | Instance object |
fID | Field ID |
arg | New value |
res | Result |
Arguments
obj | Data field of the type JCI-object Instance object whose field content is to be modified. |
fID | Data field of the type JCI-handle ID of the field whose content is to be set. The field ID must be obtained by calling the function JCI_GetFieldID . |
arg | A structure of the form MethodArg Description of the new value for the field content (see section "Arguments and event values of Java methods"). Only the partial structure CallArg(1) is required. |
res | A structure of the form MethodRes
Error information (output only). |
Return value (RETURN-CODE)
JCI-RET-ENULLOBJ
obj is JCI-NULL
.
All other values as in JCI_GetStaticField.