3 ms·
I use PL/SQL a fair bit, which was inspired by Ada. Unfortunately, the designers did not bring over ShortName is New ReallyLongAndAwkardName; Ah, well.
by cafard 6y ago
I use PL/SQL a fair bit, which was inspired by Ada. Unfortunately, the designers did not bring over
ShortName is New ReallyLongAndAwkardName;
Ah, well.
- OneWingedShark 6y ago> I use PL/SQL a fair bit, which was inspired by Ada. I have a bit of a project-idea here: PL/SQL+Ada+VHDL all together in an IDE. > Unfortunately, the designers did not bring over > ShortName is New ReallyLongAndAwkardName; Do you mean renames? Package Text renames Ada.Strings.Fixed; IIRC, RENAME is in the keywords list for PL/SQL.
- cafard 6y agoRENAME is a command in Oracle SQL. I see in the documentation that PL/SQL gives it as a "keyword", not as a "reserved word". This means, I gather that you can name a subprogram as RENAME, though Oracle recommends against it. You could not, on the other hand name a subprogram INSERT, unless you double-quoted it--which, again, Oracle recommends against.
- cneu 6y agoSome things are partially implemented: - type BOOLEAN is (FALSE, TRUE); - type VARCHAR2 is NEW CHAR_BASE; - generic collections - varargs Unfortunately, they are only available for the PL/SQL team itself.