From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: File "form" and mainstream systems.
Date: Thu, 21 Aug 2008 23:00:42 -0500
Date: 2008-08-21T23:00:42-05:00 [thread overview]
Message-ID: <g8ldn8$oi4$1@jacob-sparre.dk> (raw)
In-Reply-To: 6f4661c3-0b11-4b2e-a258-40b7749dce97@y21g2000hsf.googlegroups.com
Sure, but it's implementation-defined, and thus may vary from compiler to
compiler. Can't do anything portable with it.
Janus/Ada uses Form to control the file sharing mode on Windows, and also to
set (or not) the CP/M compatibility mode (where <ctrl>-Z is treated as a
file terminator). I'm pretty sure GNAT has such capabilities, too, but I
think the syntax is different. (Remember that Form is a String).
Randy.
"Maciej Sobczak" <see.my.homepage@gmail.com> wrote in message
news:6f4661c3-0b11-4b2e-a258-40b7749dce97@y21g2000hsf.googlegroups.com...
> Hi,
>
> There is a Form parameter in file creation/open procedures (for
> example Ada.Sequential_IO.Create).
> The corresponding function allows to retrieve the "form" for the file
> object that is already open.
>
> Is there any use for the file "form" on POSIX or Windows?
>
> --
> Maciej Sobczak * www.msobczak.com * www.inspirel.com
>
> Database Access Library for Ada: www.inspirel.com/soci-ada
prev parent reply other threads:[~2008-08-22 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-18 13:40 File "form" and mainstream systems Maciej Sobczak
2008-08-22 4:00 ` Randy Brukardt [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox