You can do it in quotes:
x='? _screen.Caption'
&x
x='_screen.LockScreen = .T.'
&x
x='Messagebox(thisform.Caption)'
&x
and so on
Gary
>>I had tried a number of combinations but all gave me an error.
>
>Sergery gave you the solution. The reason is because a period terminates a macro expression (although we can usually get away with leaving it off). This is why you also can't use "this." syntax in a macro expression.
>
>local lc
>lc = thisform.runcommand
>&lc.
>