October 31, 2025, 11:52:46 AM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


Run Code

Started by Asmodeus, September 22, 2008, 07:07:26 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Asmodeus

Hi Everyone,

I am new to Emergence BASIC, and wanted to test some code I wrote but it will not let me run it. I am able to make an exe and run it, but that is not a practical way to test. The execute icon (f4) is greyed out. Any help would be appreciated.

-Asmodeus

billhsln

Have you tried compiling it in DEBUG mode and the running it?  In DEBUG mode you can put stop points and there is a way to send messages to the screen with values.  I don't use it much, but there is more documentation on it in the Help screens.

Bill
When all else fails, get a bigger hammer.

Asmodeus

Well the only options I have are single build or make exe, the debug feature is greyed out also. Creative Basic is working ok though.

Asmodeus

TonyMUK

You need to tick the Debug Build box in the project options. This will build the EXE in debug mode which will then include any debug statements you have in your program. The ones I use are DEBUG PRINT and STOP. Haven't looked to see if there are any others.
Check out www.arnoldchiari.co.uk. If you don't know what Arnold Chiari is you are very lucky.

LarryMc

CBasic and EBasic are different.

CBasic allows you to run a program before you compile it.

EBasic does not.  You have to compile it in some fashion before it will run.

Larry
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

Asmodeus

Hi Larry,

Thanks for the info.

So I assume that you would need to compile before you debug also then?

-Asmodeus

Ionic Wind Support Team

That is why it is called a "compiler" and not an "interpreter".  Once creates fast executables and the other runs the code using a runtime, much slower.
Ionic Wind Support Team