Examples presented in this screencast:
Most .Net languages only allow the importing of .Net assemblies at build time. This means that you can only use the classes, methods, properties, events, etc, of assemblies which exist, on your computer, at the time you build your assembly with Visual Studio. Here is a common example of referencing an assembly:
refbyname
System
.Windows
.Forms
using System
.Windows
.Forms
In Visual APL, you can also import assemblies at runtime using the []reference and []using expressions. By using these system functions, the importing of the specified assemblies is only performed at the moment the []reference or []using function is executed, making it possible for your code to import assemblies that do not or cannot exist at the time you build your assembly. Here is the runtime equivalent of the System.Windows.Forms directive import above:
⎕reference
"System.Windows.Forms"
⎕using "System.Windows.Forms"
This screencast is a subset of Screencast: The Using Directive, Expression, and Statement
To view this webcast directly in Windows Media Player, click on "Direct Link" above.
If you are behind a restrictive firewall, you can view this screencast Here
Viewing directly in Windows Media Player allows the use of all video playback controls, such as skipping over parts of the screencast, and viewing at 2x speed.