Difference between revisions of "ALIAS"

From QB64 Wiki
Jump to navigation Jump to search
imported>Clippy
m
imported>Clippy
m
Line 3: Line 3:


{{PageSyntax}}
{{PageSyntax}}
:ALIAS "aliasname"
:ALIAS aliasname




Line 9: Line 9:
{{PageDescription}}
{{PageDescription}}
* The aliasname is the same procedure name as it is inside of the library.
* The aliasname is the same procedure name as it is inside of the library.
* The name does not have to be inside of quotes when using DECLARE LIBRARY.


[[Keywords currently not supported by QB64|QB64 supports ALIAS in DECLARE LIBRARY procedures only!]]
[[Keywords currently not supported by QB64|QB64 supports ALIAS in DECLARE LIBRARY procedures only!]]

Revision as of 20:53, 7 December 2010

The ALIAS clause in the DECLARE statement tells the program that you will use a different name than that in the library. This only applies when declaring non-BASIC procedures.


Syntax

ALIAS aliasname


Description

  • The aliasname is the same procedure name as it is inside of the library.
  • The name does not have to be inside of quotes when using DECLARE LIBRARY.

QB64 supports ALIAS in DECLARE LIBRARY procedures only!



See also




Navigation:
Keyword Reference - Alphabetical
Keyword Reference - By Usage
Main Wiki Page