Menu

weird error msg. see 256 257 below

J McNamara
2024-12-27
2024-12-27
  • J McNamara

    J McNamara - 2024-12-27

    $ gixpp -e -S -I. -i dialog.cbl -o dialog.cbsql
    C:\msys64\home\stealth_droid\cobjapi-SWING\examples_simple\dialog.cbl(256): error: syntax error, unexpected NUMERIC, expecting PERIOD

      WORKING-STORAGE SECTION.
      *> ERROR
       01 J-ERROR                            BINARY-LONG SIGNED VALUE -1.
    
      *> BOOLEAN
       01 J-TRUE                             BINARY-LONG SIGNED VALUE 1.
    

    257 01 J-FALSE BINARY-LONG SIGNED VALUE 0.

    it is acting like i went kooky.

    did i? 3.20 compiler windows 11. im headed for bed.

    thanks,
    jim

    Sent with Proton Mail secure email.

     
  • Arnold Trembley

    Arnold Trembley - 2024-12-27

    Is it possible you overflowed column 72 in fixed format?

     
    • J McNamara

      J McNamara - 2024-12-27

      It definitely was. I thought I checked that once. I went through and made the corrections but i can't check out the compiler right now as I am running on no time with other priorities. But i did sneak in there and fix the spaces. i will use try to use Simon's error checking method in the future too.

      I can't wait to see the outcome of this I am kind of excited to work on this and see the 2 working together cobjapi and a db with gixsql. I already modified a dialog to have more controls on it that i want to link to DB before I mixed the 2.

      THANKS,
      jim

       

Anonymous
Anonymous

Add attachments
Cancel