Message-ID: <2097528577.177.1430126117887.JavaMail.email@example.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_176_931591201.1430126117886" ------=_Part_176_931591201.1430126117886 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
There are two ways to call the
Hello there Hello there=20
In the second case, for every case except the last, it will write the st= ring to the screen, write a space, then move on.=20
In the end, the two will have the same end result.=20
assert Macro makes sure that a condition is true, other=
wise it raises an
assert can be called with one or two arguments.
The f= irst argument must always be a boolean condition.
The optional second= argument is a string that will be sent if the condition fails.
Boo.Lang.Runtime.AssertionFailedException: message at Tutorial.Main(String argv)=20
using Macro can take any number of arguments, it merely=
duplicates its behavior each time.
It creates a safety net for objects to be handled during a block, then d= isposed of as soon as that block is finished.=20
There are three types of arguments you can declare:=20
<object> =3D <expression>
In all three of these, it checks if the underlying
IDisposable, which it then disposes of afterward.
This will create the file, write to it, then close it as soon as the
lock Macro makes sure that, in a multithreaded environm=
ent, that a specified object is not being used and prevents another object =
from using it at the same time.
lock must accept at least one argument, and it will put the=
lock on all that are given.
debug Macro is the exact same as the
Go on to Part 18 = - Duck Typing