delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/19/15:35:05

Message-Id: <m0x0n39-000S1xC@inti.edu.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT edu DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT edu DOT ar>
Organization: INTI
To: wribak AT usa DOT net, djgpp AT delorie DOT com
Date: Tue, 19 Aug 1997 15:29:19 +0000
MIME-Version: 1.0
Subject: Re: rhide - help... last one :)

Gal <wribak AT usa DOT net> wrote:

> Please tell me how to view the value while in a method (procedure) from
> a class.  Help? ;)

All the members are called with the object pushed in the stack and the members 
pops the value automagically in a variable called "this". So if you are in a 
member function and want to see a data member use this->member instead of 
member alone.

SET 
------------------------------------ 0 --------------------------------
Visit my home page: http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019