Forum upgrade


Author Message
Gizmo

Admin Group

Joined: 05/06/2004
Location: Australia
Posts: 5154
Posted: 04:16am 09 Aug 2019      

  TassyJim said  Backslash oddities:


The forum is having problems with the backslash.

Using double backslash
dd(0)=encodeDigit(d(0)\1000)
dd(1)=encodeDigit(d(1)\100)
dd(2)=encodeDigit(d(2)\10)

Using single backslash
dd(0)=encodeDigit(d(0)1000)
dd(1)=encodeDigit(d(1)100)
dd(2)=encodeDigit(d(2)10)


It works OK in the preview but not when saving the post.
It causes problems when the backslash is used in code

Jim


That backslash is proving difficult to deal with. Its used as a escape character, and the next character is what's escaped. If you put a space between them, its fine.

In that example, are you using the \ as a divide symbol?
Edited 2019-08-09 14:16 by Gizmo
The best time to plant a tree was twenty years ago, the second best time is right now.
JAQ