Home RAP

Default parameters on Passthru functions

edited November 2012 in RAP
Hi there,

Is it possible to create a passthru function with default\optional parameter
?

e.g.

function CanItBeDone (Param1:String; Param2:Double ; Param3 : Boolean =
true):Boolean;


in my RAP Code, I should be able to simply call:

CanItBeDone('foo',1)

or

CanItBeDone('foo2',2,false)


without ReportBuilder complaining about the 3rd parameter missing.

Thanks

Peter

Comments

  • edited November 2012
    Hi Peter,

    Default parameters are not supported for RAP pass-thru functions. This
    is a feature we will consider researching for a later release of
    ReportBuilder.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.