Book a Demo

Author Topic: Q about generating comma seperated params in RTF  (Read 2463 times)

BenM

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Q about generating comma seperated params in RTF
« on: June 13, 2005, 02:58:52 am »
Hi,
I am trying to generate an RTF report with the parameter list seperated by commas. I want to end up with something like

public void methodname (type1 param1, type2 param2)
and I am using something like the following:

method >





{Meth.Scope} {Meth.Static}{Meth.Const}{Meth.Pure}{Meth.Type}{Meth.Name} (parameter >
{MethParameter.Type} {MethParameter.Name}, < parameter)

{Meth.Notes}

< method

The problem is I always have  trailing comma if I have one or more parameters. Does anyone know how to stop this happening?