Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

print

print

No Format
System.Console.WriteLine()

print <expr>

No Format
System.Console.WriteLine(<expr>)

print <expr>, [... ,] <exprN>

No Format
System.Console.Write(<expr>)
System.Console.Write(' ')
 ...
System.Console.WriteLine(<exprN>)

assert

assert <expr>

No Format
unless (<expr>):
	raise Boo.AssertionFailedException('(<expr>)')

assert <expr>, <string>

No Format
unless (<expr>):
	raise Boo.AssertionFailedException(<string>)

using

using:
<block>

No Format
try:
	<block>
ensure:
	pass

using <object> [, ...]:
<block>

No Format
try:
	<block>
ensure:
	if (__disposable__ = (<object> as System.IDisposable)):
		__disposable__.Dispose()
		__disposable__ = null
	 ...

using <object> = <expr> [, ...]:
<block>

No Format
try:
	<object> = <expr>
	 ...
	<block>
ensure:
	if (__disposable__ = (<object> as System.IDisposable)):
		__disposable__.Dispose()
		__disposable__ = null
	 ...

using <expr> [, ...]:
<block>

No Format
try:
	__using1__ = <expr>
	 ...
	<block>
ensure:
	if (__disposable__ = (__using1__ as System.IDisposable)):
		__disposable__.Dispose()
		__disposable__ = null
	 ...

lock

lock <expr> [, ...]:
<block>

No Format
__monitor1__ = <expr>
System.Threading.Monitor.Enter(__monitor1__)
try:
	<block>
ensure:
	System.Threading.Monitor.Exit(__monitor1__)

debug

debug

No Format
System.Diagnostics.Debug.WriteLine('<debug>')

debug <expr>

No Format
System.Diagnostics.Debug.WriteLine(<expr>)

debug <expr>, [... ,] <exprN>

No Format
System.Diagnostics.Debug.Write(<expr>)
System.Diagnostics.Debug.Write(' ')
 ...
System.Diagnostics.Debug.WriteLine(<exprN>)