Skip to content

Commit

Permalink
Update master
Browse files Browse the repository at this point in the history
  • Loading branch information
rafa2000 committed Jun 5, 2012
1 parent c8e748d commit d723eef
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions 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
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@rafa2000
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great program by the way Stéphane.

@sgimenez
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.