EGL Development User Group

EGL Development User Group

EGL Development User Group

The EGL Development User Group is dedicated to sharing news, knowledge, and insights regarding the EGL language and Business Developer product. Consisting of IBMers, HCL, and users, this community collaborates to advance the EGL ecosystem.

 View Only
  • 1.  Function parameters is not included with content assist

    Posted 08/18/15 01:29 PM

     

    Hi 

    I  want to experience the difference for the same function defined as stand alone function and in Library. 

     

    If the function is from the library, then the information of parameters is clearly displayed with content assist. 

    If the function is from stand alone function (  same file or outside of program) only the function without parameters

    can be selected.  

    Is this defined this way ?  

    One simple complete sample code is attached for your practice. 

     

     

     

     

     

    L.H.Chao


  • 2.  Re: Function parameters is not included with content assist

    Posted 08/19/15 01:48 PM

    Hi Chao,

    I have installed RBD V9.1.1 and imported your project.

    I invoked content assist and it works fine for me.

    stand alone:

    monthlyAmount = CommonFunctions.<ctrl+space>

    monthlyAmount = CommonFunctions.monthlyPayment(principal, rate, years)

    library:

    monthlyAmount = CommonFunctions.<ctrl+space>

    monthlyAmount = CommonFunctions.monthlyPayment(principal, rate, years)

     

    regards,

     

    Hsieh

    Hsieh


  • 3.  Re: Function parameters is not included with content assist

    Posted 08/24/15 07:02 AM

     

    Hi Hsieh

     

    The  stand alone function name is utilityFunctions.calculatePayment 

    Please try to pick up the function by using content assist. 

    In my RBD 9.1.1 environment, I can get only the statement below.( no parameters is included )  

    monthlyAmount = calculatePayment()

    L.H.Chao


  • 4.  Re: Function parameters is not included with content assist

    Posted 08/24/15 08:56 AM

    Hi Chao,

     

    Yes, you're right.  I got the same result.

     

    monthlyAmount = calculatePayment()

    Hsieh