Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with array
#2
I'm sure there is a bit better way to do this...but it'll do the the trick here...

Function Function3
Code:
Copy      Help
out
Dir d
foreach(d "$Desktop$\enum\*.*" FE_Dir)
,str sPath=d.FileName(1)
,_s.format("%s%s[91][93]" _s sPath)
out _s
;remove the last []
strrev _s
_s.remove(0 2)
strrev _s
out _s
_s=""


foreach(d "$Desktop$\enum\*.*" FE_Dir)
,sPath=d.FileName(1)
,_s.format("%s%s[]" _s sPath)
;remove the last []
strrev _s
_s.remove(0 2)
strrev _s

out _s


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)