Loading ...
Sorry, an error occurred while loading the content.

Re: [PCGenListFileHelp] Re: [BUG] ADD:CLASSSKILLS fails with skills with ()

Expand Messages
  • david allan finch
    ... Thanks Tir, BTW lots of other script langauges uses escapes to get around these sorts of problems. ie ADD:CLASSSKILLS(Knowledge (Arcana ),Use Magic
    Message 1 of 2 , Jun 28, 2005
    • 0 Attachment
      Tir Gwaith wrote:
      > Ok, tested on 5.8.0
      >
      > 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.

      Thanks Tir,

      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

      Regards
      Dave


      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.