Back Previous Next


Linguist basic package - alias

Syntax:

   alias {variable} to {variable}

Keyword handler:

   net.eclecity.linguist.basic.keyword.BasicKAlias.class

Runtime handler(s):

   net.eclecity.linguist.basic.handler.BasicHAlias.class

Function:

Aliases one variable to another of the same type, that is sets it to point to the data of the second variable. From that point on, all references to either name refer to the same data. The original data of the first variable is lost. To break the alias, give the command again with a new target or use dispose.

Example(s):

   alias MyBuffer to TextBuffer


Back Previous Next