Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Why I cannot open a graph with a specific title
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Andy Yang <yyu08@y...>
Subject: [Caml-list] Why I cannot open a graph with a specific title
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