Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4356

RE: Visual COBOL Personal Edition - Windows 8 - how to Compile and then Run

$
0
0

Hi Scot

Thanks for those simple instructions

I followed them and I had success

I am now starting to understand the 'BUILD' process and the 'DEBUG' process

And the Add Existing Item was also key information

I tried a simple program:

             IDENTIFICATION DIVISION.

             PROGRAM-ID.    BEEPER.

            *>

            *> 29 September 2014       BY PAUL RAWNSLEY

            *>

            *> Test BEEP function

            *>

             ENVIRONMENT DIVISION.

             CONFIGURATION SECTION.

             INPUT-OUTPUT SECTION.

             FILE-CONTROL.

             DATA DIVISION.

             FILE SECTION.

             WORKING-STORAGE SECTION.

             77  WS-END-MESSAGE PIC X(013) VALUE 'PROGRAM ENDED'.

             PROCEDURE DIVISION.

                 DISPLAY WS-END-MESSAGE WITH BELL.

                 DISPLAY WS-END-MESSAGE WITH BEEP.

                 EXIT PROGRAM.

            *>END OF PROGRAM BEEPER.

It worked after I used the Add Existing Item function

Without taking that step, something runs but it's not the intended program

After I had followed all your steps correctly it is all working fine

Thanks very much


Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>