Revision history for KeyPgOpPtrMemberAccess


Revision [21561]

Last edited on 2016-08-15 13:27:45 by DkLwikki [Fix grammar: does same that => is equivalent to]
Additions:
**##Operator ->## (Pointer to member access)** returns a reference to a member of an object through a pointer to that object. It has the effect of dereferencing a pointer to an object, then using ##[[KeyPgOpMemberAccess|Operator . (Member access)]]##. For example, ##"//p//**->**//member//"## is equivalent to ##"//x//.//member//"##, if //x// is an object of user-defined type and //p// is a pointer to an object of the same type. ##"//p//**->**//member//"## is equivalent to ##"(*//p//).//member//"##.
Deletions:
**##Operator ->## (Pointer to member access)** returns a reference to a member of an object through a pointer to that object. It has the effect of dereferencing a pointer to an object, then using ##[[KeyPgOpMemberAccess|Operator . (Member access)]]##. For example, ##"//p//**->**//member//"## is equivalent to ##"//x//.//member//"##, if //x// is an object of user-defined type and //p// is a pointer to an object of the same type.
##"//p//**->**//member//"## does the same thing that ##"(*//p//).//member//"##.


Revision [20720]

Edited on 2016-02-18 06:12:45 by fxm [Added "p->member" <=> "(*p]
Additions:
##"//p//**->**//member//"## does the same thing that ##"(*//p//).//member//"##.


Revision [20410]

Edited on 2016-02-10 16:05:31 by DkLwikki [Update link format]
Additions:
[[KeyPgDeclare|Declare]] [[KeyPgOperator|Operator]] **->** ( [[KeyPgByref|Byref]] //lhs// [[KeyPgAs|As]] //T// [[KeyPgPtr|Ptr]] ) [[KeyPgByref|Byref]] [[KeyPgAs|As]] //U//
**##Operator ->## (Pointer to member access)** returns a reference to a member of an object through a pointer to that object. It has the effect of dereferencing a pointer to an object, then using ##[[KeyPgOpMemberAccess|Operator . (Member access)]]##. For example, ##"//p//**->**//member//"## is equivalent to ##"//x//.//member//"##, if //x// is an object of user-defined type and //p// is a pointer to an object of the same type.
- Not available in the //[[CompilerOptlang|-lang qb]]// dialect.
- ##[[KeyPgOpMemberAccess|Operator . (Member access)]]##
- ##[[KeyPgOpAt|Operator @ (Address of)]]##
- ##[[KeyPgOpValueOf|Operator * (Value of)]]##
Deletions:
[[KeyPgDeclare Declare]] [[KeyPgOperator Operator]] **->** ( [[KeyPgByref Byref]] //lhs// [[KeyPgAs As]] //T// [[KeyPgPtr Ptr]] ) [[KeyPgByref Byref]] [[KeyPgAs As]] //U//
**##Operator ->## (Pointer to member access)** returns a reference to a member of an object through a pointer to that object. It has the effect of dereferencing a pointer to an object, then using ##[[KeyPgOpMemberAccess Operator . (Member access)]]##. For example, ##"//p//**->**//member//"## is equivalent to ##"//x//.//member//"##, if //x// is an object of user-defined type and //p// is a pointer to an object of the same type.
- Not available in the //[[CompilerOptlang -lang qb]]// dialect.
- ##[[KeyPgOpMemberAccess Operator . (Member access)]]##
- ##[[KeyPgOpAt Operator @ (Address of)]]##
- ##[[KeyPgOpValueOf Operator * (Value of)]]##


Revision [17116]

Edited on 2014-07-16 15:59:47 by FxMwikki [Corrected a typo]
Additions:
A user-defined type.
Deletions:
A pointer to a user-defined type.


Revision [17113]

Edited on 2014-07-08 01:21:21 by DkLwikki [Return byref is now supported]
Additions:
[[KeyPgDeclare Declare]] [[KeyPgOperator Operator]] **->** ( [[KeyPgByref Byref]] //lhs// [[KeyPgAs As]] //T// [[KeyPgPtr Ptr]] ) [[KeyPgByref Byref]] [[KeyPgAs As]] //U//
Deletions:
[[KeyPgDeclare declare]] [[KeyPgOperator operator]] **->** ( [[KeyPgByref byref]] //lhs// [[KeyPgAs as]] //T// [[KeyPgPointer pointer]] ) [[KeyPgByref Byref]] [[KeyPgAs as]] //U//


Revision [17112]

Edited on 2014-07-08 01:20:41 by DkLwikki [Return byref is now supported]
Additions:
[[KeyPgDeclare declare]] [[KeyPgOperator operator]] **->** ( [[KeyPgByref byref]] //lhs// [[KeyPgAs as]] //T// [[KeyPgPointer pointer]] ) [[KeyPgByref Byref]] [[KeyPgAs as]] //U//
Deletions:
[[KeyPgDeclare declare]] [[KeyPgOperator operator]] **->** ( [[KeyPgByref byref]] //lhs// [[KeyPgAs as]] //T// [[KeyPgPointer pointer]] ) [[KeyPgAs as]] //U//
~&//Note that **##Operator ->## (Pointer to member access)** 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 [14400]

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


Revision [13493]

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



sf.net phatcode