[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[open-cobol-list] Problem calling a known void function

From: Roger While
Subject: [open-cobol-list] Problem calling a known void function
Date: Wed, 27 May 2009 12:39:21 +0200

Use COBOL syntax for doing this -

       identification division.
       program-id. test-free.
       data        division.
       working-storage section.
       01 rec pic x(100) BASED.
       procedure  division.
           ALLOCATE rec.
           move "123" to rec.
           display rec.
           FREE rec.
           move 0 to return-code
           stop run.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]