This extension allows you to read and write Java system properties from within NetLogo.
Run sbt package
. If compilation succeeds, props.jar
will be created.
The Props extension bears only a small collection of primitives—after all, its purpose is to interact with Java system properties, and there's not a whole of primitives that you need in order to do that. You can find explanation of the primitives below:
get <x>
- Returns the value for the Java system property with the name given by
<x>
. Returnsfalse
if no such property is found.
- Returns the value for the Java system property with the name given by
set <x> <y>
- Sets the value of the Java system property with the name given by
<x>
to be the value given by<y>
.
- Sets the value of the Java system property with the name given by
The NetLogo Props extension is in the public domain. To the extent possible under law, Uri Wilensky has waived all copyright and related or neighboring rights.