[Firebird-devel] ODP: ODP: ODP: CORE-5997
>>I prefer if PSQL switches from begin/end to braces, it's much simple, >>readable and compact, but it's not going to be an acceptable change. I see no problem with Pascal style Begin and End. >>Brackets are already an array index operator in Firebird. >>Adriano This is not problem in Delphi, then i suppose no problem in Firebird too. User should know what he do and on what data. e.g. a[5][2] can be one dimension array (index 5) of Varchar (second char) – no problem for me. Regards, Karol Bieniaszewski Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Re: [Firebird-devel] ODP: ODP: CORE-5997
On 08/02/2019 16:54, Karol Bieniaszewski wrote: > > Or better sample > > > > VAR_S[5] = VAR_A[3]; > > VAR_S[3] = VAR_A[5]; > > > > Vs > > > > VAR_S = SUBSTRING(VAR_S FROM 1 FOR 2) || SUBSTRING(VAR_A FROM 5 FOR 1) > || SUBSTRING(VAR_S FROM 4 FOR 1) || SUBSTRING(VAR_A FROM 3 FOR 1) || > SUBSTRING(VAR_S FROM 6); > > I prefer if PSQL switches from begin/end to braces, it's much simple, readable and compact, but it's not going to be an acceptable change. Brackets are already an array index operator in Firebird. Adriano Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel