NAME
str_to_vec -- make vector from str
PROTOTYPE
unitptr str_to_vec( int iDim, unitptr uHost)
ARGUMENTS
- int iDim
- dimension of result vector
- unitptr uHost
- host unit
RETURN VALUE:
A pointer to the created unit or NULL in the case of an error.
INTERFACE OF CREATED UNIT:
- X_in[*]:
- (string input field 0) input string
- Y_in[1]:
- (input field 1) starting position
- X_out[iDim]:
- (packed output field 0) iDim consecutive
chars from the input string, starting at
position Y_in[0]. Non-overlapping portions
are set to 0.
EXECUTION OF CREATED UNIT:
Returns a portion of iDim consecutive chars of input string,
starting at char position Y_in[0], as an array of
dimension iDim. Nonoverlapping portions of the array
will be filled with zeroes.
FILE
/local/homes/rhaschke/nst7/man/../o.linx86//../foldersrc/nst_string.c