HTBasic Help
×
Menu
Index

MAXLEN

Gets maximum declared length of a string variable.
 
 MAXLEN( string-name$ [(*)|(subscripts)] )
 
Usage:
MAXLEN(Newstring$)
Rows=MAXLEN(Alpharray$(*))
 
Example:           MAXLEN.BAS
 
Description:
MAXLEN returns the declared length of the string variable as declared in an ALLOCATE, COM or DIM statement or an implicitly declared string variable.
 
See Also: