caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Why I cannot open a graph with a specific title
@ 2004-06-28 19:57 Andy Yang
  2004-06-28 20:50 ` Christophe TROESTLER
  2004-06-28 21:01 ` Matt Gushee
  0 siblings, 2 replies; 5+ messages in thread
From: Andy Yang @ 2004-06-28 19:57 UTC (permalink / raw)
  To: caml-list

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


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

end of thread, other threads:[~2004-06-29 12:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-28 19:57 [Caml-list] Why I cannot open a graph with a specific title Andy Yang
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).