Command readfile

The command readfile is used to read a file in the format Walk at a specified position. Each key should be on a separate line.

Parameters

  1. filename [string]
    File name.
  2. key [string]
    Key Name.
  3. variabledestination [string]
    Variable that will store the return of the command.

Example

Example Walk DB

country=USA
state=California
city=Los Angeles
population=3.792.621

In the example above the file test.txt has been downloaded using the command downloadfile.

The command readfile reads the file looking for the specified key (key) and stores the return from the variable specified in the parameter variabledestination.