Page 2 of 2

Re: smd reference page rebuilt

Posted: 21 Jul 2010, 01:13
by CarRepairer
If you choose to follow my suggestion, you could then replace your existing [0,1] with [0|1].

Re: smd reference page rebuilt

Posted: 21 Jul 2010, 01:36
by zwzsg
enetheru wrote:I was thinking more regex expression myself
Please, would someone think of the lesser nerds of us?

regex are sure a great thing, but not that friendly to mentally decode for the average human. Try to follow the same conventions as in other wiki pages. (exemple)

Re: smd reference page rebuilt

Posted: 21 Jul 2010, 01:43
by CarRepairer
zwzsg wrote:
enetheru wrote:I was thinking more regex expression myself
Please, would someone think of the lesser nerds of us?

regex are sure a great thing, but not that friendly to mentally decode for the average human. Try to follow the same conventions as in other wiki pages. (exemple)
In your other wiki link there is no example he can use for range. That's why I recommended [-1,1] as range and [0|1] for discrete values.

Re: smd reference page rebuilt

Posted: 21 Jul 2010, 02:42
by zwzsg
CarRepairer wrote:In your other wiki link there is no example he can use for range.

Code: Select all

 possible values for facing are:
   "south" | "s" | 0
   "east"  | "e" | 1
   "north" | "n" | 2
   "west"  | "w" | 3
Ah right, that's discrete values, not range. :?

Re: smd reference page rebuilt

Posted: 21 Jul 2010, 04:22
by enetheru
CarRepairer wrote:
zwzsg wrote:
enetheru wrote:I was thinking more regex expression myself
Please, would someone think of the lesser nerds of us?

regex are sure a great thing, but not that friendly to mentally decode for the average human. Try to follow the same conventions as in other wiki pages. (exemple)
In your other wiki link there is no example he can use for range. That's why I recommended [-1,1] as range and [0|1] for discrete values.
I like that. its quite clear. I will use it :)