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

Re: [PCGenListFileHelp] [Trackered] Re: Variable assignment?

Expand Messages
  • Andrew Maitland
    1816811 Variable Assignment ... -- -- Andrew Maitland Data
    Message 1 of 8 , Oct 19, 2007
    • 0 Attachment
      1816811 Variable Assignment
      <http://sourceforge.net/tracker/index.php?func=detail&aid=1816811&group_id=25576&atid=748297>

      Tom Parker wrote:
      > TM FREQ this please, since it seems like a handy thing to do someday
      > when we address complexity in the OS.
      >
      > --- In PCGenListFileHelp@yahoogroups.com, "chuck_hazard"
      > <chuck.hazard@...> wrote:
      >
      >> Thanks for your responses. That was exactly what I did to generate
      >> the columns I was after, but then I ran against a brick wall in
      >> omitting the zero sum skills without tons of extra work.
      >>
      >> Anyway thanks for your help!
      >>
      >> |FOR,%num,0,COUNT[SKILLS],4,1|
      >> |FOR,%nu2,(%num+1),(%num+1),1,0|
      >> |SUB10.SKILL.%num| ... omitted for sanity ...
      >> |ENDFOR|
      >> |ENDFOR|
      >>
      >>
      >> --- In PCGenListFileHelp@yahoogroups.com, Eddy Anthony <eddyba@> wrote:
      >>
      >>> chuck_hazard wrote:
      >>>
      >>>> --- In PCGenListFileHelp@yahoogroups.com, Eddy Anthony <eddyba@>
      >>>>
      >> wrote:
      >>
      >>>>
      >>>>
      >>>>> chuck_hazard wrote:
      >>>>>
      >>>>>
      >>>>>> Does the character sheet language allow for variable assignment?
      >>>>>>
      >>>>>>
      >>>>>>
      >>>>> Not sure what you mean. What are you trying to do?
      >>>>>
      >>>>> --
      >>>>> ~ Eddy Anthony (MoSaT)
      >>>>> ~ PCGen BoD, Data Content Second, Doc Chimp, OS Tamarin
      >>>>>
      >>>>>
      >>>>>
      >>>> First I'll state my ultimate goal, in case theres a better way to
      >>>>
      >> do this.
      >>
      >>>> I want to generate a list of skills, excluding any skills that
      >>>>
      > have a
      >
      >>>> TOTAL of 0. I want to generate it in 2 columns, and I want to do it
      >>>> in text instead of html. (I know using html would make it
      >>>>
      > easier, but
      >
      >>>> I am trying to avoid it.)
      >>>>
      >>>> FOR. and DFOR. wont work because afaik they don't allow line returns
      >>>> as their end-of-line field.
      >>>>
      >>>> I can do this manually with a FOR, loop, but I think I need variable
      >>>> assignment like so:
      >>>>
      >>>> VAR.x = 1
      >>>> Var.x = Var.x + 1
      >>>>
      >>>> Thats what I mean by variable assignment. I want to create
      >>>>
      > variables
      >
      >>>> unrelated to the input character data and use them and change them.
      >>>>
      >>>>
      >>> The only way I know to do that is using the variable created in
      >>>
      > the FOR
      >
      >>> token itself. Outside of that I don't think you can create and
      >>> manipulate variables in the OS.
      >>>
      >>> --
      >>> ~ Eddy Anthony (MoSaT)
      >>> ~ PCGen BoD, Data Content Second, Doc Chimp, OS Tamarin
      >>>
      >>>
      >
      >
      >
      >
      >
      > Yahoo! Groups Links
      >
      >
      >
      >
      >

      --
      -- Andrew Maitland
      Data Gibbon, Tracker Gibbon, Docs Lemur
      "Quick-Silverback Tracker Monkey"



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