Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Andy Yang <yyu08@yahoo.com>
To: caml-list@pauillac.inria.fr
Subject: [Caml-list] Why I cannot open a graph with a specific title
Date: Mon, 28 Jun 2004 12:57:34 -0700 (PDT)	[thread overview]
Message-ID: <20040628195734.426.qmail@web90102.mail.scd.yahoo.com> (raw)

Hi, all

I found that with the following  code is OK:

open Graphics;;
let _ = open_graph "";;

However, if I set a title for a widnow

open Graphics;;
let _ = open_graph "hello";;

Ocaml will report "Fatal error: exception
Graphics.Graphic_failure("Cannot open display hello").

open_graph has a signature  string -> unit.


Thanks a lot!

Andy


		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


             reply	other threads:[~2004-06-28 19:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-28 19:57 Andy Yang [this message]
2004-06-28 20:50 ` Christophe TROESTLER
2004-06-29  0:37   ` Matt Gushee
2004-06-29  8:46     ` Christophe TROESTLER
2004-06-28 21:01 ` Matt Gushee

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=20040628195734.426.qmail@web90102.mail.scd.yahoo.com \
    --to=yyu08@yahoo.com \
    --cc=caml-list@pauillac.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