From: Mehdi Saada <00120260a@gmail.com>
Subject: Re: CONSTRAINT ERROR? access check failed
Date: Thu, 1 Mar 2018 06:06:35 -0800 (PST)
Date: 2018-03-01T06:06:35-08:00 [thread overview]
Message-ID: <1e744a67-b2bf-437c-b503-8bd4c13da655@googlegroups.com> (raw)
In-Reply-To: <ffpql8F19tvU1@mid.individual.net>
I won't bash you for that, I thought of it, but I re-discovered the GET_LINE function returning a fixed string, and read about "automatic variables", which I already used without knowing the name, and I try to stick with these constructs, such as:
PUT_LINE("Fill in the name file");
loop
declare
FILL_IN: STRING := TRIM(BOTH, GET_LINE);
begin
if FILL_IN /= "" then exit; end if
exception when others => PUT_LINE("Try again");
end;
end loop;
which are really illegant. I wouldn't be surprised if they were indeed used in the implementation of GET_LINE for UNBOUNDED_STRING.
next prev parent reply other threads:[~2018-03-01 14:06 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-01 0:27 CONSTRAINT ERROR? access check failed Mehdi Saada
2018-03-01 8:07 ` Niklas Holsti
2018-03-01 12:44 ` Mehdi Saada
2018-03-01 13:45 ` Björn Lundin
2018-03-01 14:06 ` Mehdi Saada [this message]
2018-03-01 14:31 ` Mehdi Saada
2018-03-01 14:38 ` Mehdi Saada
2018-03-01 15:53 ` Anh Vo
2018-03-01 17:24 ` Mehdi Saada
2018-03-01 18:34 ` Anh Vo
2018-03-01 17:26 ` Simon Wright
2018-03-01 17:47 ` Mehdi Saada
2018-03-01 17:56 ` Jeffrey R. Carter
2018-03-01 8:30 ` Simon Wright
2018-03-01 12:14 ` Mehdi Saada
2018-03-01 13:27 ` Simon Wright
2018-03-01 13:44 ` Mehdi Saada
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox