STRZERO Name
STRZERO Purpose
Convert a string to a zero terminated byte array.
Category
Calling Sequence
b = strzero(txt) Inputs
txt = Scalar text string to convert. in
Keyword Parameters
Keywords
LENGTH=n Length of returned byte array, including the
terminating 0. If txt is too long it will be
truncated to n-1 characters, if too short the output
byte array will be 0 padded. Outputs
b = returned 0 terminated byte array. out
By default the number of elements of b will
be 1 + strlen(b).
Common Blocks
Notes
Modification History
R. Sterner, 2007 Dec 14
Copyright (C) 2007, Johns Hopkins University/Applied Physics Laboratory
This software may be used, copied, or redistributed as long as it is not
sold and this copyright notice is reproduced on each copy made. This
routine is provided as is without any express or implied warranties
whatsoever. Other limitations apply as described in the file disclaimer.txt.