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


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

Re: Self:Variable vs parameter

From "Wolfgang Riedmann" <wriedmann@gmail.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Self:Variable vs parameter
Date 2012-08-29 15:39 +0000
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>

Show all headers | 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