comp.lang.ada
 help / color / mirror / Atom feed
* Standard file operations parameter restricted to names of type string
@ 2009-10-02 16:26 Hibou57 (Yannick Duchêne)
  2009-10-02 16:29 ` Yannick Duchêne Hibou57
  0 siblings, 1 reply; 2+ messages in thread
From: Hibou57 (Yannick Duchêne) @ 2009-10-02 16:26 UTC (permalink / raw)


Hello boys and girls,

I still apologize to not be often here, like a ghost... any way, my
two cents question is there whatever :

Why is there no way with Ada's predefined packages to open a file
specifying a Wide_Wide_String name ?

Voilà, so short

My two cents rational : if not all environments may support
Wide_Wide_String, if it, as an example, only supports standard String
file names, it could just handle this as an existing file whenever the
Wide_Wide_String name contains any Wide_Wide_Character not in the
range of Character (or if it support Wide_String name only, it could
do the same, with the Wide_Character range).

Or may be missed something about possibly existing rational which
would make the restriction to String an mostly obvious choice.

Read you soon

Yannick

P.S. I've got an application, written in Ada (on Windows), which sadly
raise an exception each times it meets a file name containing some
character code points in particular. Unfortunately, it does file
indexing (a little thing I've designed to help someone), so I cannot
see restriction on file names as a good way to solve it. This was not
te origin of my question in this topic, while it is related.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Standard file operations parameter restricted to names of type string
  2009-10-02 16:26 Standard file operations parameter restricted to names of type string Hibou57 (Yannick Duchêne)
@ 2009-10-02 16:29 ` Yannick Duchêne Hibou57
  0 siblings, 0 replies; 2+ messages in thread
From: Yannick Duchêne Hibou57 @ 2009-10-02 16:29 UTC (permalink / raw)


Please, correct the latter message : instead of “ it could just handle
this as an existing file ”, please read “ it could just handle this
*as a none* existing file ”



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-02 16:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-02 16:26 Standard file operations parameter restricted to names of type string Hibou57 (Yannick Duchêne)
2009-10-02 16:29 ` Yannick Duchêne Hibou57

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