| Andreas Rozek | |
|
|
|
LuaJava_00 - a first, simple LuaJava Script"LuaJava_00" checks the invocation of a Lua script from within LuaJava (the author's own runtime environment for Lua scripts). It displays any given command line arguments and illustrates the usage of several functions defined by the environment.
Please, also consider my "Hints for Reading"
and the "List of Recent Changes"! |
LuaJava_00
The script itself is extremely simple and should not require any further
explanation. After an invocation of the form java luna.LuaJava LuaJava_00.lua one_word "more words" "words with \" in between" the following output is shown: LuaJava_00 - a first, simple LuaJava script
given command line arguments:
1) "one_word"
2) "more words"
3) "words with " in between"
>>>> this text is written onto 'stderr'
the actual separator character for file specifications is: '\'
Invoked without any command line arguments: java luna.LuaJava LuaJava_00.lua "LuaJava_00" produces the following output: LuaJava_00 - a first, simple LuaJava script
given command line arguments:
(none)
>>>> this text is written onto 'stderr'
the actual separator character for file specifications is: '\'
|
Source CodeThe source code of this script is publically available: |
DisclaimerPlease, also consider the author's Disclaimer! |
|
|
|
| http://www.Andreas-Rozek.de/LuaJava/Acquainting/LuaJava_00_en.html | (last Modification: 14.11.2004) |