This forum has been archived. All content is frozen. Please use KDE Discuss instead.

getx issue

Tags: None
(comma "," separated)
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
6071
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


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier 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
6071
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.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier 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 :)


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]