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

OS - carriage returns in output

Expand Messages
  • Dave
    ... |STAT.%stat| |STAT.%stat.MOD| ...
    Message 1 of 4 , Apr 4, 2007
    • 0 Attachment
      I have the following code in a custom output sheet:

      |FOR,%stat,0,COUNT[STATS]-1,1,1|
      |IIF(STAT.%stat.NAME:DVR)|
      |IIF(HASVAR:Deity)|
      <node name="|STAT.%stat.NAME|">|STAT.%stat|</node>
      <node name="|STAT.%stat.NAME|Mod">|STAT.%stat.MOD|</node>
      |ENDIF|
      |ELSE|
      <node name="|STAT.%stat.NAME|">|STAT.%stat|</node>
      <node name="|STAT.%stat.NAME|Mod">|STAT.%stat.MOD|</node>
      |ENDIF|
      |ENDFOR|

      as you can see, I've pretty much borrowed it straight from the fantasy
      standard OS, but this is the output I'm getting:

      <node name="STR">17</node> <node name="STRMod">+3</node>
      <node name="DEX">16</node> <node name="DEXMod">+3</node> <node
      name="CON">15</node> <node name="CONMod">+2</node> <node
      name="INT">12</node> <node name="INTMod">+1</node> <node
      name="WIS">17</node> <node name="WISMod">+3</node> <node
      name="CHA">10</node> <node name="CHAMod">+0</node>

      my question is - do I have to put a special character in someplace to
      get a CR/LF after each node in the output?
    • James Dempsey
      Hi Dave, On 5/04/2007 5:07 AM Dave wrote ... Try putting a |BR| tag at the end of your node lines. That should do the trick. -- Cheers, James Dempsey PCGen
      Message 2 of 4 , Apr 4, 2007
      • 0 Attachment
        Hi Dave,

        On 5/04/2007 5:07 AM Dave wrote
        > I have the following code in a custom output sheet:
        >
        > |FOR,%stat,0,COUNT[STATS]-1,1,1|
        > |IIF(STAT.%stat.NAME:DVR)|
        > |IIF(HASVAR:Deity)|
        > <node name="|STAT.%stat.NAME|">|STAT.%stat|</node>
        > <node name="|STAT.%stat.NAME|Mod">|STAT.%stat.MOD|</node>
        > |ENDIF|
        > |ELSE|
        > <node name="|STAT.%stat.NAME|">|STAT.%stat|</node>
        > <node name="|STAT.%stat.NAME|Mod">|STAT.%stat.MOD|</node>
        > |ENDIF|
        > |ENDFOR|
        >
        > as you can see, I've pretty much borrowed it straight from the fantasy
        > standard OS, but this is the output I'm getting:
        >
        > <node name="STR">17</node> <node name="STRMod">+3</node>
        > <node name="DEX">16</node> <node name="DEXMod">+3</node> <node
        > name="CON">15</node> <node name="CONMod">+2</node> <node
        > name="INT">12</node> <node name="INTMod">+1</node> <node
        > name="WIS">17</node> <node name="WISMod">+3</node> <node
        > name="CHA">10</node> <node name="CHAMod">+0</node>
        >
        > my question is - do I have to put a special character in someplace to
        > get a CR/LF after each node in the output?
        >
        >
        Try putting a |BR| tag at the end of your node lines. That should do the
        trick.

        --
        Cheers,
        James Dempsey
        PCGen Code SB
      • Dave
        ... the ... I just tried it... no change in the result. :(
        Message 3 of 4 , Apr 4, 2007
        • 0 Attachment
          --- In pcgen@yahoogroups.com, James Dempsey <jdempsey@...> wrote:
          >
          > Try putting a |BR| tag at the end of your node lines. That should do
          the
          > trick.
          >


          I just tried it... no change in the result. :(
        • Terry FitzSimons
          Personally, don t know, but you might ask on PcGen Experimental at PcGen_Experimental@yahoogroups.com. Terry ... -- Terry FitzSimons
          Message 4 of 4 , Apr 4, 2007
          • 0 Attachment
            Personally, don't know, but you might ask on PcGen Experimental at
            PcGen_Experimental@yahoogroups.com.

            Terry

            On Wed, 04 Apr 2007 19:07:44 -0000, "Dave" <roninkelt@...> wrote:

            >I have the following code in a custom output sheet:
            >
            >|FOR,%stat,0,COUNT[STATS]-1,1,1|
            >|IIF(STAT.%stat.NAME:DVR)|
            >|IIF(HASVAR:Deity)|
            > <node name="|STAT.%stat.NAME|">|STAT.%stat|</node>
            > <node name="|STAT.%stat.NAME|Mod">|STAT.%stat.MOD|</node>
            >|ENDIF|
            >|ELSE|
            > <node name="|STAT.%stat.NAME|">|STAT.%stat|</node>
            > <node name="|STAT.%stat.NAME|Mod">|STAT.%stat.MOD|</node>
            >|ENDIF|
            >|ENDFOR|
            >
            >as you can see, I've pretty much borrowed it straight from the fantasy
            >standard OS, but this is the output I'm getting:
            >
            > <node name="STR">17</node> <node name="STRMod">+3</node>
            ><node name="DEX">16</node> <node name="DEXMod">+3</node> <node
            >name="CON">15</node> <node name="CONMod">+2</node> <node
            >name="INT">12</node> <node name="INTMod">+1</node> <node
            >name="WIS">17</node> <node name="WISMod">+3</node> <node
            >name="CHA">10</node> <node name="CHAMod">+0</node>
            >
            >my question is - do I have to put a special character in someplace to
            >get a CR/LF after each node in the output?
            --

            Terry FitzSimons
            FITZSIMONS@...(Small Letters Only)

            Data Lemur, Docs Gibbon
          Your message has been successfully submitted and would be delivered to recipients shortly.