Streams

Objects may have an associated stream...

Each objects may have a stream associated with it. A stream is a sequence of bytes that can be read or written to.

...but streams are not objects

You cannot actually reference a stream, since it is not an object. Instead, you simply reference the object it belongs to. If you are familiar with Java, this is similar to how every Java object has a monitor associated with it, but you cannot directly manipulate the monitor (you can't pass around a reference to just the monitor).

Reading an Arbitrary Stream

TODO

Streams as XML

You can use the inbuilt XML parser bundled with Vexi to parse arbitrary XML in VexiScript.

TODO

 


Copyright © 2011 The Vexi Project (vexi.sourceforge.net)