HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · 23 hours agoMom can we have Scratch? We have scratch at home. Scratch at home:lemmy.mlimagemessage-square28fedilinkarrow-up1392arrow-down13cross-posted to: [email protected]
arrow-up1389arrow-down1imageMom can we have Scratch? We have scratch at home. Scratch at home:lemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · 23 hours agomessage-square28fedilinkcross-posted to: [email protected]
minus-squarenotabot@lemm.eelinkfedilinkarrow-up4arrow-down1·19 hours agoHave they #defined out the equals symbol? I don’t think that for loop is going to compile.
minus-squareSteveTech@programming.devlinkfedilinkEnglisharrow-up20·19 hours agoThe symbol they defined out is not the equals symbol but rather U+2550, so the for loop is fine.
minus-squarenotabot@lemm.eelinkfedilinkarrow-up1·19 hours agoThe #define = line would mean the = would be effectively removed, rendering the for a syntax error. That is, assuming it is an equals sign they’ve redefined, and not similar looking character.
minus-squarelime!@feddit.nulinkfedilinkEnglisharrow-up9·edit-219 hours agothat’s not a =, it’s a ═ (U+2550 BOX DRAWINGS DOUBLE HORIZONTAL). you can tell because == doesn’t connect but ══ does.
minus-squarenotabot@lemm.eelinkfedilinkarrow-up2·19 hours agoFair point, I wasn’t sure it was the equals, hence my initial question. Drawing boxes with the box drawing characters does make a lot more sense.
minus-square_____@lemm.eelinkfedilinkEnglisharrow-up1·19 hours agoIt looks like a different symbol of you were to compare the characters length in pixels the equals and the horizontal double bars seem different to me.
Have they
#define
d out the equals symbol? I don’t think thatfor
loop is going to compile.The symbol they defined out is not the equals symbol but rather U+2550, so the for loop is fine.
why not? looks fine
The
#define =
line would mean the=
would be effectively removed, rendering thefor
a syntax error. That is, assuming it is an equals sign they’ve redefined, and not similar looking character.that’s not a =, it’s a ═ (
U+2550 BOX DRAWINGS DOUBLE HORIZONTAL
). you can tell because == doesn’t connect but ══ does.Fair point, I wasn’t sure it was the equals, hence my initial question. Drawing boxes with the box drawing characters does make a lot more sense.
It looks like a different symbol of you were to compare the characters length in pixels
the equals and the horizontal double bars seem different to me.