Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

_FileReadToArray for reading variables

$
0
0

Hi all,

I have been using _FileReadtoArray recently and find it very useful. Is there an equivalent function such as _VariableReadtoArray for working with a variable without having to write the variable to a file first? For example, I would like to use _FileReadtoArray with a variable instead of a file like this. The variable has many lines of text in it and I would like to step through each of the lines.

_FileReadToArray($dailylog,$aRecords) Then For $x = 1 to $aRecords[0]     Msgbox(0,'Record:' & $x, $aRecords[$x]) Next

Thank you


Viewing all articles
Browse latest Browse all 12506

Trending Articles