| 527 | // |
| 528 | |
| 529 | static int print_char( ctl* control, SSHORT offset) |
| 530 | { |
| 531 | const UCHAR c = BLR_BYTE; |
| 532 | const bool printable = (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || |
| 533 | (c >= '0' && c <= '9') || c == '$' || c == '_'; |
| 534 | |
| 535 | sprintf(control->ctl_ptr, printable ? "'%c'," : control->ctl_language ? "chr(%d)," : "%d,", c); |
| 536 | ADVANCE_PTR(control->ctl_ptr); |
| 537 | |
| 538 | CHECK_BUFFER(control, offset); |
| 539 | |
| 540 | return c; |
| 541 | } |
| 542 | |
| 543 | |
| 544 | //____________________________________________________________ |
no test coverage detected