Menu

Hex compiler, sometimes closes, sometimes not ???

Help
Paul Haug
2017-03-15
2017-03-15
  • Paul Haug

    Paul Haug - 2017-03-15

    Sometimes the HEX compiler closes automatically, other times I have to close it manually. It all depends on which program of mine I am HEXing(?). What in my programs causes this ? The hex compiler always seems to be reporting “Internal error in TypeOfError” but then reports “Program assembled correctly!” on completion, which I can down load and it works.

    One more problem, more curiosty than a real problem:
    I always keep a copy of my last code as I make additions or modifications. Recently I modified my code and it wouldn't run correctly, so I carefully backed out my changes and it still wouldn't run. Checked old code that ran properly against the new code line for line, char for character, compiled fine but fails to run properly. So copied a previous code, made it the same for new code, and it runs properly.
    I suspect during editing my fat fingers messed up and during the attempted correction I created an invisible non-printing character. Is there any way to show all characters, printing or non printing while in the GCB editor window ?

     

    Last edit: Paul Haug 2017-03-15
  • William Roth

    William Roth - 2017-03-15

    If the output window fails to close then there was an errror or warning of some kind. The error or warning should be readable in the G+Stool output window. What does it say ?

    Editor settings: Options > Customize > Editor > View settings > Non Printable Characters

     
  • Anobium

    Anobium - 2017-03-15

    Or, you used make ASM not make HEX.

    We need to see the output window to understand any potential error.

     
  • Paul Haug

    Paul Haug - 2017-03-15

    Yes, I will post a screen shot of the hex compiler window, but first, help me with this G+Stool output window, where is it as a file ? Or is it the HEX compiler output window ?

     
  • Paul Haug

    Paul Haug - 2017-03-15

    Here is a screen shot.
    I am using V0.97 compiler

     

    Last edit: Paul Haug 2017-03-15
  • William Roth

    William Roth - 2017-03-16

    Looks like you may have a missing "End Sub" or "End Function". If that is not it then post the source code for review.

     

    Last edit: William Roth 2017-03-16
  • Paul Haug

    Paul Haug - 2017-03-16

    I had a Return' at the end of my sub, replaced with "End sub" and now all is well. Holdover from some distant code, I guess. Many thanks again.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.