diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index be2452db..3fca61b1 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -18,6 +18,7 @@ + diff --git a/docs/docs/cli/runopo/index.md b/docs/docs/cli/runopo/index.md index 0f3861cd..a7c9e9ff 100644 --- a/docs/docs/cli/runopo/index.md +++ b/docs/docs/cli/runopo/index.md @@ -14,6 +14,18 @@ Run OPL programs on the command line. This is only suitable for simple programs # Example +```opl +PROC test: + PRINT "hello world" + wat: + GET +ENDP + +PROC wat: + PRINT "Waaaat" +ENDP +``` + [simple.txt](https://github.com/inseven/opolua/blob/main/examples/Tests/simple.txt) compiled on a Psion Series 5: ```plaintext