Revision history for KeyPgPascal


Revision [21880]

Last edited on 2017-08-25 02:51:33 by fxm [Added in the syntax the "byref" optional specifier for returning by reference]
Additions:
[[KeyPgFunction|Function]] //name// **Pascal** [[[KeyPgOverload|Overload]]] [[[KeyPgAlias|Alias]] //"""alias"""//] ( //parameters// ) [ [[KeyPgByrefFunction|Byref]] ] [[KeyPgAs|as]] //return_type//
Deletions:
[[KeyPgFunction|Function]] //name// **Pascal** [[[KeyPgOverload|Overload]]] [[[KeyPgAlias|Alias]] //"""alias"""//] ( //parameters// ) [[KeyPgAs|as]] //return_type//


Revision [21076]

Edited on 2016-03-13 09:05:25 by fxm [Formatting]

No Differences

Revision [20438]

Edited on 2016-02-10 16:06:24 by DkLwikki [Update link format]
Additions:
[[KeyPgSub|Sub]] //name// **Pascal** [[[KeyPgOverload|Overload]]] [[[KeyPgAlias|Alias]] //"""alias"""//] ( //parameters// )
[[KeyPgFunction|Function]] //name// **Pascal** [[[KeyPgOverload|Overload]]] [[[KeyPgAlias|Alias]] //"""alias"""//] ( //parameters// ) [[KeyPgAs|as]] //return_type//
##**Pascal**## is not allowed to be used with variadic procedure declarations (those with the last parameter listed as "##[[KeyPgDots|...]]##").
- ##[[KeyPgCdecl|Cdecl]]##, ##[[KeyPgStdcall|Stdcall]]##
- ##[[KeyPgDeclare|Declare]]##
- ##[[KeyPgSub|Sub]]##, ##[[KeyPgFunction|Function]]##
Deletions:
[[KeyPgSub Sub]] //name// **Pascal** [[[KeyPgOverload Overload]]] [[[KeyPgAlias Alias]] //"""alias"""//] ( //parameters// )
[[KeyPgFunction Function]] //name// **Pascal** [[[KeyPgOverload Overload]]] [[[KeyPgAlias Alias]] //"""alias"""//] ( //parameters// ) [[KeyPgAs as]] //return_type//
##**Pascal**## is not allowed to be used with variadic procedure declarations (those with the last parameter listed as "##[[KeyPgDots ...]]##").
- ##[[KeyPgCdecl Cdecl]]##, ##[[KeyPgStdcall Stdcall]]##
- ##[[KeyPgDeclare Declare]]##
- ##[[KeyPgSub Sub]]##, ##[[KeyPgFunction Function]]##


Revision [16401]

Edited on 2012-10-23 15:22:35 by CountingPine [Formatting]
Additions:
In procedure declarations, ##**Pascal**## specifies that a procedure will use the ##**Pascal**## calling convention. In the //Pascal// calling convention, any parameters are to be passed (pushed onto the stack) in the same order in which they are listed, that is, from left to right. The procedures need not preserve the ##EAX##, ##ECX## or ##EDX## registers, and must clean up the stack (pop any parameters) before it returns.
##**Pascal**## is the default calling convention for procedures in Microsoft ""QuickBASIC"", and is the standard convention used in the Windows 3.1 API.
- ##[[KeyPgCdecl Cdecl]]##, ##[[KeyPgStdcall Stdcall]]##
- ##[[KeyPgDeclare Declare]]##
- ##[[KeyPgSub Sub]]##, ##[[KeyPgFunction Function]]##
Deletions:
In procedure declarations, ##**Pascal**## specifies that a procedure will use the //Pascal// calling convention. In the //Pascal// calling convention, any parameters are to be passed (pushed onto the stack) in the same order in which they are listed, that is, from left to right. The procedures need not preserve the ##EAX##, ##ECX## or ##EDX## registers, and must clean up the stack (pop any parameters) before it returns.
//Pascal// is the default calling convention for procedures in Microsoft ""QuickBASIC"", and is the standard convention used in the Windows 3.1 API.
- [[KeyPgCdecl Cdecl]], [[KeyPgStdcall Stdcall]]
- [[KeyPgDeclare Declare]]
- [[KeyPgSub Sub]], [[KeyPgFunction Function]]


Revision [16394]

Edited on 2012-10-21 17:44:35 by DkLwikki [shorter syntax for pascal usage, not proc usage]
Additions:
[[KeyPgSub Sub]] //name// **Pascal** [[[KeyPgOverload Overload]]] [[[KeyPgAlias Alias]] //"""alias"""//] ( //parameters// )
[[KeyPgFunction Function]] //name// **Pascal** [[[KeyPgOverload Overload]]] [[[KeyPgAlias Alias]] //"""alias"""//] ( //parameters// ) [[KeyPgAs as]] //return_type//
Deletions:
[[KeyPgDeclare Declare]] [[[KeyPgStatic Static]]] [[KeyPgSub Sub]] //procedure_name// **Pascal** [[[KeyPgOverload Overload]]] [[[KeyPgAlias Alias]] //"""external_name"""//] [([//parameter_list//])] [[[KeyPgModuleConstructor Constructor]] [//priority//]] [[[KeyPgStatic Static]]] [[[KeyPgExport Export]]]
[[KeyPgDeclare Declare]] [[[KeyPgStatic Static]]] [[KeyPgFunction Function]] //procedure_name// **Pascal** [[[KeyPgOverload Overload]]] [[[KeyPgAlias Alias]] //"""external_name"""//] [([//parameter_list//])] [[KeyPgAs as]] //return_type// [[[KeyPgStatic Static]]] [[[KeyPgExport Export]]]
[[[KeyPgPublic Public]]|[[KeyPgPrivate Private]]] [[KeyPgSub Sub]] //procedure_name// **Pascal** [[[KeyPgOverload Overload]]] [[[KeyPgAlias Alias]] //"""external_name"""//] [([//parameter_list//])] [[[KeyPgModuleConstructor Constructor]] [//priority//]] [[[KeyPgStatic Static]]] [[[KeyPgExport Export]]]
//..procedure body..//
[[KeyPgEnd End]] [[KeyPgSub Sub]]
[[[KeyPgPublic Public]]|[[KeyPgPrivate Private]]] [[KeyPgFunction Function]] //procedure_name// **Pascal** [[[KeyPgOverload Overload]]] [[[KeyPgAlias Alias]] //"""external_name"""//] [([//parameter_list//])] [[KeyPgAs as]] //return_type// [[[KeyPgStatic Static]]] [[[KeyPgExport Export]]]
//..procedure body..//
[[KeyPgEnd End]] [[KeyPgFunction Function]]


Revision [15149]

Edited on 2011-08-07 09:45:19 by FxMwikki [shorter syntax for pascal usage, not proc usage]
Additions:
[[KeyPgDeclare Declare]] [[[KeyPgStatic Static]]] [[KeyPgSub Sub]] //procedure_name// **Pascal** [[[KeyPgOverload Overload]]] [[[KeyPgAlias Alias]] //"""external_name"""//] [([//parameter_list//])] [[[KeyPgModuleConstructor Constructor]] [//priority//]] [[[KeyPgStatic Static]]] [[[KeyPgExport Export]]]
[[KeyPgDeclare Declare]] [[[KeyPgStatic Static]]] [[KeyPgFunction Function]] //procedure_name// **Pascal** [[[KeyPgOverload Overload]]] [[[KeyPgAlias Alias]] //"""external_name"""//] [([//parameter_list//])] [[KeyPgAs as]] //return_type// [[[KeyPgStatic Static]]] [[[KeyPgExport Export]]]
[[[KeyPgPublic Public]]|[[KeyPgPrivate Private]]] [[KeyPgSub Sub]] //procedure_name// **Pascal** [[[KeyPgOverload Overload]]] [[[KeyPgAlias Alias]] //"""external_name"""//] [([//parameter_list//])] [[[KeyPgModuleConstructor Constructor]] [//priority//]] [[[KeyPgStatic Static]]] [[[KeyPgExport Export]]]
[[[KeyPgPublic Public]]|[[KeyPgPrivate Private]]] [[KeyPgFunction Function]] //procedure_name// **Pascal** [[[KeyPgOverload Overload]]] [[[KeyPgAlias Alias]] //"""external_name"""//] [([//parameter_list//])] [[KeyPgAs as]] //return_type// [[[KeyPgStatic Static]]] [[[KeyPgExport Export]]]
Deletions:
[[KeyPgDeclare Declare]] [[[KeyPgStatic Static]]] [[KeyPgSub Sub]] //procedure_name// [[[KeyPgOverload Overload]]] **Pascal** [[[KeyPgAlias Alias]] //"""external_name"""//] [([//parameter_list//])] [[[KeyPgModuleConstructor Constructor]] [//priority//]] [[[KeyPgStatic Static]]] [[[KeyPgExport Export]]]
[[KeyPgDeclare Declare]] [[[KeyPgStatic Static]]] [[KeyPgFunction Function]] //procedure_name// [[[KeyPgOverload Overload]]] **Pascal** [[[KeyPgAlias Alias]] //"""external_name"""//] [([//parameter_list//])] [[KeyPgAs as]] //return_type// [[[KeyPgStatic Static]]] [[[KeyPgExport Export]]]
[[[KeyPgPublic Public]]|[[KeyPgPrivate Private]]] [[KeyPgSub Sub]] //procedure_name// [[[KeyPgOverload Overload]]] **Pascal** [[[KeyPgAlias Alias]] //"""external_name"""//] [([//parameter_list//])] [[[KeyPgModuleConstructor Constructor]] [//priority//]] [[[KeyPgStatic Static]]] [[[KeyPgExport Export]]]
[[[KeyPgPublic Public]]|[[KeyPgPrivate Private]]] [[KeyPgFunction Function]] //procedure_name// [[[KeyPgOverload Overload]]] **Pascal** [[[KeyPgAlias Alias]] //"""external_name"""//] [([//parameter_list//])] [[KeyPgAs as]] //return_type// [[[KeyPgStatic Static]]] [[[KeyPgExport Export]]]


Revision [15147]

Edited on 2011-08-07 09:32:29 by FxMwikki [shorter syntax for pascal usage, not proc usage]
Additions:
##**Pascal**## is not allowed to be used with variadic procedure declarations (those with the last parameter listed as "##[[KeyPgDots ...]]##").


Revision [15075]

Edited on 2011-04-15 12:00:46 by DkLwikki [slightly change the wording to avoid confusion (fb has no QuickBASIC procs)]
Additions:
//Pascal// is the default calling convention for procedures in Microsoft ""QuickBASIC"", and is the standard convention used in the Windows 3.1 API.
Deletions:
//Pascal// is the default calling convention for Microsoft ""QuickBASIC"" procedures, and is the standard convention used in the Windows 3.1 API.


Revision [14418]

Edited on 2009-08-29 21:56:20 by CountingPine [Remove CamelCase links in "New to FreeBASIC"]
Additions:
- New to ""FreeBASIC""
Deletions:
- New to FreeBASIC


Revision [11650]

The oldest known version of this page was created on 2007-11-10 09:14:53 by JeffMarshall [Remove CamelCase links in "New to FreeBASIC"]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode