![]() | ![]() | ![]() | next-class-instance-number | ![]() |
|
| [Generic Function] |
Purpose
Increment and return the instance-name counter value
associated with a unit class.
Method signatures
(unit-class-name symbol)
=> integer
|
(unit-instance standard-unit-instance)
=> integer
|
Package :gbbopen
Module :gbbopen-core
Arguments and values
| unit-class-name-or-instance | A unit instance or a symbol naming a unit class | |
| integer | An integer |
Returns
The incremented instance-name counter value
associated with the unit class.
See also
change-class
class-instances-count
initial-class-instance-number
make-instance
Examples
Increment and return the next instance-name number of unit instances
of ksa:
> (next-class-instance-number 'ksa) 8 >
Change the class of unit instance hyp from
probable-hyprejected-hyp
> (change-class hyp 'rejected-hyp
:instance-name (next-class-instance-number 'rejected-hyp))
#<rejected-hyp 1409 (896 388) .68>
>
Note that the :instance-nameNote
The :use-global-instance-name-counter
The GBBopen Project
![]() | ![]() | ![]() | next-class-instance-number | ![]() |