Function | Package: net.jlinker | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version