Retrieves the value of an instance variable.
|
Syntax:
|
JGet(pseudo-reference,variable-name,variable signature)
|
Parameters:
|
pseudo-reference – A reference to a Java object
|
|
variable-name – An alphanumeric value defining the required variable name
|
|
variable signature – An alphanumeric value defining the variable signature
|
Returns:
|
The variable's value.The attribute is determined according to the value returned.
|
Example:
|
JGet (A,'elementCount', 'I') will return the value of the 'elementCount' variable.
A is a BLOB variable updated with "JCreate ('java.util.Vector','()V')"
|
See also:
|
Java Functions
The Online Samples project (program JV05)
|