From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id VAA31396; Mon, 28 Jun 2004 21:57:37 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id VAA31385 for ; Mon, 28 Jun 2004 21:57:36 +0200 (MET DST) Received: from web90102.mail.scd.yahoo.com (web90102.mail.scd.yahoo.com [66.218.94.73]) by nez-perce.inria.fr (8.12.10/8.12.10) with SMTP id i5SJvZEV021162 for ; Mon, 28 Jun 2004 21:57:35 +0200 Message-ID: <20040628195734.426.qmail@web90102.mail.scd.yahoo.com> Received: from [155.99.182.148] by web90102.mail.scd.yahoo.com via HTTP; Mon, 28 Jun 2004 12:57:34 PDT Date: Mon, 28 Jun 2004 12:57:34 -0700 (PDT) From: Andy Yang Subject: [Caml-list] Why I cannot open a graph with a specific title To: caml-list@pauillac.inria.fr MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Miltered: at nez-perce with ID 40E0782F.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; promotions:99 ocaml:01 exception:02 unit:03 string:03 let:04 let:04 graph:05 graph:05 providers:94 yang:06 title:92 title:92 report:89 hello:15 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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