¿ªÔÆÌåÓý

The Pipe Symbol


 


Well, More clarification: I use the /| which works in one line of code but not elsewhere. The two lines are identical (Copy/Paste). One gives me a variable error, one does not.
This section gives me an error. The next one does not.? the last line in both sections are identical. Anyone have any ideas on why one works and the other does not?
;MagBook
1,|LnggW=[Language]| |Lngg1=[Language]| ?[BkPwrCall]
_/[p/] [Description]. It is in [GnrlQlty]%CrftSc%./[/p/]{CR~}
_%SCopen%{CR~}
_- /[b/]Title: /[/b/][Book] {CR~}
_- /[b/]Language: /[/b/]%LnggW% {cr~}
_- /[b/]Weight: /[/b/]%Wgt% pounds {cr~}
_/[subcontainer:57e00750-e3c5-4dd0-a986-6e8920bd8f20/] /[spoiler/] {cr~}
_-- /[b/]Craft SC: /[/b/]%SCQ% {CR~}
_-- /[b/]Value: /[/b/]{Calc~%Val%+%Val2%+%Val3%+%Val4%+%Val5%}go{cr~}
_-- /[b/]Read Time: /[/b/]%Rt% hours {cr~}
_/[/subcontainer/] /|Game Master/[/spoiler/] /[/subcontainer/] /[hr/] {CR~}

This one does not give me an error
# Language written, language is for the dictionary of written to the other
;GenBook
1,|LnggW=[Language]| |Lngg1=[Language]|
_/[/b/][Description]. It is in [Miscellaneous.General Quality] condition.{CR~}
_- The book is written in %LnggW%. {cr~}
_%SCopen% {CR~}
_- [MunBook] {CR~}
_-- /[b/]Weight: /[/b/]%Wgt% pounds {cr~}
_/[subcontainer:57e00750-e3c5-4dd0-a986-6e8920bd8f20/] /[spoiler/] {cr~}
_-- /[b/]Value:/[/b/] {Calc~%Val%+%Val%+%Val2%+%Val3%+%Val4%+%Val5%}go{cr~}
_-- /[b/]Read Time: /[/b/]%Rt% hours {cr~}
_/[/subcontainer/] /|Game Master/[/spoiler/] /[/subcontainer/] /[hr/] {CR~}
On Sunday, May 26th, 2024 at 10:22 AM, Scott via groups.io <SCStokesGaming@...> wrote:

Hi all,

Is there a way to print the pipe symbol?

Scott

On Tuesday, May 21st, 2024 at 1:45 AM, Dara GM via groups.io <DaraGM@...> wrote:
Excellent Idea! Thanks!



 

Apparently if Tablesmith encounters a single unmatched pipe, it will print the pipe. If it encounters a pipe and then a second pipe later on, it will try to interpret them as a variable assignment and will throw an error if it can't. A / to escape doesn't do anything.

In your code that doesn't given an error, do you get a pipe or a slash plus a pipe?

One possible solution is to use the html code &#124; for a pipe.

Erol K. Bayburt
ErolB1@...

On 5/26/2024 11:38 AM, Scott via groups.io wrote:
Well, More clarification: I use the /| which works in one line of code but not elsewhere. The two lines are identical (Copy/Paste). One gives me a variable error, one does not.
*This section gives me an error. The next one does not.? the last line in both sections are identical. Anyone have any ideas on why one works and the other does not?*
;MagBook
1,|LnggW=[Language]| |Lngg1=[Language]| ?[BkPwrCall]
_/[p/] [Description]. It is in [GnrlQlty]%CrftSc%./[/p/]{CR~}
_%SCopen%{CR~}
_- /[b/]Title: /[/b/][Book] {CR~}
_- /[b/]Language: /[/b/]%LnggW% {cr~}
_- /[b/]Weight: /[/b/]%Wgt% pounds {cr~}
_/[subcontainer:57e00750-e3c5-4dd0-a986-6e8920bd8f20/] /[spoiler/] {cr~}
_-- /[b/]Craft SC: /[/b/]%SCQ% {CR~}
_-- /[b/]Value: /[/b/]{Calc~%Val%+%Val2%+%Val3%+%Val4%+%Val5%}go{cr~}
_-- /[b/]Read Time: /[/b/]%Rt% hours {cr~}
_/[/subcontainer/] /|Game Master/[/spoiler/] /[/subcontainer/] /[hr/] {CR~}
This one does not give me an error
# Language written, language is for the dictionary of written to the other
;GenBook
1,|LnggW=[Language]| |Lngg1=[Language]|
_/[/b/][Description]. It is in [Miscellaneous.General Quality] condition.{CR~}
_- The book is written in %LnggW%. {cr~}
_%SCopen% {CR~}
_- [MunBook] {CR~}
_-- /[b/]Weight: /[/b/]%Wgt% pounds {cr~}
_/[subcontainer:57e00750-e3c5-4dd0-a986-6e8920bd8f20/] /[spoiler/] {cr~}
_-- /[b/]Value:/[/b/] {Calc~%Val%+%Val%+%Val2%+%Val3%+%Val4%+%Val5%}go{cr~}
_-- /[b/]Read Time: /[/b/]%Rt% hours {cr~}
_/[/subcontainer/] /|Game Master/[/spoiler/] /[/subcontainer/] /[hr/] {CR~}
On Sunday, May 26th, 2024 at 10:22 AM, Scott via groups.io <SCStokesGaming@...> wrote:
Hi all,

Is there a way to print the pipe symbol?

Scott

On Tuesday, May 21st, 2024 at 1:45 AM, Dara GM via groups.io <DaraGM@...> wrote:
Excellent Idea! Thanks!


 

Thanks for the reply. I get just the pipe, The odd thing is when I tested the blocks they were used exclusively which would mean TS is reading the code despite not using the block, maybe looking for the second pipe. If so, When I switched the location of the two blocks, I would then expect the error to switch places, but it did not.

I have never used Ascii in my code. But I will start now. Thanks again.

Scott

On Sunday, May 26th, 2024 at 3:17 PM, ErolB1 via groups.io <ErolB1@...> wrote:



Apparently if Tablesmith encounters a single unmatched pipe, it will
print the pipe. If it encounters a pipe and then a second pipe later on,
it will try to interpret them as a variable assignment and will throw an
error if it can't. A / to escape doesn't do anything.

In your code that doesn't given an error, do you get a pipe or a slash
plus a pipe?

One possible solution is to use the html code | for a pipe.

Erol K. Bayburt
ErolB1@...

On 5/26/2024 11:38 AM, Scott via groups.io wrote:

Well, More clarification: I use the /| which works in one line of code
but not elsewhere. The two lines are identical (Copy/Paste). One gives
me a variable error, one does not.
This section gives me an error. The next one does not. the last line
in both sections are identical. Anyone have any ideas on why one works
and the other does not?
;MagBook
1,|LnggW=[Language]| |Lngg1=[Language]| [BkPwrCall]
_/[p/] [Description]. It is in [GnrlQlty]%CrftSc%./[/p/]{CR~}
_%SCopen%{CR~}
_- /[b/]Title: /[/b/][Book] {CR~}
_- /[b/]Language: /[/b/]%LnggW% {cr~}
_- /[b/]Weight: /[/b/]%Wgt% pounds {cr~}
_/[subcontainer:57e00750-e3c5-4dd0-a986-6e8920bd8f20/] /[spoiler/] {cr~}
_-- /[b/]Craft SC: /[/b/]%SCQ% {CR~}
_-- /[b/]Value: /[/b/]{Calc~%Val%+%Val2%+%Val3%+%Val4%+%Val5%}go{cr~}
_-- /[b/]Read Time: /[/b/]%Rt% hours {cr~}
_/[/subcontainer/] /|Game Master/[/spoiler/] /[/subcontainer/] /[hr/] {CR~}

This one does not give me an error
# Language written, language is for the dictionary of written to the other
;GenBook
1,|LnggW=[Language]| |Lngg1=[Language]|
_/[/b/][Description]. It is in [Miscellaneous.General Quality]
condition.{CR~}
_- The book is written in %LnggW%. {cr~}
_%SCopen% {CR~}
_- [MunBook] {CR~}
_-- /[b/]Weight: /[/b/]%Wgt% pounds {cr~}
_/[subcontainer:57e00750-e3c5-4dd0-a986-6e8920bd8f20/] /[spoiler/] {cr~}
_-- /[b/]Value:/[/b/] {Calc~%Val%+%Val%+%Val2%+%Val3%+%Val4%+%Val5%}go{cr~}
_-- /[b/]Read Time: /[/b/]%Rt% hours {cr~}
_/[/subcontainer/] /|Game Master/[/spoiler/] /[/subcontainer/] /[hr/] {CR~}
On Sunday, May 26th, 2024 at 10:22 AM, Scott via groups.io
SCStokesGaming@... wrote:

Hi all,

Is there a way to print the pipe symbol?

Scott

On Tuesday, May 21st, 2024 at 1:45 AM, Dara GM via groups.io
DaraGM@... wrote:

Excellent Idea! Thanks!