Revision history for KeyPgUsing


Revision [21737]

Last edited on 2017-01-15 03:06:43 by fxm [Added precision about duplicate symbol conflicts]
Additions:
The ##**Using**## command allows all symbols from a given namespace to be accessed without the namespace's name prefix. Unlike ""C++"" but like C#, the ##[[KeyPgNamespace|Namespace]]## keyword is not needed after ##**Using**##, because individual symbols cannot be inherited from a namespace.
Inheriting a whole namespace can save typing, but sometimes some meaning of the code can be lost, and conflicts with other symbols could be created. For example, if there is duplicated symbol in the global namespace (unnamed namespace), access to local symbol is captured by duplicated global symbol (in that case, full prefixing is required to access local symbol).
Deletions:
The ##**Using**## command allows all symbols from a given namespace to be accessed without the namespace's name prefix. Unlike ""C++"" but like C#, the ##[[KeyPgNamespace|Namespace]]## keyword is not needed after ##**Using**##, because individual symbols cannot be inherited from a namespace. Inheriting a whole namespace can save typing, but sometimes some meaning of the code can be lost, and conflicts with other symbols could be created.


Revision [20576]

Edited on 2016-02-10 16:10:13 by DkLwikki [Update link format]
Additions:
##//identifier//##: The name of the ##[[KeyPgNamespace|Namespace]]## that you want to use.
The ##**Using**## command allows all symbols from a given namespace to be accessed without the namespace's name prefix. Unlike ""C++"" but like C#, the ##[[KeyPgNamespace|Namespace]]## keyword is not needed after ##**Using**##, because individual symbols cannot be inherited from a namespace. Inheriting a whole namespace can save typing, but sometimes some meaning of the code can be lost, and conflicts with other symbols could be created.
- ##[[KeyPgPrintusing|Print Using]]##
- ##[[KeyPgPrintusing|? Using]]##
- ##[[KeyPgPalette|Palette Using]]##
- ##[[KeyPgNamespace|Namespace]]##
Deletions:
##//identifier//##: The name of the ##[[KeyPgNamespace Namespace]]## that you want to use.
The ##**Using**## command allows all symbols from a given namespace to be accessed without the namespace's name prefix. Unlike ""C++"" but like C#, the ##[[KeyPgNamespace Namespace]]## keyword is not needed after ##**Using**##, because individual symbols cannot be inherited from a namespace. Inheriting a whole namespace can save typing, but sometimes some meaning of the code can be lost, and conflicts with other symbols could be created.
- ##[[KeyPgPrintusing Print Using]]##
- ##[[KeyPgPrintusing ? Using]]##
- ##[[KeyPgPalette Palette Using]]##
- ##[[KeyPgNamespace Namespace]]##


Revision [17894]

Edited on 2016-01-08 14:40:35 by FxMwikki [Formatting for compatibility with wiki2]
Additions:
- ##[[KeyPgPrintusing Print Using]]##
- ##[[KeyPgPrintusing ? Using]]##
Deletions:
- ##[[KeyPgPrintusing (Print | ?) Using]]##


Revision [17872]

Edited on 2015-12-23 11:30:12 by FxMwikki ['?' is a shortcut for 'Print']
Additions:
- ##[[KeyPgPrintusing (Print | ?) Using]]##
Deletions:
- ##[[KeyPgPrintusing Print Using]]##


Revision [10485]

The oldest known version of this page was created on 2007-08-01 22:46:10 by JeffMarshall ['?' is a shortcut for 'Print']
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode