Reply to topic

getx issue

zmitya
Registered Member
Posts
1
Karma
0

getx issue

Thu Apr 16, 2020 9:44 am
Hi All,

My son started to learn/play with KTurtle and we ran into an issue.
I wrote a small script to show what is our problem.

Could you please explain why this happens ?

Code: Select all
reset
go 200,200

dir 90

learn check {
  if getx != 200 and getx != 250 {
    message getx + " != 200 and " + getx + " != 250"
  }
}

repeat 10 {
   fw 50
   tr 90

   check
}


Thanks,
Mitya
User avatar hwmap
Registered Member
Posts
5
Karma
0

Re: getx issue

Tue Nov 17, 2020 7:26 am
Hi there, could you please let me know what is the programming language ?
User avatar Mamarok
Manager
Posts
5469
Karma
16
OS

Re: getx issue

Tue Nov 17, 2020 11:39 am
hwmap wrote:Hi there, could you please let me know what is the programming language ?

Really? Check out KTurtle :-)

FWIW: TurtleScript has been used since years for educational Turtle programming


Currently running Kubuntu Hirsute Hippo, Plasma 5.21.4, Frameworks 5.81.0, Qt 5.15.2, kernel 5.11.0-13
FWIW: it is always useful to state the exact Plasma version and distribution when asking questions, makes it easier for us to help ...
User avatar hwmap
Registered Member
Posts
5
Karma
0

Re: getx issue

Tue Nov 17, 2020 2:00 pm
Mamarok wrote:
hwmap wrote:Hi there, could you please let me know what is the programming language ?

Really? Check out KTurtle :-)

FWIW: TurtleScript has been used since years for educational Turtle programming


Thank you ^-^ 8)
KTurtle has only Linux version ?
User avatar Mamarok
Manager
Posts
5469
Karma
16
OS

Re: getx issue

Wed Nov 18, 2020 8:11 pm
AFAIK yes, but turtle programming has been around for several dozen years on various platforms.


Currently running Kubuntu Hirsute Hippo, Plasma 5.21.4, Frameworks 5.81.0, Qt 5.15.2, kernel 5.11.0-13
FWIW: it is always useful to state the exact Plasma version and distribution when asking questions, makes it easier for us to help ...
User avatar hwmap
Registered Member
Posts
5
Karma
0

Re: getx issue

Thu Nov 19, 2020 3:43 pm
Mamarok wrote:AFAIK yes, but turtle programming has been around for several dozen years on various platforms.


Thank you :)

 
Reply to topic

Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot], ipwizard, koffeinfriedhof, lesturner, Mace68, Majestic-12 [Bot], pandiloko, Sogou [Bot], tburke, Yahoo [Bot]