glob = new Global("bounce");
glob.starttime = 500;
Are there any similar arrangements for globals in JAVA?
don’t think so. quick scan of the mxj docs doesn’t show anything obvious. the two languages are integrated at different levels with js being integrated in a tighter way than java (hence the ability to script etc through js) whereas java runs in a jvm and only has a bridge connecting them
Assuming your classes are being loaded by the same classloader, you can share statics:
good point… I was thinking the OP wanted to also be able to access it from MAX, but I appear to have invented that bit…
C74 RSS Feed | © Copyright Cycling '74