Constructing and calling a handler as "do"

Randall Lee Reetz randall at randallreetz.com
Sun Jan 13 20:48:23 EST 2008


Maybe i wasn't clear, i write code that writes code.  So some of this code needs to be able to go through scripts and extract meaning so that it can tokenize and build new (hopefully rational) code to do other things.

-----Original Message-----
From: "Randall Lee Reetz" <randall at randallreetz.com>
To: "How to use Revolution" <use-revolution at lists.runrev.com>
Sent: 1/13/2008 4:18 PM
Subject: RE: Constructing and calling a handler as "do"

I use delimeters so that i can auto deconstruct (this is much slower if one has to filter for cap letters). 

-----Original Message-----
From: "Mark Schonewille" <m.schonewille at economy-x-talk.com>
To: "How to use Revolution" <use-revolution at lists.runrev.com>
Sent: 1/13/2008 3:35 PM
Subject: Re: Constructing and calling a handler as "do"

Hi Randall,

I think it is common amongst old-time xTalk programmers to use  
capitals instead of underscores, although that means you need to  
press two keys anyways.

do myHandler -- now holds crdHandler

But that's not obligtory ;-)

Best regards,

Mark Schonewille

--

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Quickly extract data from your HyperCard stacks with DIFfersifier.  
http://differsifier.economy-x-talk.com


Op 14-jan-2008, om 0:25 heeft Randall Lee Reetz het volgende geschreven:

> Well here is the thing. I am constructing handlers that i then call  
> with:
>
> Do myhandler -- now holds "crd_handler"
>
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution





More information about the use-livecode mailing list