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

Reply to topic

Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], claydoh, fozziebear, Google [Bot], idriskalp, Sogou [Bot], spoontex, tymond, Yahoo [Bot]