Sannyasin Brahmanathaswami wrote:
> But that it would be nice not be "stuck" with only finding out the
> properties of the variable as a variable.
>
> i.e. pField is a variable with 1 lineā¦
>
> but to be able to address the properties of the object referred to by
> a variable containing the long
> BR wrote:
> but to be able to address the properties of the object referred
> to by a variable containing the long ID of an object/
> How do we do that?
I think the "rule" is [assume objID is the long id of an object]
get|set of objID --- works for *properties* of the object
the number of li
> BR wrote:
> but to be able to address the properties of the object referred to by a
> variable containing the long ID of an object/
> How do we do that?
put the long id of fld 1 into fID
put the short name of fID into sID
put the number of lines of fld sID
On 6/28/17 9:25 PM, Sannyasin Brahmanathaswami via use-livecode wrote:
on addSpaceBelowListLines pField,pSpace
put the number of lines of pField
# returns 1 --
# -- of course, that's a prop of the var, not the object it refes to
repeat with x = 1 to (the number of lines of pField)
Change it to "the number of lines in the text of pfield" and it should work.
On Wed, Jun 28, 2017 at 8:59 PM, dunbarx via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Hi.
>
> You need a "do" construction to, er, deconstruct the "contents" of the
> variable to the object reference of tha
Hi.
You need a "do" construction to, er, deconstruct the "contents" of the
variable to the object reference of that variable. Do you know how to do
this?
Craig Neman
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/How-to-get-the-number-of-lines-of-a-fld-referen