convert printer code to string of chr()

Richard D. Williams richard at appgrp.net
Mon Jul 12 10:10:56 PDT 2021


Thanks Jose and Brian.

Both very useful suggestions.

Richard D. Williams


On 7/12/2021 11:48 AM, Brian K. White via Filepro-list wrote:
> Why bother with chr for anything but esc?
> Also if I'm going to be using a chr multiple times I like to define a 
> small dummy just for the problem character
> e = chr("27")
> ...
> cpi = prefs(54)
> ...
> ci = e { "(s" { cpi { "H"
>
> "(" isn't one of the chars that needs any special handling.
>
> If there is any problem with that, it must be with some subsequent 
> handling of the string. But if you just did this and stuck *ci on the 
> form somewhere, it should work fine.
>



More information about the Filepro-list mailing list