Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » What coding language is the code for Scratchblocks most similar to?
- TheCreatorOfUnTV
-
Scratcher
1000+ posts
What coding language is the code for Scratchblocks most similar to?
What coding language is this:
For comparison purposes, look at the script below (same data, but different display format):
when green flag clickedmost similar to?
say [Hi!]
repeat until <(answer) = [1]>
ask [What number am I thinking?] and wait
end
say [Correct!]
For comparison purposes, look at the script below (same data, but different display format):
when green flag clicked
say [Hi!]
repeat until <(answer) = [1]>
ask [What number am I thinking?] and wait
end
say [Correct!]
- breakfast_for_dinner
-
Scratcher
1000+ posts
What coding language is the code for Scratchblocks most similar to?
maybe ruby?


- mybearworld
-
Scratcher
1000+ posts
What coding language is the code for Scratchblocks most similar to?
- CST1229
-
Scratcher
1000+ posts
What coding language is the code for Scratchblocks most similar to?
(#4)I was saying “but it might not count” since I assume OP was asking for “mainstream” programming languages, not one designed specifically to look and be like Scratch.(#3)It's probably Tosh, it looks very similar to scratchblocks.
Or maybe tosh, but that might not count.when green flag clicked
say "Hi!"
repeat until answer = 1
ask "What number am I thinking?" and wait
end
say "Correct!"
Last edited by CST1229 (July 23, 2024 12:00:21)
- ajskateboarder
-
Scratcher
1000+ posts
What coding language is the code for Scratchblocks most similar to?
HyperTalk comes pretty close
- TheCreatorOfUnTV
-
Scratcher
1000+ posts
What coding language is the code for Scratchblocks most similar to?
HyperTalk comes pretty closeWhat does it look like?
- meunspeakable
-
Scratcher
100+ posts
What coding language is the code for Scratchblocks most similar to?
on mouseDownHyperTalk comes pretty closeWhat does it look like?
put the name of me into oldName
repeat while the mouse is down
if the mouseLoc is within the rect of card button “boundary” then
set the location of me to the mouseLoc
set the name of me to “(” & the mouseLoc & “)”
end if
end repeat
set the name of me to oldName
end mouseDown
- breakfast_for_dinner
-
Scratcher
1000+ posts
What coding language is the code for Scratchblocks most similar to?
and people are saying python looks like pseudo codeon mouseDownHyperTalk comes pretty closeWhat does it look like?
put the name of me into oldName
repeat while the mouse is down
if the mouseLoc is within the rect of card button “boundary” then
set the location of me to the mouseLoc
set the name of me to “(” & the mouseLoc & “)”
end if
end repeat
set the name of me to oldName
end mouseDown
somehow i think it's too simple to resemble scratchblocks
Last edited by breakfast_for_dinner (July 23, 2024 21:39:09)
- TheCreatorOfUnTV
-
Scratcher
1000+ posts
What coding language is the code for Scratchblocks most similar to?
Yeah…that doesn't look like Scratchblocks code.on mouseDownHyperTalk comes pretty closeWhat does it look like?
put the name of me into oldName
repeat while the mouse is down
if the mouseLoc is within the rect of card button “boundary” then
set the location of me to the mouseLoc
set the name of me to “(” & the mouseLoc & “)”
end if
end repeat
set the name of me to oldName
end mouseDown
Last edited by TheCreatorOfUnTV (July 24, 2024 03:30:40)
- horizontal_shading
-
Scratcher
1000+ posts
What coding language is the code for Scratchblocks most similar to?
It is close to Javascript, because the Scratch website is coded in that language.
- Discussion Forums
- » Advanced Topics
-
» What coding language is the code for Scratchblocks most similar to?






