Coder Social home page Coder Social logo

Comments (2)

samtupy avatar samtupy commented on August 21, 2024

Hi,
So there should only be one case of this, and bgt actually suffers the same issue. If you compile a script specifically without an entry point (void main or int main), the app will compile as there are no actual syntax errors in your code, but then the engine errors out because it can't call a specific function in the compiled code.
It does seem like it would be better user interface indeed however to do a check for the main function as part of the compilation process as well, so we can certainly do that in the future.
If there is another case you know about that can generate this behavior, can you please post an example script?
Thanks.

from nvgt.

peter1384 avatar peter1384 commented on August 21, 2024

it can be anything, for example, follow the steps below.
in nvgt
1: press application on music.nvgt, which is inside the inclood folder, and compile it as releace for example
2: you will see that it showes a dialog box saying the script has been compiled and saved in blaablaablaa, and then we have a music.exe file added in there
3: press enter on music.exe, you'll see compilation error dialog appearing
in bgt
1: try to compile logger.bgt or form.bgt or whatever file inside the inclood folder as releace or debug doesn't matter, and you'll see that it gives compilation error and doesn't compile, and doesn't give you the exe file from that script all.
in steps above, bgt does the correct job and nvgt should become like bgt in this case. Hopefully I was clear and specific enough
Thanks

from nvgt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.