Using (Reserved Word)
The using reserved word allows you to reference all the names in a namespace (such as classes, methods, properties, and events) without the namespace.name as an explicit qualifier. Of course, the complete, qualified name can still be used to improve readability.
Put your using statement at the beginning of the EasyLanguage document to reduce the potential for unexpected behavior with IntelliSense.
Remarks
The scope of a using statement is limited to the EasyLanguage document in which it appears.
A using statement does not give you access to namespaces that are nested in the namespace you specify. You will need a separate using statement for each nested namespace or using an explicit qualifier.
Example
The following declares an object variable myObj of class AccountsProvider (located in the tsdata namespace) and creates a new instance of the class without needing to append "namespace." at the start of each class reference:
using tsdata;
var: AccountsProvider myObj(null);
method override void InitializeComponent()
begin
myObj = new AccountsProvider;
end;
This second example is equivalent to the first except it doesn't include the using statement and has a specific namespace.class qualifier for each class reference:
var: tsdata.AccountsProvider myObj(null);
method override void InitializeComponent()
begin
myObj = new tsdata.AccountsProvider;
end;