Hello Giray,
May be, you will use container
for example
static void ew_Job1(Args _args)
{
container c;
int i;
container getParameters()
{
container ret;
real n;
;
for (n = 1; n 10; n++)
{
ret += n;
}
Hi,
I did not see this being mentioned in the Developer's
Guide. However, the compiler does not seem to be
allowing it. Does anyone have any idea?
Thanks,
Giray
__
Do you Yahoo!?
The all-new My Yahoo! - Get yours free!
http://my.yahoo.com
Sure it can :
array getMeAnArrayOfReal(){
return new array(types::Real);
}
Steeve...
-Message d'origine-
De : Giray Simsek [mailto:[EMAIL PROTECTED]
Envoyé : 2 février 2005 13:51
À : Axapta-Knowledge-Village@yahoogroups.com
Objet : [Axapta-Knowledge-Village] Can a method in X++
Thank you. In this case, we are returning an instance
of the array class. I was trying to figure out if a
method signature like:
real[] getMeAnArrayOfReal()
{
}
--- Steeve Gilbert [EMAIL PROTECTED]
wrote:
Sure it can :
array getMeAnArrayOfReal(){
return new array(types::Real);
}
Thank you. In this case, we are returning an instance
of the array class though. I was trying to figure
out if a method signature similar to the below was
allowed or not (similar to C# notation):
real[] getMeAnArrayOfReal()
{
real as[10];
return as;
}
The X++ compiler does not like the
5 matches
Mail list logo