Gollum to Programmer [email protected] • 1 year agoI mean it could be righti.imgur.comimagemessage-square19fedilinkarrow-up1270arrow-down116 cross-posted to: [email protected]
arrow-up1254arrow-down1imageI mean it could be righti.imgur.comGollum to Programmer [email protected] • 1 year agomessage-square19fedilink cross-posted to: [email protected]
minus-square@TootSweetlinkEnglish1•edit-21 year agoOh good call! What I was trying to do is more complex than I was thinking. Hmmmmm. int f = TRUE; for (int y = MIN_INT; f || y - 1 < y; y++) { f = FALSE; if (y == x + 1) { x = y; } } (I should just test my code to make sure it works, but I haven’t. Heh.) Also, Lemmy escaped your angle bracket too. Back ticks don’t seem to do the trick. Block: < Inline: < Or were you suggesting back ticks for some other purpose? (I did use back ticks in my first post in this thread.)
minus-square@[email protected]linkfedilink2•1 year agoThe backticks worked in the preview, and showed up correctly to start, but there must be a bug in the lemmy ui, since now it’s double-escaped. No idea /shrug
Oh good call! What I was trying to do is more complex than I was thinking.
Hmmmmm.
int f = TRUE; for (int y = MIN_INT; f || y - 1 < y; y++) { f = FALSE; if (y == x + 1) { x = y; } }
(I should just test my code to make sure it works, but I haven’t. Heh.)
Also, Lemmy escaped your angle bracket too. Back ticks don’t seem to do the trick.
Block: <
Inline: <
Or were you suggesting back ticks for some other purpose? (I did use back ticks in my first post in this thread.)
The backticks worked in the preview, and showed up correctly to start, but there must be a bug in the lemmy ui, since now it’s double-escaped. No idea /shrug