Function | Package: net.jlinker | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## jfield

Arguments: class-ref-or-field field-or-instance &optional instance value

This function retrieves or modifies a field in a Java class or instance.

The valid argument patterns for this operation are:

- class-ref field-name: to retrieve the value of a static field.
- class-ref field-name instance-ref: to retrieve the value of a class field of the instance.
- class-ref field-name primitive-value: to store primitive-value in a static field.
- class-ref field-name instance-ref value: to store value in a class field of the instance.
- class-ref field-name `nil` value: to store value in a static field (when value may be confused with an instance-ref).
- field-name instance: to retrieve the value of a field of the instance. The class is derived from the instance.
- field-name instance value: to store value in a field of the instance. The class is derived from the instance.

See jlinker.htm for more information on the jLinker facility.

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version