At Sun, 08 Mar 2009 17:55:37 +0100 DUFLOT Jean-Luc wrote: > (it seems to me the command is c.geommetry in place of c:geometry) > > In any case, that does'nt work. It's hard because I understand nothing > to Lua and I 'm not a programmer. > > Could you give me the right command and where to put it in rc.lua ? > > Jean-Luc > >
Well, that is because the syntax is c:geometry() :)
The . notation is used for object fields, like name, class, whatever, and the :
notation is used for methods.
--
GCS/IT/M d- s+:- a--- C++ UL+++ US UB++ P+++ L+++ E--- W+ N+ o--
K- w--- O M-- V PS+ PE- Y+ PGP+++ t+ 5 X+ R tv+ b++ DI+++ D+++ G+
e- h! r y+
Gregor Best
signature.asc
Description: PGP signature
