Editing
Control flow
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== 5. primesui β Paragraph Map == <pre>PROCEDURE DIVISION USING primes-ui β βββ EVALUATE TRUE on ui-methods WHEN start-ui β PERFORM r90-start-primesui βββββββββΊ r90-start-primesui β β OPEN OUTPUT fprinter β β IF ok: result=0, idx=1 β β PERFORM r98-message-ui βββΊ r98-message-ui β β β DISPLAY on scherm β β βββ return β βββ return WHEN write-ui β PERFORM r92-write-primesui ββββββββββΊ r92-write-primesui β β load cell(primes-idx) β β idx + 1 β β IF new-page β PERFORM r93-new-page βββΊ r93-new-page β β β WRITE heading β β β WRITE col header β β β new-page = 0 β β βββ return β β IF idx = 7 β WRITE line, idx = 1 β β IF linage = 53 β PERFORM r94-eop βββΊ r94-eop β β β WRITE blank β β β WRITE footing β β β page-number + 1 β β β new-page = 1 β β βββ return β βββ return WHEN message-ui β PERFORM r98-message-ui (as above) WHEN stop-ui β PERFORM r99-stop-primesui βββββββββββΊ r99-stop-primesui β β u-sequence = 0, u-number = 0 β β PERFORM r92-write-primesui UNTIL new-page β flush loop β β PERFORM r98-message-ui β β CLOSE fprinter β βββ return WHEN OTHER β ui-method-result = 1 β βββ EXIT PROGRAM</pre> '''Loop summary β primesui:''' {| !width="25%"| Loop !width="25%"| Type !width="25%"| Condition !width="25%"| Location |- | Flush partial line | PERFORM UNTIL | <code>new-page</code> (print-new-page = 1) | r99-stop-primesui |} ----- <span id="cross-program-control-flow-summary"></span>
Summary:
Please note that all contributions to Webhuis wiki are considered to be released under the GNU Free Documentation License 1.3 or later (see
Project:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Voorpagina
Cobol and PostgreSQL
PostgreSQL
CFEngine
Proxmox
Webhuis Kennisbank
Basale infra
Webhuis bouwstenen
Webhuis configuratie
Webhuis Infra
Webhuis Support
Webhuis Raspberry
Opzet Applicaties
Business Applicaties
Community portal
Current events
Recent changes
Random page
Help
sitesupport
Tools
What links here
Related changes
Special pages
Page information