Example: lr.next_row

In the following example, ID is a parameter defined in the Parameter list. The lr.next_row function advances to the next row in the ID.dat file.

lr.message "Connect to Stock Trader ID Number " + lr.eval_string("<ID>")

. . .

lr.next_row "ID.dat"

lr.message "Connect to Stock Trader ID Number " + lr.eval_string("<ID>")

The ID.dat file has the following values:

    2347

    2348

    2349

    2350

The output window shows:

Connect to Stock Trader ID Number 2347

Connect to Stock Trader ID Number 2348