Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I import an addon in the Io language?

Specifically, I'm trying to use the Random addon. The documentation states addons should be loaded upon first use, which is also supported by Hyperpolyglot However, I get (running one of the sample programs)

Exception: Object does not respond to 'Random'
---------
Object Random                        Cards.io 4
like image 595
Justin Love Avatar asked Aug 14 '10 01:08

Justin Love


1 Answers

This appears to be a problem with the macports installation of IO. Building and installing from source worked (with io_static - 'io' has dylib problems)

like image 178
Justin Love Avatar answered Nov 04 '22 08:11

Justin Love