Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Copy line from file
#2
Macro Macro2871
Code:
Copy      Help
str s.getfile("file path")
str line lines
int i
foreach line s
,i+1
,if(i&1) continue
,lines.addline(line)
,if(i=12) break

out lines


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)