Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: "Alain Frisch" <alfie2@mygale.mygale.org>
To: caml-list@inria.fr
Subject: Caml : problème avec les string multilignes
Date: Fri, 22 May 1998 10:05:17 +0000	[thread overview]
Message-ID: <199805220804.KAA02748@tamaya.wanadoo.fr> (raw)

Bonjour,

j'ai un problème avec les chaines de caractères multilignes en
CamlLight. J'utilise la version Dos du compilateur et la version
Windows de l'interface.
Le programme suivant me pose problème:

let s="
abc
xyz
"
and f=open_out "x.html" in
 output_string f s;
 close_out f;;

En mode interactif, j'obtiens le résultat attendu (lignes terminées
par les caractès 0D 0A). Avec le compilateur, le caractère 0D
est dédoublé. Quelqu'un sait-il comment éviter cela (sans passer
sous Unix) ?
Merci.

Alain FRISCH
alfie2@mygale.org
yala.frisch@wanadoo.fr
Alain FRISCH
alfie2@mygale.org
yala.frisch@wanadoo.fr





             reply	other threads:[~1998-05-23 22:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-22 10:05 Alain Frisch [this message]
1998-05-25  8:16 ` Xavier Leroy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199805220804.KAA02748@tamaya.wanadoo.fr \
    --to=alfie2@mygale.mygale.org \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox