Returns the number of elements in a stack.
Integer_Type stk_count( Stack_Type stack )
Return the number of entries in a stack.
chips> stk = stk_build( "*.fits" )
chips> stk_count( stk )
12
Here we have created a stack that contains the 12
files in the current directory that match the pattern
chips> stk = stk_build( "@stack.lis" )
chips> stk_count( stk )
3
In this example there are 3 elements in the file
stack.lis.
- modules
-
stackio
- stackio
-
stk_append,
stk_build,
stk_change_current,
stk_change_num,
stk_close,
stk_current,
stk_delete_current,
stk_delete_num,
stk_disp,
stk_expand_n,
stk_read_next,
stk_read_num,
stk_rewind,
stk_set_current
|