 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
sosaited
Joined: 24 Feb 2005 Posts: 233
|
Posted: Sun Mar 20, 2005 9:05 pm Post subject: Loop, Read, VARIABLE |
|
|
can another Loop exactly like (Loop, Read, Filename) can be added to AHK (from exactly.. i mean with the same options.. like A_LoopReadLine.. etc.. ).. there's Loop, Parse .. but thats different.. so if it can be added.. that'd be great..
thanks |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10480
|
Posted: Sun Mar 20, 2005 9:10 pm Post subject: |
|
|
If you want to read the contents of a variable line by line (as though it were a file, perhaps read in via FileRead), follow this example: | Code: | Loop, parse, MyVar, `n, `r
{
MsgBox Line number %A_Index% is:`n%A_LoopField%
} |
|
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|