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
  • Merge requests
  • !89

Merged
Created May 10, 2019 by Lartu@lartu🐕Maintainer

INCR & DECR statements

  • Overview 2
  • Commits 2
  • Changes 1

Created by: dvkt

These might be redundant because you can just do add 1 and var in var, but I tend to do that a lot so thought this might be worth exploring. Tests are in Lartu/ldpltest#4.

Example:

DATA:
n is number

PROCEDURE:
while n is less than 100 do
  display "n: " n crlf
  incr n
repeat

display "final: " n crlf

Wasn't sure about INCR vs INCREMENT too?

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: github/fork/dvkt/incr/decr