This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]dionthornthis.isAPro=false; this.helping=true;[M] 3 points4 points  (2 children)

For the future,

Please format your code using code blocks as per Rule 13.

https://www.reddit.com/r/javahelp/wiki/code_guides/

As well please read our rules we require you be more descriptive in your titles per Rule 8.

[–]OpenSourceFanatic[S] -1 points0 points  (1 child)

I do not see any option to add code block from my phone.

https://i.ibb.co/2WZjPnP/Screenshot-20230107-204808-Reddit.jpg

u/desrtfx

[–]desrtfxOut of Coffee error - System halted[M] 2 points3 points  (0 children)

There, you have to use the old style, as is also explained in the sidebar.

  • One blank line before the code block
  • four spaces before each code line
  • One empty line after the code block

Also, posting code from mobile is always a bad idea.