Macro T
Macro T2
The result is correct when using a for loop, but incorrect when using a foreach loop. Is this a bug?
out
str ss=
;_15660
;15660_
out ss.beg("_") ;;1
out ss.end("_") ;;1
foreach _s ss
,if(_s.beg("_") or _s.end("_"))
,,out _s ;;Why is there no output?Macro T2
out
str ss=
;_15660
;15660_
out ss.beg("_") ;;1
out ss.end("_") ;;1
ARRAY(str) as=ss
for _i 0 as.len
,if as[_i].beg("_") or as[_i].end("_")
,,out as[_i] ;;has outputThe result is correct when using a for loop, but incorrect when using a foreach loop. Is this a bug?
