Re: Translate from Pascal to Euphoria
- Posted by CChris <christian.cuvier at agriculture.gouv.fr> Jun 04, 2007
- 614 views
<snipped/> > > I could do the translate, but I have many doubts, like: > 1) how can I pass parameters through command line when I run the Euphoria > program? > 2) how can I pass (and receive, of course) parameters between procedures? > 3) how can I may convert memory variable from Pascal to Euphoria? > 4) how can I open and read a txt file, puting data into variables? > 5) how can I write a txt file? > 6) in Euphoria, is there an exe file, since Euphoria is a interpreted > language? Can I call it from a Visual Fox Pro aplication? > The translation should answer most of these, xcept that: a/ Eu doesn't have pass by reference clls, so that var parameters could proe tricky to translate; b/ you can either bind/translate your Eu program to get a regular .exe. You can also call ex.exe from your application, passing it the name of the program to execute, including the parameters passed to it. CChris