Revision history for KeyPgOpValueOf


Revision [22766]

Last edited on 2019-07-04 00:26:23 by fxm [merged the page POINTER (KeyPgPointer) within page PTR (KeyPgPtr)]
Additions:
[[KeyPgDeclare|declare]] [[KeyPgOperator|operator]] ***** ( [[KeyPgByref|byref]] //rhs// [[KeyPgAs|as]] //T// [[KeyPgPtr|pointer]] ) [[KeyPgByrefFunction|byref]] [[KeyPgAs|as]] //T//
Any type of ##[[KeyPgPtr|Pointer]]## can be dereferenced except for an ##[[KeyPgAny|Any]]## ##[[KeyPgPtr|Pointer]]##.
Deletions:
[[KeyPgDeclare|declare]] [[KeyPgOperator|operator]] ***** ( [[KeyPgByref|byref]] //rhs// [[KeyPgAs|as]] //T// [[KeyPgPointer|pointer]] ) [[KeyPgByrefFunction|byref]] [[KeyPgAs|as]] //T//
Any type of ##[[KeyPgPointer|Pointer]]## can be dereferenced except for an ##[[KeyPgAny|Any]]## ##[[KeyPgPointer|Pointer]]##.


Revision [22746]

Edited on 2019-07-02 10:42:15 by fxm [Added a caution about a null pointer use or a resulting address corresponding to invalid memory access]
Additions:
This operator must not be used in case of null pointer because reference is undefined (inducing runtime error).
Otherwise, the user must ensure that the pointer value induces access to a valid memory. Otherwise, results are undefined.


Revision [20719]

Edited on 2016-02-14 07:34:18 by fxm [An 'Any Ptr' cannot be dereferenced + format]
Additions:
Any type of ##[[KeyPgPointer|Pointer]]## can be dereferenced except for an ##[[KeyPgAny|Any]]## ##[[KeyPgPointer|Pointer]]##.


Revision [20428]

Edited on 2016-02-10 16:06:01 by DkLwikki [Update link format]
Additions:
[[KeyPgDeclare|declare]] [[KeyPgOperator|operator]] ***** ( [[KeyPgByref|byref]] //rhs// [[KeyPgAs|as]] //T// [[KeyPgPointer|pointer]] ) [[KeyPgByrefFunction|byref]] [[KeyPgAs|as]] //T//
Any [[CatPgStdDataTypes|standard]], [[CatPgUserDefTypes|user-defined]] or procedure type.
- In the //[[CompilerOptlang|-lang qb]]// dialect, this operator cannot be overloaded.
- ##[[KeyPgOpAt|Operator @ (Address of)]]##
- [[ProPgPointers|Pointers]]
Deletions:
[[KeyPgDeclare declare]] [[KeyPgOperator operator]] ***** ( [[KeyPgByref byref]] //rhs// [[KeyPgAs as]] //T// [[KeyPgPointer pointer]] ) [[KeyPgByrefFunction byref]] [[KeyPgAs as]] //T//
Any [[CatPgStdDataTypes standard]], [[CatPgUserDefTypes user-defined]] or procedure type.
- In the //[[CompilerOptlang -lang qb]]// dialect, this operator cannot be overloaded.
- ##[[KeyPgOpAt Operator @ (Address of)]]##
- [[ProPgPointers Pointers]]


Revision [16576]

Edited on 2013-02-04 00:21:51 by CountingPine [Link to Operator [] (needs an fbdoc-type link because of the '[]')]
Additions:
- ##{{fbdoc item="keyword" value="KeyPgOpPtrIndex|Operator [] (Pointer index)"}}##


Revision [16574]

Edited on 2013-02-04 00:10:04 by CountingPine [Can now use closer syntax for declare]
Additions:
[[KeyPgDeclare declare]] [[KeyPgOperator operator]] ***** ( [[KeyPgByref byref]] //rhs// [[KeyPgAs as]] //T// [[KeyPgPointer pointer]] ) [[KeyPgByrefFunction byref]] [[KeyPgAs as]] //T//
Deletions:
[[KeyPgDeclare declare]] [[KeyPgOperator operator]] ***** ( [[KeyPgByref byref]] //rhs// [[KeyPgAs as]] //T// [[KeyPgPointer pointer]] ) [[KeyPgAs as]] //T//
~&//Note that **##Operator *## (Value of)** returns a reference. As of 02.27.07, ""FreeBASIC"" syntax does not support returning references. When it does, this syntax will need to be changed.//


Revision [14404]

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


Revision [13490]

The oldest known version of this page was created on 2008-07-11 06:31:24 by DoS386 [Remove CamelCase links in "New to FreeBASIC"]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode