Drawing a box

Richard Kreiss rkreiss at gccconsulting.net
Tue Jun 16 11:37:53 PDT 2009


I decided to play a bit with using graphics characters to draw a box around a title during output processing.

Here is the code:

       ◄ If:                                                                   ◄
       Then: CLS("1","4")                                                      ◄
 15  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
       ◄ If:                                                                   ◄
       Then: SHOWCTR("1") "\g7"{repeat("\g0","125"){""{"\g9"                   ◄
 16  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
       ◄ If:                                                                   ◄
       Then: SHOWCTR("2") "\g.\b5 Checking For members Missing Transactions \a->
 17  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
       ◄ If:                                                                   ◄
       Then: SHOWCTR("3") "\g1"{repeat("\g0","125"){""{"\g3"                   ◄

Here is the results

                 ┌─────────────────────────────────────────?g9
                 │ Checking For members Missing Transactions │
                 └─────────────────────────────────────────?g3

Note that line 2 appears correctly with the verticals in the proper place.

Question: Why don't \g9 upper right corner and \g3 lower right corner resolve?

When I was used repeat("\g0","150") the right corners resolved properly.


Richard Kreiss
GCC Consulting
rkreiss at gccconsulting.net
  







More information about the Filepro-list mailing list