Page 1 sur 1

Interfacing Visual Basic with XCas

Publié : ven. oct. 13, 2006 4:28 pm
par Andrew Glassby
Could someone explain how I might interface Visual Basic (actually NSBasic) on my PDA with XCas? I'm lost I guess I have to stream the information into Cas.txt and then retrieve the result from Out.txt. But how do I get Cascore.exe to do its thing?

Kindest Regards

Andrew

Publié : sam. oct. 14, 2006 10:10 am
par parisse
It depends which executable you are using. I can somehow answer if you are using cas.exe from xcasce.zip (on Xcas webpage). The binary cas.exe reads input from Cas.txt and outputs to Out.txt, so from your program you have to write to the file Cas.txt, run cas.exe, wait until it finishes and process the output. This is crude, so maybe you should look at how statsnow handles this and maybe ask its author.
http://statsnow.net/Symbolic/