UniVerse

Expand all | Collapse all

Compiler misguided error messages

  • 1.  Compiler misguided error messages

    Posted 15 days ago
    This Universe compiler has been doing this for many years and you should have fixed this so the error message is usable. I had hired new U2 programmers and trained them in Universe but they were very frustrated with these errors and rightly so.
    Maybe they missed a reserved word or two!

    Top.
    *--: P
    001: OPEN '','VOC' TO VOC ELSE STOP 'VOC'
    002: READ DUMMY FROM VOC,'DOUG' THEN
    Bottom.
    *--: FIB
    Filed "DOUG" in file "BP".
    Compiling: Source = 'BP/DOUG', Object = 'BP.O/DOUG'

    000003
    ^
    End of File unexpected, Was expecting: Array Name, Variable name,
    New variable name, ';', Statement label, "ABORT", "ABORTE", "ABORTM",
    "BEGIN", "BREAK", "CALL", "CHAIN", "CLEAR", "CLEARCOM", "CLEARDATA",
    "CLEARFILE", "CLEARPROMPTS", "CLEARSELECT", "CLOSE", "CLOSESEQ",
    "COM", "COMMON", "CONVERT", "CREATE", "CRT", "DATA", "DEBUG",
    "DEL", "DELETE", "DELETEU", "DIMENSION", "ECHO", "ERRMSG", "ENTER",
    "EQUATE", "EXECUTE", "EXIT", "FILELOCK", "FILEUNLOCK", "FLUSH",
    "FOOTING", "FOR", "GET", "GETX", "GOSUB", "GOTO", "GROUPSTORE",
    "HEADING", "HEADINGE", "HEADINGN", "IF", "INPUT", "INPUTDP",
    "INPUTCLEAR", "INPUTERR", "INPUTIF", "INPUTNULL", "INPUTTRAP", "INS",
    "KEYEDIT", "KEYTRAP", "LET", "LOCATE", "LOCATEP", "LOCK", "LOOP",
    "MAT", "MATBUILD", "MATPARSE", "MATREAD", "MATREADU", "MATWRITE",
    "MATWRITEU", "NAP", "NOBUF", "NULL", "ON", "OPEN", "OPENDEV",
    "OPENPATH", "OPENSEQ", "PAGE", "PERFORM", "PRECISION", "PRINT",
    "PRINTER", "PRINTERIO", "PRINTERR", "PRINTERRX", "PROCREAD",
    "PROCWRITE", "PROMPT", "RANDOMIZE", "READ", "READBLK", "READNEXT",
    "READSEQ", "READT", "READU", "READV", "READVU", "RELEASE", "REMOVE",
    "RETURN", "REWIND", "SEEK", "uSEEK", "SELECT", "SELECTN", "SELECTV",
    "SELECTE", "SLEEP", "SSELECT", "SSELECTN", "SSELECTV", "STATUS",
    "STOP", "STOPE", "STOPM", "STORAGE", "SWAP", "TABSTOP", "TTYCTL",
    "UNLOCK", "WEOF", "WEOFSEQ", "WRITE", "WRITEBLK", "WRITESEQ",
    "WRITET", "WRITEU", "WRITEV", "WRITEVU", "TPRINT", "INPUTDISP",
    "KEYEXIT", "TIMEOUT", "FIND", "FINDSTR", "GETLIST", "DELETELIST",
    "READLIST", "WRITELIST", "DECLARE", "TTYGET", "TTYSET", "HUSH",
    "ASSIGN", "SELIND", "LOOPEOL", "uINPUT", "uINPUTDP", "CONTINUE",
    "DEFFUN", "TRANSACTION", "OPENCHECK", "READL", "BSCAN", "REVREMOVE",
    "SETREM", "AUTHORIZATION", "PCDRIVER", "READVL", "MATREADL",
    "RECORDLOCKL", "RECORDLOCKU", "WRITESEQF", "WORDSIZE", "RECIO",
    "SETIT", "SEND", "UPRINT", "AUXMAP", "FIELDWRITE", "FIELDWRITEU",
    "ACTIVATEKEY", "DEACTIVATEKEY", "DISABLEDEC", "ENABLEDEC"

    1 Errors detected, No Object Code Produced.


    ------------------------------
    Doug Averch (Owner)
    U2logic, Inc.
    daverch@u2logic.com
    303-946-5226 (cell & text)
    ------------------------------


  • 2.  RE: Compiler misguided error messages

    Posted 15 days ago
    Don't get the same error here UV11.3.2 Pick flavour


    ------------------------------
    S B
    Codemaster
    ------------------------------



  • 3.  RE: Compiler misguided error messages

    Posted 14 days ago
    In both cases there is the obvious missing END

    ------------------------------
    Jan Van Schalkwyk
    Youi
    ------------------------------



  • 4.  RE: Compiler misguided error messages

    Posted 13 days ago
    Thank you for your feedback Doug.  The compiler error message issue you describe has been reviewed and is scheduled to be fixed in a future release of UniVerse.  I encourage you to contact support if you have questions on this issue or have any details you wish to add to your support case.

    ------------------------------
    Chris Rizza
    Rocket Software
    ------------------------------



  • 5.  RE: Compiler misguided error messages

    Posted 13 days ago
    Thanks to everyone that participated in the discussion. It's great to see members contribute with feedback, offer tips and that there is a resolution planned for future release.

    ------------------------------
    Charles Dane
    Rocket Software
    ------------------------------