Is Transcript's English orientation a plus or minus?
Rob Cozens
rcozens at pon.net
Wed Feb 11 12:15:54 EST 2004
>As someone else mentioned, "x = 1" already has meaning in xTalk
Frank, et al:
For the record, I'm not just waxing theoretical here: look through
the handlers in any component of Serendipity Library and you will
find statements were I use "x = 1" [or more likely "x is 1", but
syntactically equivalent] to set boolean values.
* put (argument1 = true) into argument1 -- defaults argument1 to
false if no argument is passed in the call. Among other things, this
lets calls to SDB handlers with multiple arguments, eg:
on findSDBRecord
@sdbBuffer,exactKey,fieldDelimiter,itemList,setPosition,searchForward,searchCriteria,cutoffKey,recordDelimiter,unlockRecord
to be referenced by Revolutionists who don't need to override
defaults as though the syntax were "on findSDBRecord @sdbBuffer"
* put (field 6 = empty) into skipField6
* put (field "Customer Balance" = 0) into addCustomerToCallList
Accommodating your request would force moi, at least, to rewrite MANY handlers.
Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.net/who.htm
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."
from "The Triple Foole" by John Donne (1572-1631)
More information about the use-livecode
mailing list