>LOCAL ; > lcCmd > >m.lcCmd = "m.gnTest = 1" > >&lcCmd && Not mDotted but works as expected > >&m.lcCmd && "Unrecognized command verb" > >m.&lcCmd && Works as expected >>Is the last version the "correct" way to do this if you want the benefits of mDotting?
CLEAR CREATE CURSOR aCursor (m varchar(50)) INSERT INTO aCursor (m) VALUES ('? "whatever"') ? m LOCAL m LOCAL x m = '? "something"' x = '? m.' SELECT aCursor * expands to ? "something" &m. * expands to ? "something"m, and raises an error &m.m * expands to ? m.m &x.m