Param Naming - Object by Reference Best Practices

J. Landman Gay jacque at
Wed May 31 17:58:49 EDT 2017

On 5/31/17 4:06 PM, Sannyasin Brahmanathaswami via use-livecode wrote:
> One does not expect this to be improperly evaluated
> put "graphic portal-title-bkgnd" into pObject
> What do you do? And why?

I suspect the engine is trying to do subtraction since it can't tell you 
are referring to a literal name. Try putting the name of the object in 
quotes, see if that helps:

put "graphic" && quote& "portal-title-bkgnd" & quote into pObject

Jacqueline Landman Gay         |     jacque at
HyperActive Software           |

More information about the use-livecode mailing list