@[email protected] to Programmer [email protected]English • 1 day agoMom can we have Scratch? We have scratch at home. Scratch at home:lemmy.mlimagemessage-square27fedilinkarrow-up1412arrow-down14cross-posted to: [email protected]
arrow-up1408arrow-down1imageMom can we have Scratch? We have scratch at home. Scratch at home:lemmy.ml@[email protected] to Programmer [email protected]English • 1 day agomessage-square27fedilinkcross-posted to: [email protected]
minus-square@[email protected]linkfedilink3•1 day agoHave they #defined out the equals symbol? I don’t think that for loop is going to compile.
minus-square@[email protected]linkfedilinkEnglish22•1 day agoThe symbol they defined out is not the equals symbol but rather U+2550, so the for loop is fine.
minus-square@[email protected]linkfedilink0•1 day 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!linkfedilinkEnglish14•edit-21 day agothat’s not a =, it’s a ═ (U+2550 BOX DRAWINGS DOUBLE HORIZONTAL). you can tell because == doesn’t connect but ══ does.
minus-square@[email protected]linkfedilink3•1 day 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@[email protected]linkfedilinkEnglish1•1 day 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.