test for h being a string and print it
| 606 | |
| 607 | // test for h being a string and print it |
| 608 | static void hePrintHelpStr(const idhdl hh,const char *id,const char *pa) |
| 609 | { |
| 610 | if ((hh!=NULL) && (IDTYP(hh)==STRING_CMD)) |
| 611 | { |
| 612 | PrintS(IDSTRING(hh)); |
| 613 | PrintLn(); |
| 614 | } |
| 615 | else |
| 616 | Print("`%s` not found in package %s\n",id,pa); |
| 617 | } |
| 618 | // try to find the help string as a loaded procedure or library |
| 619 | // if found, display the help and return TRUE |
| 620 | // otherwise, return FALSE |
no test coverage detected