eg:
Code: Select all
a=Len(x$) ; output is a number
b$=Len$(x$) ; output is a string
A side effect is that syntax would be more compatible with traditional BASICS.
Code: Select all
a=Len(x$) ; output is a number
b$=Len$(x$) ; output is a string
Code: Select all
a$ = str$(len("-1000"))
a$ = len$("-1000")
Code: Select all
Macro LenS(code)
Str(Len(code))
EndMacro
x$="123"
a=Len(x$)
b$=LenS(x$)
Code: Select all
Procedure xyz.s()
result$="123"
ProcedureReturn result$
EndProcedure
z$=xyz()
x=xyz.l()