Empty parameter method generation

For discussion of the xlw project for producing xlls.

Empty parameter method generation

Postby Pushpendu » Mon Jan 26, 2015 4:03 pm

Hi ,
I am new to XLW and trying to create a new empty parameter method and the code generator is not able to generate the code properly.

//header
double //get prop value
getProp(void // no param
);

//impl
double //get prop value
getProp(void
)
{
DataConfiguration config;
string prop = config.getProperty("Last2YrDivideBy100");
return 0;
}


generated header file part

double // get prop value
mxlw_getProp (
Pushpendu
 
Posts: 2
Joined: Thu Sep 11, 2014 12:50 am

Re: Empty parameter method generation

Postby mj » Wed Jan 28, 2015 11:40 pm

have you tried just putting


double //get prop value
getProp(
);


in the header
?
mj
Site Admin
 
Posts: 1380
Joined: Fri Jul 27, 2007 7:21 am


Return to xlw

Who is online

Users browsing this forum: No registered users and 1 guest

cron