In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

Does Xailer support console applications?

Xailer professional forum in English
DC
Posts: 56
Joined: Mon May 16, 2011 6:06 pm

Does Xailer support console applications?

Postby DC » Mon Jan 21, 2019 6:08 pm

Hi,

My original question was whether we can take some console environment code, that doesn't have any third party references, and debug it in the Xailer IDE.

It looks like the answer is yes, but it's not clear how to call a console function.

So for example to test the debugger,


Procedure Main()

Application:cTitle := "ConsoleTest"
ConsoleTest()
Application:Run()

Return


Function ConsoleTest

? "Single Step 1"

? "Single Step 2"

? "Single Step 3"

Return .t.


, but the reference to ConsoleTest() disappears, as soon as you try to compile and run the application.
DC
Posts: 56
Joined: Mon May 16, 2011 6:06 pm

Re: Does Xailer support console applications?

Postby DC » Mon Jan 21, 2019 7:53 pm

Ok, I got the thing built. But it doesn't work as expected. You can debug through the code, but when you run it on a windows command line, it doesn't show anything.

If there are some particular settings that need to be populated, please let me know, thanks.

Return to “English”

cron