Browse thread
[Caml-list] Reason why 'for' doesn't work across floats?
- Richard Jones
[
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: | 2004-01-08 (14:11) |
From: | Richard Jones <rich@a...> |
Subject: | [Caml-list] Reason why 'for' doesn't work across floats? |
Is there a particular reason why I shouldn't be allowed to step over floats? # for r = 0. to 9. step 1. do printf "%f" r done;; -- This expression has type float but is here used with type int Rich. -- Richard Jones. http://www.annexia.org/ http://freshmeat.net/users/rwmj Merjis Ltd. http://www.merjis.com/ - improving website return on investment http://www.winwinsales.co.uk/ - CRM improvement consultancy ------------------- 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