BCX Console Demonstration Program s32.bas

 DIM a$
 DIM L
 
 a$ = SPACE$(5) & "Hello" & SPACE(6) & "world"
 
 ?  a$
 
 L = LEN(a$)
 
 ?  "The length of a$ = ", L

Result:


      Hello      world
 The length of a$ =  21