Quantcast
Channel: Microsoft Dynamics Ax
Viewing all articles
Browse latest Browse all 181

Execute External X++ File

$
0
0


static void ExecuteExternalX++File(Args _args)
{
    TextBuffer  textBuffer;
    XppCompiler xppCompiler = new XppCompiler();
    Source source;
    textBuffer  = new TextBuffer();
    textBuffer.fromFile(@"C:\\Users\\toto\\Desktop\\codeX++file.txt");
    source  = textBuffer.getText();  
    if (!xppCompiler.compile(source))
    error (xppCompiler.errorText());
    runbuf(source);
}


Viewing all articles
Browse latest Browse all 181

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>