[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-edu-devel
Subject:    [kde-edu]: KTurtle documentation + example errors
From:       Burkhard =?iso-8859-15?q?L=FCck?= <lueck () hube-lueck ! de>
Date:       2004-12-18 12:20:23
Message-ID: 200412181320.23745.lueck () hube-lueck ! de
[Download RAW message or body]

Hi,

in the documention in programming-reference.(pot|docbook) I find two different 
styles to pass a value to a learn command

1)
learn circle (x) [  <---- with brackets
...
2)
learn circle X [  <---- without brackets
...
circle 10   <---- without brackets

1) gives an error, 2) works in my kturtle cvs head compiled on 03.12.2004
see Bug 95268

but now I find in the example squaresss.logo, changed on 12.12.2004 :
 learn square (X) [ <---- with brackets
 ...
 square (80)  <---- with brackets

what is the correct style to write a function call and definition ?

Burkhard Lück


_______________________________________________
kde-edu mailing list
kde-edu@mail.kde.org
https://mail.kde.org/mailman/listinfo/kde-edu

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic