Hi John
It's lovely down here.
The code was not mine, I was just trying to modify some of it.
Which universe is flat?
Regards
Geoff
>Geoff,
>
>What's your weather like down there? ;-)
>
>I reviewed the substitution code. IMHO much of it could be handled using EVAL() or even just brackets:
>
>e.g.
>
>
>cNewButtonRef = EVAL('this.button'+alltrim(str(this.itemscount)))
>...
>...
>with <b>m.cNewButtonRef</b>
> .prop1=val1
> .prop2=val2
> cBtnShapeName
> &cBtnShapeRef..width = this.width
>
>...
>...
>endwith
>
>
>i.e. avoiding the macro substitution altogether. If you can do that, I would. JMHO.
>
>Regards
>
>j.R
May all your weeds be wildflowers