Re: [PCGenListFileHelp] Re: [BUG] ADD:CLASSSKILLS fails with skills with ()
- Tir Gwaith wrote:
> Ok, tested on 5.8.0Thanks Tir,
> ADD:CLASSSKILLS(Knowledge (Arcana),Use Magic Device)1
> fails - no error report, just no function
> ADD:CLASSSKILLS(Use Magic Device)1
> works fine, presenting only one choice, of course.
> You can put any skill with () in the name, and it fails. Nothing in
> console, debug window, nada.
BTW lots of other script langauges uses escapes to get around these
sorts of problems. ie
ADD:CLASSSKILLS(Knowledge \(Arcana\),Use Magic Device)1
Perl allows you to change the surrounding () in some cases. ie
ADD:CLASSSKILLS[Knowledge (Arcana),Use Magic Device]1
Other languages require "" around inner fields with " escaped.
ADD:CLASSSKILLS("Knowledge (Arcana)","Use Magic Device")1
[Non-text portions of this message have been removed]