Revision history for KeyPgOpCombineAnd
Additions:
//Note: Similarly to the operator '=[>]' (assign), the alternative symbol 'And=>' can be also used.//
Additions:
Revision [21357]
Edited on 2016-04-15 03:54:43 by fxm [Added reference to KeyPgOperator for appropriate syntax when overloaded as member operator]Additions:
This operator can be overloaded for user-defined types as a member ##[[KeyPgOperator|Operator]]## using the appropriate syntax.
Deletions:
Additions:
##//lhs// = //lhs// [[KeyPgOpAnd|and]] //rhs//##
Deletions:
Additions:
Additions:
[[KeyPgDeclare|declare]] [[KeyPgOperator|operator]] **And=** ( [[KeyPgByref|byref]] //lhs// [[KeyPgAs|as]] //T1//, [[KeyPgByref|byref]] //rhs// [[KeyPgAs|as]] //T2// )
//lhs// = //lhs// [[KeyPgOpAnd|and]] //rhs//
- In the //[[CompilerOptlang|-lang qb]]// dialect, this operator cannot be overloaded.
- ##[[KeyPgOpAnd|And]]##
//lhs// = //lhs// [[KeyPgOpAnd|and]] //rhs//
- In the //[[CompilerOptlang|-lang qb]]// dialect, this operator cannot be overloaded.
- ##[[KeyPgOpAnd|And]]##
Deletions:
//lhs// = //lhs// [[KeyPgOpAnd and]] //rhs//
- In the //[[CompilerOptlang -lang qb]]// dialect, this operator cannot be overloaded.
- ##[[KeyPgOpAnd And]]##
Revision [17771]
Edited on 2015-09-12 07:08:10 by FxMwikki [Added conversion of Booleans to Integers]Additions:
This operator performs a bitwise-and and assigns the result to a variable (for conversion of a boolean to an integer, false or true boolean value becomes 0 or -1 integer value). It is functionally equivalent to:
Deletions:
Additions:
Any numeric or boolean type.
Any numeric or boolean type.
Any numeric or boolean type.
Deletions:
Any numeric type.
Revision [14377]
Edited on 2009-08-29 21:55:02 by CountingPine [Remove CamelCase links in "New to FreeBASIC"]Additions:
- New to ""FreeBASIC""