Revision history for KeyPgLet


Revision [20959]

Last edited on 2016-03-13 04:17:01 by fxm [Formatting]
Additions:



Revision [20291]

Edited on 2016-02-10 16:02:01 by DkLwikki [Update link format]
Additions:
[[KeyPgOperator|operator]] //typename//.**Let** ( [ [[KeyPgByref|byref]] | [[KeyPgByval|byval]] ] rhs [[KeyPgAs|as]] [[DataType|datatype]] )
**Let** can be used as a left-hand side operator to assign the members of a user defined type to multiple variables. //See ##[[KeyPgOpLetlist|Operator Let() (Assignment)]]##//
**Let** is used with operator overloading to refer the assignment operator. //##See [[KeyPgOpLet|Operator Let (Assignment)]]##//
- The use of ##**let**## to indicate an assignment statement (##//**Let** variable = expr//##) is not allowed in the //[[CompilerOptlang|-lang fb]]// dialect.
- The UDT to multi-variable Let assignment is only available in the //[[CompilerOptlang|-lang fb]]// dialect.
- Overloading of operators is not available in the //[[CompilerOptlang|-lang qb]]// and //[[CompilerOptlang|-lang fblite]]// dialects.
- None in the //[[CompilerOptlang|-lang fb]]// dialect.
- ##[[KeyPgOpLet|Operator Let (Assignment)]]##
- ##[[KeyPgOpLetlist|Operator Let() (Assignment)]]##
- ##[[KeyPgOperator|Operator]]##
Deletions:
[[KeyPgOperator operator]] //typename//.**Let** ( [ [[KeyPgByref byref]] | [[KeyPgByval byval]] ] rhs [[KeyPgAs as]] [[DataType datatype]] )
**Let** can be used as a left-hand side operator to assign the members of a user defined type to multiple variables. //See ##[[KeyPgOpLetlist Operator Let() (Assignment)]]##//
**Let** is used with operator overloading to refer the assignment operator. //##See [[KeyPgOpLet Operator Let (Assignment)]]##//
- The use of ##**let**## to indicate an assignment statement (##//**Let** variable = expr//##) is not allowed in the //[[CompilerOptlang -lang fb]]// dialect.
- The UDT to multi-variable Let assignment is only available in the //[[CompilerOptlang -lang fb]]// dialect.
- Overloading of operators is not available in the //[[CompilerOptlang -lang qb]]// and //[[CompilerOptlang -lang fblite]]// dialects.
- None in the //[[CompilerOptlang -lang fb]]// dialect.
- ##[[KeyPgOpLet Operator Let (Assignment)]]##
- ##[[KeyPgOpLetlist Operator Let() (Assignment)]]##
- ##[[KeyPgOperator Operator]]##


Revision [17813]

Edited on 2015-09-29 15:26:29 by FxMwikki ['=>' is an alternative syntax for the assignment operator]
Additions:
- ##{{fbdoc item="keyword" value="KeyPgOpAssignment|Operator =[>] (Assignment)"}}##
Deletions:
- ##[[KeyPgOpAssignment Operator = (Assignment)]]##


Revision [13718]

Edited on 2008-09-11 12:48:40 by CountingPine [Misc minor edits]
Additions:
Command intended to help the programmer to distinguish an assignment statement (e.g. ##**Let** a = 1##) from an equality test (e.g. ##If a = 1 then ...##). As the compiler does not require it, it is usually omitted.
**Let** can be used as a left-hand side operator to assign the members of a user defined type to multiple variables. //See ##[[KeyPgOpLetlist Operator Let() (Assignment)]]##//
**Let** is used with operator overloading to refer the assignment operator. //##See [[KeyPgOpLet Operator Let (Assignment)]]##//
- The use of ##**let**## to indicate an assignment statement (##//**Let** variable = expr//##) is not allowed in the //[[CompilerOptlang -lang fb]]// dialect.
- The Let operator is new to ""FreeBASIC"".
- The UDT to multi-variable Let assignment is new to ""FreeBASIC"".
Deletions:
Command intended to help the programmer to distinguish an assignment statement ( ##**Let** a=1## ) from an equality test ( ##If a=1 then ... ## ). As the compiler does not require it, it is usually omitted.
**Let** can be used as a left-hand side operator to assign the members of a user defined type to multiple variables. //See [[KeyPgOpLetlist Operator Let() (Assignment)]]//
**Let** is used with operator overloading to refer the assignment operator. //See [[KeyPgOpLet Operator Let (Assignment)]]//
- The use of LET to indicate an assignment statement (##//LET variable = expr//##) is not allowed in the //[[CompilerOptlang -lang fb]]// dialect.
- The Let operator is new to FreeBASIC.
- The UDT to multi-variable Let assignment is new to FreeBASIC.


Revision [13593]

Edited on 2008-07-21 15:45:32 by JeffMarshall [added #lang or $lang to example]
Additions:
#lang "fblite"


Revision [12818]

The oldest known version of this page was created on 2008-04-01 15:46:57 by JeffMarshall [added #lang or $lang to example]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode