comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.acm.org>
Subject: Re: Ada.Command_Line.Argument_Count question
Date: Wed, 16 Sep 2009 03:41:30 -0700
Date: 2009-09-16T03:41:30-07:00	[thread overview]
Message-ID: <h8qet3$jv2$1@news.tornevall.net> (raw)
In-Reply-To: <4ab00009$0$282$14726298@news.sunsite.dk>

Thomas L�cke wrote:
> 
> I'm wondering what that last sentence mean? Is the RM trying to tell me 
> that Argument_Count cannot be trusted to yield the same result on 
> different systems (Unix, BSD, Windows, Linux and so on)?

Consider the argument list

/a/b/c

On some systems, this is 3 arguments: "a", "b", and "c". '/' is used to 
introduce an argument.

On other systems, this is a single argument representing an absolute file path. 
'/' is the directory separator.

On yet other systems, this might be interpreted in a completely different way.

-- 
Jeff Carter
"My dear Mrs. Hemoglobin, when I first saw you, I
was so enamored with your beauty I ran to the basket,
jumped in, went down to the city, and bought myself a
wedding outfit."
Never Give a Sucker an Even Break
111



  parent reply	other threads:[~2009-09-16 10:41 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-15 20:58 Ada.Command_Line.Argument_Count question 
2009-09-15 21:37 ` Gautier write-only
2009-09-16  6:21   ` 
2009-09-16 18:43   ` Keith Thompson
2009-09-22 19:52     ` Gautier write-only
2009-09-22 20:00       ` Hyman Rosen
2009-09-23  0:20         ` Gautier write-only
2009-09-23  1:07           ` Adam Beneschan
2009-09-23 13:03             ` Hyman Rosen
2009-09-23 16:06             ` Gautier write-only
2009-09-24  0:31               ` Björn Persson
2009-09-24  1:11                 ` Adam Beneschan
2009-09-25 12:25                   ` Stephen Leake
2009-09-15 21:55 ` Adam Beneschan
2009-09-16  6:20   ` 
2009-09-16 10:41 ` Jeffrey R. Carter [this message]
2009-09-17 13:50 ` John McCabe
2009-09-18  5:12   ` sjw
2009-09-18 15:03     ` John McCabe
2009-09-18 22:16       ` Robert A Duff
2009-09-21 15:09         ` John McCabe
2009-09-21 15:17           ` Dmitry A. Kazakov
2009-09-21 19:44           ` sjw
2009-09-22 11:01             ` John McCabe
replies disabled

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