Subject Re: [Firebird-Architect] Named arguments for SP
Author Adriano dos Santos Fernandes
Nando Dessena wrote:
> Adriano,
>
>
>>>execute procedure sp (x = 1, y = 1)
>>>
>
> A> This syntax is incompatible with a future boolean
> A> datatype/expressions when used inside SPs.
>
> I don't think so. Precedence and scoping rules should avoid
> ambiguities.
>
What will be the value of 'x' in sp2, 'true' or 'false'?


create procedure sp2 (x varchar(5))
as
begin
end;

create procedure sp21
as
declare variable x varchar(5);
begin
x = 'false';
execute procedure sp2 (x = 'false');
end;


Adriano