set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2

Ken Ray kray at sonsothunder.com
Fri Aug 26 13:09:23 EDT 2005


On 8/26/05 11:36 AM, "Mark Wieder" <mwieder at ahsoftware.net> wrote:

> Ken-
> 
> Friday, August 26, 2005, 7:13:32 AM, you wrote:
> 
>> How about the opposite? Stop using the *long* form... it means less typing
>> and you get the same effect (see your subject line)...  (he said, dodging
>> fruit)   ;-)
> 
> ...in that case *all* my stacks would stop working...
> 
> <fruit>
> 
> A Modest Proposal:
> 
> How about if we eliminate both and enforce just a single-character
> typing convention for objects and numeric values only for object
> identification? That way "field 3 of card 7" would come out to "f3c7"
> for a minimum of typing. The engine's parser would, of course,
> separate these into separate tokens "f 3 c 7" and be quite happy.
> Developers would have to type just four characters and the code would
> be much more readable because there's just one way to describe an
> object instead of two. The engine's parser would also run faster
> because it wouldn't have to discriminate between two different forms
> of object description.
> 
> </fruit>

See now you're getting dangerously close to dot notation:

  set c7.f3.name to "Ken"

(Hey! Who threw the watermelon?)

;-)

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com





More information about the use-livecode mailing list