icosahedron152
 member, 891 posts
Wed 8 Aug 2018
at 16:19
Advice: (not so) Easy Tables
Iíve attempted the following Easy Table:
GradeSupport Factor
Barren"<5 persons per sq mile0A
Poor"20 persons per sq mile1A
Average"40 persons per sq mile2A
Populous"80 persons per sq mile4A

But Iíve had to add quotation marks into the second column, otherwise it assumes the leading numerals are width commands, and produces this:
GradeSupport Factor
Barrenpersons per sq mile0A
Poorpersons per sq mile1A
Averagepersons per sq mile2A
Populouspersons per sq mile4A

However, the following table has leading numerals in both columns, yet neither of them are interpreted as width commands:
SpendPrestige Gain
2W1D3P
4W1D6P
8W2D6P
Can anyone explain what is going on, why the system misinterprets numerals in one table but not the other, and how I can put numerals in my columns without the table misinterpreting them as width commands?

Edit: In the process of posting this query, I've discovered that replacing the quotation marks with spaces gives the desired result:
GradeSupport Factor
Barren<5 persons per sq mile0A
Poor20 persons per sq mile1A
Average40 persons per sq mile2A
Populous80 persons per sq mile4A
But it still doesn't explain why the small table is not misinterpreted.
bigbadron
 moderator, 15632 posts
 He's big, he's bad,
 but mostly he's Ron.
Wed 8 Aug 2018
at 16:29
Advice: (not so) Easy Tables
Notice that in the final column of your table, the leading numerals do not get interpreted as width commands.  At a guess (and I'm no expert) I'd say that perhaps the difference is the space between the numerals and the following characters.
swordchucks
 member, 1517 posts
Wed 8 Aug 2018
at 16:36
Re: Advice: (not so) Easy Tables
EDIT2: Note that it is grabbing everything from the bar to the first space and seeing if it is a command. If it is a valid command or series of commands, it gets interpreted. If it isn't, then it doesn't.

GradeSupport Factor
Barren<5 persons per sq mile0A
Poor20 persons per sq mile1A
Average40 persons per sq mile2A
Populous80 persons per sq mile4A

EDIT: I see your edit figured the same thing out. It is just the way the interpreter works. If you have a command smushed up against the bar, it is going to read it as a command.

Add a space?

GradeSupport Factor
Barren5persons per sq mile0A
Poor20persons per sq mile1A
Average40persons per sq mile2A
Populous80persons per sq mile4A

This message was last edited by the user at 16:42, Wed 08 Aug.

MalaeDezeld
 member, 81 posts
Wed 8 Aug 2018
at 16:39
Re: Advice: (not so) Easy Tables
That exactly what the help said about easy table:
RPoL help (easytable)

quote:
Characters immediately after each pipe affect the display of the cell.


And I believe that the third example isn't affected because the parser can not interpreted in any meaningful way (for the parser).
icosahedron152
 member, 892 posts
Wed 8 Aug 2018
at 18:22
Re: Advice: (not so) Easy Tables
Right. So it's all about spaces.

It interprets numbers "immediately after the pipe and followed by a space" as a command.

So to avoid that, I either need a space before the number, or no space after it.

Thanks folks. Not immediately obvious, but I can work with that. :)