Please do not send email on this ID.

----- Original Message ----
From: Anurag Desai <[EMAIL PROTECTED]>
To: Axapta-Knowledge-Village@yahoogroups.com
Sent: Wednesday, December 26, 2007 8:23:38 AM
Subject: [Axapta-Knowledge-Village] Syntax Error in the ForecastUpdate class

Hi,

In the ForecastUpdate class, I get a Syntax error in the parmSales 
Class

The method looks like this

public boolean parmSales(boolean _sales = sales)
{
sales = _sales;

return sales;
}

No syntax error as i can see. sales is declared as boolean in the 
classdeclaration.

Putting a semicolon in the first line resolves the syntax error.

public boolean parmSales(boolean _sales = sales)
{;
sales = _sales;

return sales;
}

No syntax error.

My question is why does DAX throw an error in this method, when there 
is an identical nearly method parmPurch that does not throw any error?

public boolean parmPurch(boolean _purch = purch)
{
purc = _purch;

return purch;
}

No Syntax error in this method.

Regards
Anurag





      
____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

[Non-text portions of this message have been removed]

Reply via email to