Thanks Onno that really helps me :))

Is this the way the product builder does it?
Thanks
James

-----Original Message-----
From: onnobid [mailto:[EMAIL PROTECTED]
Sent: 03 March 2005 17:30
To: development-axapta@yahoogroups.com
Subject: [development-axapta] Re: Product builder, how to execute user
entered X++




Hi,

try this:

static void Job51(Args _args)
{
    XppCompiler XppComp = new XppCompiler();
    str         XppSrc  = "void Box(str Text) {;box::info(Text);}";

    XppComp.compile(XppSrc);
    XppComp.execute("Hi");
}

or this:

static void Job52(Args _args)
{
    str XppSrc = "void Box(str Text) {;box::info(Text);}";

    runbuf(XppSrc, "Hi");
}

Note: Source must not exceed 64K!

Regards,
Onno








Yahoo! Groups Sponsor     

ADVERTISEMENT

<http://us.ard.yahoo.com/SIG=129epdps6/M=298184.6018725.7038619.3001176/D=gr
oups/S=1705006764:HM/EXP=1109925399/A=2593423/R=0/SIG=11el9gslf/*http://www.
netflix.com/Default?mqso=60190075> click here     

<http://us.adserver.yahoo.com/l?M=298184.6018725.7038619.3001176/D=groups/S=
:HM/A=2593423/rand=994282163>      


  _____ 

Yahoo! Groups Links


*      To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
 

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

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




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





Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to