comp.lang.ada
 help / color / mirror / Atom feed
From: And838N@netscape.net
To: comp.lang.ada@ada.eu.org
Subject: Visibility and Elaboration
Date: Wed, 11 Jun 2003 06:40:55 -0400
Date: 2003-06-11T06:40:55-04:00	[thread overview]
Message-ID: <mailman.20.1055328084.1173.comp.lang.ada@ada.eu.org> (raw)

David,

Ohhhhhhhhhhhhh...

Your talking about:

procedure x is
   astring: unbounded_string := "hello world";
   somenumber: integer := 0;
begin
   somenumber := count(astring, to_set(' '));
   put(somenumber);
end x;


When I am talking about:

procedure visibilitytest is
         astring: string := "hello world";
         somenumber: integer;
begin
         put_line(astring);
         somenumber := count(to_unbounded_string(astring), to_set(' 
'));
         put_line(Integer'image(somenumber));
end visibilitytest;


After I posted procedure x I added put_line(astring) instead of put
(somenumber) and reposted it.  I looked it up later and found procedure 
visibility test but not procedure x.  Anyway...
You have my sincere and public appologies for being rude and, with 
procedure x, I would not need ada.text_io.

Andrew




__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397

Get AOL Instant Messenger 5.1 free of charge.  Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455



             reply	other threads:[~2003-06-11 10:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-11 10:40 And838N [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-06-10  8:33 Visibility and Elaboration And838N
     [not found] <7BD8CDF4.671052CE.0015D3EC@netscape.net>
2003-06-09 11:35 ` David C. Hoos, Sr.
2003-06-09 18:14   ` Robert I. Eachus
2003-06-09 18:29     ` tmoran
2003-06-11  6:50       ` Robert I. Eachus
2003-06-11  7:49         ` tmoran
2003-06-11 21:11           ` Robert I. Eachus
2003-06-09 10:47 And838N
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox