Hi,
Thanks for your answer. The reference to System is set by default in AX 4.0. The problem is not to call a .Net method but to use output parameters. TryParse(string s, out double result). Cordialement, __________________________ Jérôme Piquot Gédimat Wolff-Catenne 6, rue de la Gare 67120 Ernolsheim sur Bruche France Tél : +33 3 88 59 50 60 Fax: +33 1 41 30 17 34 Blog : http://piquot.spaces.live.com/ <http://piquot.spaces.live.com/> __________________________ Google Map pour Gédimat Wolff <http://maps.google.fr/maps?f=q&hl=fr&geocode=&time=&date=&ttype=&q=gedimat+wolff&sll=47.15984,2.988281&sspn=11.460679,20.43457&num=10&ie=UTF8&ll=48.56752,7.646484&spn=0.174254,0.31929&z=12&iwloc=A&om=1> De : Axapta-Knowledge-Village@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Steeve Gilbert Envoyé : lundi 7 janvier 2008 19:37 À : Axapta-Knowledge-Village@yahoogroups.com Objet : [Axapta-Knowledge-Village] Re: Use .Net output parameters You are in Ax 4.0 right? If so, can you Add System as a References in the AOT? regards, Steeve... --- In Axapta-Knowledge-Village@yahoogroups.com <mailto:Axapta-Knowledge-Village%40yahoogroups.com> , Jérôme Piquot <[EMAIL PROTECTED]> wrote: > > Hi, > > I would like to call the static TryParse method (public static bool TryParse(string s, out double result); in System.Double .Net class) from X++. > How can i use num as a .Net output parameter? > > { > str strNum = "123,25"; > real num; > ; > > System.Double::TryParse(nstr, num); > } > > > > Cordialement, > __________________________ > > Jérôme Piquot > > Gédimat Wolff-Catenne > 6, rue de la Gare > 67120 Ernolsheim sur Bruche > France > > Tél : +33 3 88 59 50 60 > Fax: +33 1 41 30 17 34 > Blog : http://piquot.spaces.live.com/ > __________________________ > [Non-text portions of this message have been removed]