eelist:add
List of: Scheme Extensions
Subjects: Entity
Contents: Kernel

Action: Adds an entity to an EE_LIST.

Filename: kern/kern_scm/ent_scm.cxx

APIs: api_part_note_state, api_part_start_state

Syntax: (eelist:add list entity)

Arg Types: list entity | (entity ...)

entity entity

Returns: entity


list specifies an entity list.


entity specifies the entity that has to be added to the list.

Example: ; eelist:add

; Make an EE_LIST

(define a (eelist:new))

;; a

; Make an entity to add

(define s (solid:sphere (position 0 0 0) 10))

;; s

; Add it to the list

(define add (eelist:add a s))

;; add
PDF/KERN/12SCA.PDF
HTM/DATA/KERN/KERN/12SCA/0070.HTM