Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Programmer Humor
  3. Mom can we have Scratch? We have scratch at home. Scratch at home:

Mom can we have Scratch? We have scratch at home. Scratch at home:

Scheduled Pinned Locked Moved Programmer Humor
programmerhumor
8 Posts 6 Posters 3 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • hiddenlayer555@lemmy.mlH This user is from outside of this forum
    hiddenlayer555@lemmy.mlH This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #1
    This post did not contain any content.
    S S N 3 Replies Last reply
    1
    423
    • hiddenlayer555@lemmy.mlH [email protected]
      This post did not contain any content.
      S This user is from outside of this forum
      S This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #2

      My employer's CI rejects extended ASCII characters 😞

      G 1 Reply Last reply
      9
      • hiddenlayer555@lemmy.mlH [email protected]
        This post did not contain any content.
        S This user is from outside of this forum
        S This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #3

        You could do this in basic ASCII, with only three defines. replace "_ " with "{", replace "_;" with "}", and "_" with nothing. If your compiler processes macros in the correct order, it will become valid code. (You would use semicolons as the vertical lines)

        1 Reply Last reply
        8
        • hiddenlayer555@lemmy.mlH [email protected]
          This post did not contain any content.
          N This user is from outside of this forum
          N This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #4

          Have they #defined out the equals symbol? I don't think that for loop is going to compile.

          lime@feddit.nuL 1 Reply Last reply
          2
          • N [email protected]

            Have they #defined out the equals symbol? I don't think that for loop is going to compile.

            lime@feddit.nuL This user is from outside of this forum
            lime@feddit.nuL This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #5

            why not? looks fine

            N 1 Reply Last reply
            2
            • lime@feddit.nuL [email protected]

              why not? looks fine

              N This user is from outside of this forum
              N This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #6

              The #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.

              lime@feddit.nuL 1 Reply Last reply
              1
              • N [email protected]

                The #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.

                lime@feddit.nuL This user is from outside of this forum
                lime@feddit.nuL This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #7

                that's not a =, it's a ═ (U+2550 BOX DRAWINGS DOUBLE HORIZONTAL). you can tell because == doesn't connect but ══ does.

                1 Reply Last reply
                12
                • System shared this topic on
                • S [email protected]

                  My employer's CI rejects extended ASCII characters 😞

                  G This user is from outside of this forum
                  G This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #8

                  Really? You never use the occasional   or something?

                  Edit: my client actually parses the space lol

                  1 Reply Last reply
                  5
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups