next up previous index
Next: Coroutining Built-ins Up: The Built-in Predicates Previous: Debugging Built-ins

Arrays and Global Variable Built-ins

The following arrays and global variables built-ins exist;

ECLiPSe Arrays and Global Variables built-in.

current_array(?Array, ?Options)

Succeeds if there exists an array as denoted by Array and with type and visibility as given in the list Options.  
decval(+ElemSpec)

Decrements the contents of the visible array element or global variable ElemSpec by one.  
erase_array(+ArraySpec)

Erases existing visible array or global variable specified by ArraySpec.  
getval(+ElemSpec, ?Value)

Succeeds if the visible array element or global variable ElemSpec unifies with the value Value.  
incval(+ElemSpec)

Increments the contents of the visible array element or global variable ElemSpec by one.  
make_array(+Array)

Creates the untyped array or global variable Array.  
make_array(+Array, +Type)

Creates the global array or global variable Array of type Type.  
make_local_array(+Array)

Creates an array or global variable Array visible only in the caller module.  
make_local_array(+Array, +Type)

Creates an array or global variable Array of type Type visible only in the caller module.  
setval(+ElemSpec, ?Value)

Sets visible array element or global variable ElemSpec to the value Value.  



next up previous index
Next: Coroutining Built-ins Up: The Built-in Predicates Previous: Debugging Built-ins



Micha Meier
Mon Mar 4 12:11:45 MET 1996