Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
L ldpl
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Lartu
  • ldpl
  • Issues
  • #73

Closed
Open
Created Apr 25, 2019 by Lartu@lartu🐕Maintainer

Replace FILE-LOADED with ERROR-CODE and ERROR-TEXT

Created by: Lartu

Right now, LDPL has one control variable, FILE-LOADED, that's used by the language to tell whether a file has been loaded right or not. That's a little specific, as many other statements could also benefit from having a control variable to check if they executed correctly or not. This variable should be replaced with two other variables, ERROR-CODE, that should store an error number regarding the result of the operation, and ERROR-TEXT that should store a human readable report of what went wrong (or not).

FILE-LOADED is declared here and used here. At the moment no other function than LOAD FILE uses it, but WRITE TO, APPEND TO, numeric ACCEPT and type conversions should use it as well.

Assignee
Assign to
LDPL 3.0.4 'Busy Brontosaurus'
Milestone
LDPL 3.0.4 'Busy Brontosaurus'
Assign milestone
Time tracking