Re: [xHarbour-developers] Another one
>> Simply avoiding the ambiguity, either by changing the line to : >> >>MYSAY … ROW … COL … >> >> Note the ORDER! > > Ok, this way: > > MYSAY &( "cVar" + LTRIM( STR( n ) ) ) ROW 12 COL 0 Yes. >> Also you can so round the & exp with () this too will remove the ambiguity. > > Do you mean this way? > > MYSAY ROW 12 COL 0 ( &( "cVar" + LTRIM( STR( n ) ) ) ) > > I get: > > Error E0030 Syntax error: "syntax error at '(‘" Strange, I believed it should have worked. I must be missing something or it might be some PP bug. Anyway the best approach is the solution above. Ron -- ___ xHarbour-developers mailing list xHarbour-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xharbour-developers
Re: [xHarbour-developers] Another one
Il 17/08/2016 19:38, Ron Pinkas ha scritto: > Simply avoiding the ambiguity, either by changing the line to : > > MYSAY … ROW … COL … > > Note the ORDER! Ok, this way: MYSAY &( "cVar" + LTRIM( STR( n ) ) ) ROW 12 COL 0 > Also you can so round the & exp with () this too will remove the ambiguity. Do you mean this way? MYSAY ROW 12 COL 0 ( &( "cVar" + LTRIM( STR( n ) ) ) ) I get: Error E0030 Syntax error: "syntax error at '('" EMG -- EMAG Software Homepage: http://www.emagsoftware.it The EMG Music page: http://www.emagsoftware.it/emgmusic The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum The Best of Spectrum Games: http://www.emagsoftware.it/tbosg -- ___ xHarbour-developers mailing list xHarbour-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xharbour-developers