File read ?

Discuss RoboTask here
Post Reply
User avatar
robotask
Posts: 36
Joined: Thu May 02, 2013 11:19 am

File read ?

Post by robotask »

Is there a File Read function ? File Write works fine.
Oleg
Site Admin
Posts: 3202
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: File read ?

Post by Oleg »

There are two ways:
You can read text file sequentially line-by-line in the Text Loop
- or -
You can assign the contents of file by using variable {TextFile(full_file_name)} to some variable. See full list of system variables here: http://www.robotask.com/help/index.php? ... iables.htm
Use Set Variable action. Do not forget to turn ON "Expand variable value" option
Oleg Yershov
Post Reply