Skip to content
Browse files

Update master

  • Loading branch information...
1 parent c8e748d commit d723eef498e73cd45b87aa6b172af83b8c207014 @rafa2000 committed Jun 5, 2012
Showing with 9 additions and 9 deletions.
  1. +9 −9 data/mods/ocaml/help
View
18 data/mods/ocaml/help
@@ -1,23 +1,23 @@
basic:
-laby_name_forward ();
-laby_name_left ();
-laby_name_right ();
-laby_name_escape ();
+forward();
+left();
+right();
+escape();
rocks:
-laby_name_take ();
-laby_name_drop ();
+take();
+drop();
loop:
-while laby_name_look () = laby_name_Void do
+while look() = Void do
...
done;
function:
-let f () =
+let f() =
...
conditional:
-if laby_name_look () = laby_name_Web
+if look() = Web
then ( ... )
else ( ... );

6 comments on commit d723eef

@sgimenez

I don't understand why you need such a change. Do these strings not render properly in the program?

The purpose of these weird names is translation. For example with LANG=fr_FR.UTF-8 laby, a laby_name_forward () is translated to avance () before it is displayed.

What OS and locale do you use? I'd like to know where the problem comes from.

@rafa2000
Owner

I'm sorry if I don't undertood. I tried using laby_name_forward() in the IDE to move the robot, and I got a syntax error, then I tried just forward(), left(), right(), look() and so forth, and everything worked. Let me know if I am doing something wrong. I used Objective Caml version 3.12.0 to compile the laby.

@rafa2000
Owner

By the way, my IDE is not showing the help files. I had to dive in the repo to see those. Maybe my compiled version is not so well done.

@rafa2000
Owner

I am using Ubuntu Oneiric 11.10, but I remember having the same problems since Ubuntu Maverick. My locale should be US.

@rafa2000
Owner

Great program by the way Stéphane.

@sgimenez

These help message are used in the first level where they are needed in the bottom left corner of the window. Can you confirm that they don't show up? Strange!?

Please sign in to comment.
Something went wrong with that request. Please try again.