Hi Eike, On Wed, 23 Feb 2005 15:54:49 +0100, Eike Rathke <[EMAIL PROTECTED]> wrote: > Hi Kohei, > > On Tue, Feb 22, 2005 at 21:24:53 -0500, Kohei Yoshida wrote:
> > Now, are svSingleRef and svDoubleRef of similar nature to > > SingleRefData and ComplRefData? In other words, if a reference type > > is of svSingleRef it is a single cell reference, and if it is of > > svDoubleRef it is a reference to a cell range. Is this the correct > > way of looking at these reference types? > > That's correct. Inside a ScTokenArray references are represented as > a ScSingleRefToken with StackVarEnum svSingleRef and a SingleRefData, > respectively a ScDoubleRefToken with StackVarEnum svDoubleRef and > a ComplRefData. Nice! Thanks for the confirmation. :-) > > > Also, class ScTokenArray has a member function called > > GetNextReferenceRPN(). What does this RPN refer to? This > > abbreviation is used throughout the codebase, but I can't find its > > definition anywhere... > > It's a common acronym for Reverse Polish Notation. It is the token order > the interpreter expects to work on, in contrast to the human visible > form. For example, =(2+3)*4 results in an RPN token order of 2,3,+,4,* Uhh. Now I understand it much better. Thanks a lot, Eike. :-) Kohei --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
