did u try putting ; on first line in the setCounter() method?
whateveritis setCounter()
{
;
counter = 100;
}may be this will work.
regards
harry
-----Original Message----- From: waikeat99 [mailto:[EMAIL PROTECTED] Sent: Tuesday, 9 September 2003 6:53 p.m. To: [EMAIL PROTECTED] Subject: [development-axapta] variable assignment problem
hi...does anyone know why i cant assign value to the variable.i have a class, and in the classDeclaration method, i write int counter;
then i have another method named setCounter(), and it only has 1 line: counter = 100;when the setCounter() method is called from main
(), it shows the error message "Wrong argument types in variable assignment" Does anyone know how to solve this problem?
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Yahoo! Groups Sponsor
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

