caml-list - the Caml user's mailing list
 help / Atom feed
From: "Jun P.FURUSE" <Jun.Furuse@inria.fr>
To: nicolas.francois@free.fr
Cc: caml-list@inria.fr
Date: Mon, 17 Jun 2002 15:23:09 +0200 (CEST)
Message-ID: <20020617.152309.424257368.Jun.Furuse@inria.fr> (raw)
In-Reply-To: <20020617031219.2dd51ec3.nicolas.francois@free.fr>

Hello,

> if (point_color ma_fourmi.x ma_fourmi.y) = white
> is allways false under Ocaml.

If the following code says "BUG" in your environment, I am afraid that
there is a bug inside the graphics library. In such case, could you
send me the result of the command xdpyinfo in your environment ? 

(* ocamlc -o testgraphics graphics.cma testgraphics.ml *)
open Graphics
let _ = 
    open_graph "";
    if point_color 0 0 = white then 
      prerr_endline "OK"
    else prerr_endline "BUG"
;;

--
Jun
-------------------
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 index

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-17  1:04 [Caml-list] Problem with Graph module Nicolas FRANCOIS (AKA El Bofo)
2002-06-17 13:23 ` Jun P.FURUSE [this message]
2002-06-17 17:38   ` [Caml-list] Nicolas FRANCOIS (AKA El Bofo)
2002-06-18  9:48     ` [Caml-list] Re: Problem with Graph module Jun P.FURUSE
2002-06-18 16:53       ` Nicolas FRANCOIS (AKA El Bofo)
2002-06-18 23:13         ` Nicolas FRANCOIS (AKA El Bofo)

Reply instructions:

You may reply publically 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=20020617.152309.424257368.Jun.Furuse@inria.fr \
    --to=jun.furuse@inria.fr \
    --cc=caml-list@inria.fr \
    --cc=nicolas.francois@free.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

caml-list - the Caml user's mailing list

Archives are clonable: git clone --mirror https://inbox.ocaml.org/caml-list

AGPL code for this site: git clone https://public-inbox.org/ public-inbox