Re: [Firebird-devel] Sub routines accessing outer variables, parameters and cursors

2022-01-12 Thread Adriano dos Santos Fernandes
On 12/01/2022 07:08, Alex Peshkoff via Firebird-devel wrote: > On 1/11/22 22:15, Adriano dos Santos Fernandes wrote: >> Hi! >> >> Currently sub routines cannot access the outer (main routine/block) >> variables, parameters and cursors - #4769. >> >> There is some details to make that happen

Re: [Firebird-devel] Sub routines accessing outer variables, parameters and cursors

2022-01-12 Thread Alex Peshkoff via Firebird-devel
On 1/11/22 22:15, Adriano dos Santos Fernandes wrote: Hi! Currently sub routines cannot access the outer (main routine/block) variables, parameters and cursors - #4769. There is some details to make that happen safely. Currently a variable cannot have its value changed while its being used.

Re: [Firebird-devel] Sub routines accessing outer variables, parameters and cursors

2022-01-12 Thread Adriano dos Santos Fernandes
Em qua., 12 de jan. de 2022 04:39, Mark Rotteveel escreveu: > > It is not entirely clear to me what you're proposing and what the > motivation is for the proposal. Are you proposing to allow local > subroutines to modify their parents variable, or are you proposing > something to allow reading a

Re: [Firebird-devel] Sub routines accessing outer variables, parameters and cursors

2022-01-11 Thread Mark Rotteveel
On 2022-01-11 20:15, Adriano dos Santos Fernandes wrote: Hi! Currently sub routines cannot access the outer (main routine/block) variables, parameters and cursors - #4769. There is some details to make that happen safely. Currently a variable cannot have its value changed while its being