Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #4013

Re: Self:Variable vs parameter

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "Wolfgang Riedmann" <wriedmann@gmail.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Self:Variable vs parameter
Date 29 Aug 2012 15:39:55 GMT
Lines 15
Message-ID <aa6rebFi44U1@mid.individual.net> (permalink)
References <DXp%r.303855$Re2.178310@fx06.am4> <aa6qblFabuU1@mid.individual.net> <7Gq%r.219199$mc1.59064@fx12.am4>
Mime-Version 1.0
Content-Type text/plain; charset=iso-8859-1
X-Trace individual.net d+QNmA+lI/ibsCyoHF2zRQv/em0CYSy8ZPSThbsa+7Qd73sp+5kjPR0mTwHyxdMJs=
Cancel-Lock sha1:ddNaPUahCYBHgnDogOoNK6G51Z0=
User-Agent XanaNews/1.18.1.6
Xref csiph.com comp.lang.clipper.visual-objects:4013

Show key headers only | View raw


Hi Martin,

> It is the order number within a hefty piece of code and can get
> called a few hundred times in class, I could use cOrder AS STRING as
> a parameter, or Self:cOrder within the code.
> 
> Currently using as a parameter but I am looking for the most
> efficient way of calling it.

then obviously passing it as instance variable to the class and the
calling the method without parameters is more efficient because you
have only one parameter passing instead of more.


Wolfgang

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Self:Variable vs parameter Martin <spam@spam.spam> - 2012-08-29 15:46 +0100
  Re: Self:Variable vs parameter "Wolfgang Riedmann" <wriedmann@gmail.com> - 2012-08-29 15:21 +0000
    Re: Self:Variable vs parameter Martin <spam@spam.spam> - 2012-08-29 16:35 +0100
      Re: Self:Variable vs parameter "Wolfgang Riedmann" <wriedmann@gmail.com> - 2012-08-29 15:39 +0000

csiph-web