Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
2 questions (Q1: script not working and Q2: dynamic vars)
#2
1. Yes, x.fix(x.len+1) is incorrect.
Macro Macro2104
Code:
Copy      Help
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.


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)