Browse thread
[Caml-list] Problem with Graph module
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Jun P.FURUSE <Jun.Furuse@i...> |
| Subject: |
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