Drawing a box

Ed Olmstead EdOlmstead at ofpcinc.com
Tue Jun 16 11:53:21 PDT 2009



On 6/16/2009 2:37 PM, Richard Kreiss wrote:
> 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
>    

Is the far right left paren on lines 15 and 17 correct?
>
>
>
>
>
>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>    
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EdOlmstead.vcf
Type: text/x-vcard
Size: 320 bytes
Desc: not available
Url : http://mailman.celestial.com/pipermail/filepro-list/attachments/20090616/c6f20910/attachment.vcf 


More information about the Filepro-list mailing list