Hi Monte,

What I do way too often is combining all parameters of a function in a string 
and then split them up again as needed e.g.:

repeat with i=1 to paramcount()
        if i<paramcount() then
                put param(i)&"," after theValue
            put param(i) after theValue
         end if
end repeat

— specific code follows:

 put item 1 of theValue into isLeft
 put item 2 of theValue into isTop
 put item 3 of theValue into isRight
 put item 4 of theValue into isBottom

As this allows me to pass most variants to the function:



myFunction(the rect of grc „myGraphic"
myFunction(the loc of me,10,

use-livecode mailing list
Please visit this url to subscribe, unsubscribe and manage your subscription 

Reply via email to