Documentation

runopo

  1. Usage
  2. Overview
  3. Example

Usage

Syntax: /home/runner/work/opolua/opolua/bin/runopo.lua [options] <path> <procName>
Options:
    --defaultmap | -d
    --devicepath | -p
    --help | -h
    --map | -m <value> [--map | -m <value> ...]
    --noget
    --verbose | -v

Overview

Run OPL programs on the command line. This is only suitable for simple programs that do not use graphics. For any graphical program, run via the app (or from the command line, by passing to the Qt app with opolua open <path>.)

Example

simple.txt compiled on a Psion Series 5:

$ ./bin/runopo.lua --noget examples/Tests/simple.opo
Hello world!
Waaaat
(Skipping get)