From: comicfanzine@gmail.com
Subject: Unbounded.String instead of Standard.String
Date: Sun, 27 Dec 2015 09:34:05 -0800 (PST)
Date: 2015-12-27T09:34:05-08:00 [thread overview]
Message-ID: <c99c1748-aacb-4d1c-8972-a435e0149c25@googlegroups.com> (raw)
Hi ,
I want to use a String variable with no specific length and without a "declare" bloc .
I tried the following code which compile on Gnat 4.9 , Ubuntu 15.10 .
The problem is that at execution time , nothing happen .
with Ada.Text_IO;
with Ada.Strings.Unbounded;
use Ada.Text_IO;
use Ada.Strings.Unbounded;
procedure autre(var : String) is
transform : Unbounded_String := To_Unbounded_String(Source => var)
begin
get(transform);
end autre;
next reply other threads:[~2015-12-27 17:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-27 17:34 comicfanzine [this message]
2015-12-27 17:39 ` Unbounded.String instead of Standard.String Jeffrey R. Carter
2015-12-28 19:00 ` Anh Vo
2016-01-06 15:21 ` comicfanzine
2016-01-06 17:41 ` Anh Vo
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox