projects
/
clnl
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Wolf sheep works in tests
[clnl]
/
bin
/
runcmd.scala
diff --git
a/bin/runcmd.scala
b/bin/runcmd.scala
index b91ed4e482999eacf455b99f600ce6d81f85894b..12e49a7703d77ecdcde971af46f2594c5d9dc42f 100755
(executable)
--- a/
bin/runcmd.scala
+++ b/
bin/runcmd.scala
@@
-86,6
+86,8
@@
Polygon -7500403 true false 219 85 210 105 193 99 201 83
@#$#@#$#@
NetLogo 5.2.0""")
+} else if (input.length > 3 && input(3).length > 0) {
+ workspace.openFromSource(url2String("file:" + input(3)))
} else {
workspace.openFromSource(url2String("file:resources/empty.nlogo"))
}