EGL Program: parameters to main function [message #1010160] |
Sat, 16 February 2013 18:26 |
Gilbert Herschberger Messages: 12 Registered: September 2010 |
Junior Member |
|
|
How do I access command line parameters in EGL-EDT 0.8.2?
I am generating from EGL to Java with EGL Development Tools version 0.8.2. I create runnable JAR files.
$ java -jar eglprogram.jar value1 value2 value3
While it's a hack, I have resorted to defining Java system properties and using SysLib.getProperty().
$ java -Darg1=value1 -Darg2=value2 -Darg3=value3 -jar eglprogram.jar
EGL in RBD 7.5+ provides a SysLib.getArguments() function to return parameters to the main function in an EGL program. Is there some other equivalent?
[Updated on: Sat, 16 February 2013 18:28] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03807 seconds