Menu

#972 CBL_GC_GET_SCR_SIZE

Programmer's Guide
closed
None
5 - default
2024-06-05
2024-06-05
No

As noted at https://sourceforge.net/p/gnucobol/discussion/help/thread/319f6cb1fd/?limit=50#dda6
at chapter 8.2.36. CBL_GET_SCR_SIZE we need to correct variable format to the following:

01  NO-OF-LINES             USAGE BINARY-CHAR UNSIGNED.
01  NO-OF-COLUMNS           USAGE BINARY-CHAR UNSIGNED.

I believe the same correction should also be made to chapter 8.2.35 CBL_GC_ SET_SCR_SIZE

Please insert also following phrase in PG.
This function will not deliver the correct results if the lines or columns exceed 255.

In the meantime, at chapter 8.2.35 CBL_GC_ SET_SCR_SIZE the underline should be moved to the right, from:

CALL "CBL_GC_SET_SCR_SIZE" USING no-of-lines, no-of-cols
~~~~                    ~~~~~

to

CALL "CBL_GC_SET_SCR_SIZE" USING no-of-lines, no-of-cols
~~~~                       ~~~~~

Discussion

  • Eugenio Di Lorenzo

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -7,7 +7,8 @@
     ~~~
     I believe the same correction should also be made to chapter 8.2.35 CBL_GC_ SET_SCR_SIZE
    
    -
    +Please insert also following phrase in PG.
    +**This function will not deliver the correct results if the lines or columns exceed 255.**
    
     
  • Vincent (Bryan) Coen

    • status: open --> closed
    • assigned_to: Vincent (Bryan) Coen
     

Log in to post a comment.