I have now made a simpel class just to try and use the functionality
in axapta but when i call it from product builder it just says object
xx is not initialized. The example is placed here under:


[Class]
public class xx
{
int x;
int y;

}

[Method]
public void Xmethod(int a, int b)
{
x=a; //Initializing here i suppose
y=b;

int c;

c=x+y;
}

[method 2]

int Omethod()
{
return c;
}

i assume that i can call the method in product builder as this ( i
made a class variable named A):

A.Xmethod(4,5);

and by calling method 2 you would get the answer:

Answer = A.Omethod();

Can any one help ?






------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/kGEolB/TM
--------------------------------------------------------------------~-> 

Sharing the knowledge on Axapta. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Axapta-Knowledge-Village/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to