home *** CD-ROM | disk | FTP | other *** search
-
-
-
- aaaarrrrrrrraaaayyyy((((nnnn)))) TTTTccccllll (((( )))) aaaarrrrrrrraaaayyyy((((nnnn))))
-
-
-
- _________________________________________________________________
-
- NNNNAAAAMMMMEEEE
- array - Manipulate array variables
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- aaaarrrrrrrraaaayyyy _o_p_t_i_o_n _a_r_r_a_y_N_a_m_e ?_a_r_g _a_r_g ...?
- _________________________________________________________________
-
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- This command performs one of several operations on the
- variable given by _a_r_r_a_y_N_a_m_e. _A_r_r_a_y_N_a_m_e must be the name of
- an existing array variable. The _o_p_t_i_o_n argument determines
- what action is carried out by the command. The legal
- _o_p_t_i_o_n_s (which may be abbreviated) are:
-
- aaaarrrrrrrraaaayyyy aaaannnnyyyymmmmoooorrrreeee _a_r_r_a_y_N_a_m_e _s_e_a_r_c_h_I_d
- Returns 1 if there are any more elements left to be
- processed in an array search, 0 if all elements have
- already been returned. _S_e_a_r_c_h_I_d indicates which search
- on _a_r_r_a_y_N_a_m_e to check, and must have been the return
- value from a previous invocation of aaaarrrrrrrraaaayyyy ssssttttaaaarrrrttttsssseeeeaaaarrrrcccchhhh.
- This option is particularly useful if an array has an
- element with an empty name, since the return value from
- aaaarrrrrrrraaaayyyy nnnneeeexxxxtttteeeelllleeeemmmmeeeennnntttt won't indicate whether the search has
- been completed.
-
- aaaarrrrrrrraaaayyyy ddddoooonnnneeeesssseeeeaaaarrrrcccchhhh _a_r_r_a_y_N_a_m_e _s_e_a_r_c_h_I_d
- This command terminates an array search and destroys
- all the state associated with that search. _S_e_a_r_c_h_I_d
- indicates which search on _a_r_r_a_y_N_a_m_e to destroy, and
- must have been the return value from a previous
- invocation of aaaarrrrrrrraaaayyyy ssssttttaaaarrrrttttsssseeeeaaaarrrrcccchhhh. Returns an empty
- string.
-
- aaaarrrrrrrraaaayyyy nnnnaaaammmmeeeessss _a_r_r_a_y_N_a_m_e
- Returns a list containing the names of all of the
- elements in the array. If there are no elements in the
- array then an empty string is returned.
-
- aaaarrrrrrrraaaayyyy nnnneeeexxxxtttteeeelllleeeemmmmeeeennnntttt _a_r_r_a_y_N_a_m_e _s_e_a_r_c_h_I_d
- Returns the name of the next element in _a_r_r_a_y_N_a_m_e, or
- an empty string if all elements of _a_r_r_a_y_N_a_m_e have
- already been returned in this search. The _s_e_a_r_c_h_I_d
- argument identifies the search, and must have been the
- return value of an aaaarrrrrrrraaaayyyy ssssttttaaaarrrrttttsssseeeeaaaarrrrcccchhhh command. Warning:
- if elements are added to or deleted from the array,
- then all searches are automatically terminated just as
- if aaaarrrrrrrraaaayyyy ddddoooonnnneeeesssseeeeaaaarrrrcccchhhh had been invoked; this will cause
- aaaarrrrrrrraaaayyyy nnnneeeexxxxtttteeeelllleeeemmmmeeeennnntttt operations to fail for those
- searches.
-
-
-
- Page 1 (printed 7/17/95)
-
-
-
-
-
-
- aaaarrrrrrrraaaayyyy((((nnnn)))) TTTTccccllll (((( )))) aaaarrrrrrrraaaayyyy((((nnnn))))
-
-
-
- aaaarrrrrrrraaaayyyy ssssiiiizzzzeeee _a_r_r_a_y_N_a_m_e
- Returns a decimal string giving the number of elements
- in the array.
-
- aaaarrrrrrrraaaayyyy ssssttttaaaarrrrttttsssseeeeaaaarrrrcccchhhh _a_r_r_a_y_N_a_m_e
- This command initializes an element-by-element search
- through the array given by _a_r_r_a_y_N_a_m_e, such that
- invocations of the aaaarrrrrrrraaaayyyy nnnneeeexxxxtttteeeelllleeeemmmmeeeennnntttt command will
- return the names of the individual elements in the
- array. When the search has been completed, the aaaarrrrrrrraaaayyyy
- ddddoooonnnneeeesssseeeeaaaarrrrcccchhhh command should be invoked. The return value
- is a search identifier that must be used in aaaarrrrrrrraaaayyyy
- nnnneeeexxxxtttteeeelllleeeemmmmeeeennnntttt and aaaarrrrrrrraaaayyyy ddddoooonnnneeeesssseeeeaaaarrrrcccchhhh commands; it allows
- multiple searches to be underway simultaneously for the
- same array.
-
-
- KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
- array, element names, search
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 2 (printed 7/17/95)
-
-
-
-