06-19-2013, 08:10 AM
1. Yes, x.fix(x.len+1) is incorrect.
Macro Macro2104
2. No.
Macro Macro2104
out
str s="abcdefghijklmnopqrstuvwxyz"
int i t1 t2 maxLen=7
str x.all(maxLen 2 ' ')
;;to output window strings:
;;a...z, aa ab ac...az, aba abc abd... abz, ...etc
for t1 0 maxLen
,memcpy x s t1
,for t2 0 s.len
,,x[t1]=s[t2]
,,out x
2. No.