Author Topic: processing files in a dir problem  (Read 1364 times)

0 Members and 1 Guest are viewing this topic.

Offline lenin

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
processing files in a dir problem
« on: 13 June, 2005, 11:13:57 »
Hello friends..

I want to process all the files in a directory..like to read all the *.txt files inside it in a loop..in scripting languages its like

"for each file in /mydir/ " kinda..

i cant find any similar thing in lua..please help me out in this lua syntax..

-lenin

PtokaX forum

processing files in a dir problem
« on: 13 June, 2005, 11:13:57 »

Offline jiten

  • Scripter
  • Forum Legend
  • ******
  • Posts: 1 577
  • Karma: +71/-5
(No subject)
« Reply #1 on: 13 June, 2005, 11:21:33 »
Search the forum for "Rotating Message".
It may be useful for you on this.

Best regards

Offline lenin

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
(No subject)
« Reply #2 on: 13 June, 2005, 11:59:28 »
Thanx buddy ...it really helped..    :)

PtokaX forum

(No subject)
« Reply #2 on: 13 June, 2005, 11:59:28 »