Re: Referencing an "Addon" before use

gatesphere <[email protected]> Sat, 18 Feb 2012 00:06:58 -0500
Newsgroups gmane.comp.lang.io
Message-ID <[email protected]>
Easy.

Just put "Socket" somewhere in your script, either as it's own line, or 
as part of a command.  When the interpreter finds something that it 
can't identify, it looks to see if it can autoload it, which in Socket's 
case, it can.  Simple as cake.

-->Jake

On 2/17/2012 11:56 PM, Duke Normandin wrote:
>
> In
> http://www.iolanguage.com/scm/io/docs/IoGuide.html#Primitives-Networking
>
> it says:
>
> [quote]
> Note that you'll need to first reference the associated addon in
> order to cause it to load before using its objects. In these
> examples, you'll have to reference "Socket" to get the Socket addon
> to load first.[/quote]
>
> how do you perform this "referencing"? I'm trying to work through
> the examples, and so far, No Joy!
>
>