Re: Best Practices Issue

new topic     » goto parent     » topic index » view thread      » older message » newer message

C.K. wrote:
<snip>
This was just a brain exercise for me when I realized that there were two
ways
to go about it, and one didn't involve actual variables. That weirded me
out,
but now I just envision that the controls are really just dynamic variable
holders that really do respond to onChange() events... hehehe. The negative
aspect is you can't do any sequence operations with them!!! That's why the
variables are so valuable to me... for instance, the sum() function above...

txt5 = sum( s ) -- with a variable, can be nice and clean
-- versus...
-- this is condensed, 'cuz you prolly have to extract a value() also...
txt5 = getText(txt1) + getText(txt2) + getText(txt3) + getText(txt4) --
yuck!!

<snip>

and I note:
Actually, I think you *can* do sequence operations on them, if you create
them as sequences in the first place:
sequence SomeControls
SomeControls = {}
SomeControls &= create (whatever)
SomeControls &= create (something else)
SomeControls &= create (yet another control)

Dan Moyer

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu