Il 18/08/2016 01:17, Ron Pinkas ha scritto:
>> 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
>> 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 t
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 amb
Il 16/08/2016 19:19, Ron Pinkas ha scritto:
>> MYSAY ROW 12 COL 0 &( "cVar" + LTRIM( STR( n ) ) )
>
> Because:
>
> 0 & …
>
> Is a valid single expression!
Ahh! I really missed it! So what is the proper solution? A change in
this command definition?
#command MYSAY [];
[ROW ]
Il 16/08/2016 18:50, Ron Pinkas ha scritto:
>> #command MYSAY [];
>>[ROW ];
>>[COL ];
>> => MySayText( , , )
>>
>>
>> FUNCTION MAIN()
>>
>> PRIVATE cVar1 := "This is a test"
>>
>> PRIVATE n := 1
>>
>> CLS
>>
>> @ 8, 0 SAY &( "cVar" + LTRIM(
If you check the .PPO you will understand that you have a Pre Processing issue,
with your command.
> On Aug 16, 2016, at 9:26 AM, Enrico Maria Giordano
> wrote:
>
> #command MYSAY [];
>[ROW ];
>[COL ];
> => MySayText( , , )
>
>
> FUNCTION MAIN()
>
>
#command MYSAY [];
[ROW ];
[COL ];
=> MySayText( , , )
FUNCTION MAIN()
PRIVATE cVar1 := "This is a test"
PRIVATE n := 1
CLS
@ 8, 0 SAY &( "cVar" + LTRIM( STR( n ) ) )
MYSAY ROW 10 COL 0 "" + &( "cVar" + LTRIM( STR( n ) ) )
7 matches
Mail list logo