bind() -- Binds a yab-program and the yab-interpreter together into a standalone program.
The bind-command combines your own yab-program (plus all the libraries it does import) and the interpreter by copying them into a new file, whose name is passed as an argument. This new program may then be executed on any computer, even if it does not have yab installed.
Note: With the current version of yab, bind should not be used anymore, use the Build Factory instead.
if (!peek("isbound")) then
print "Successfully created the standalone executable 'foo'!"
print "Hello World!"
This example creates a standalone program foo from itself.