cdc:nos2.source:nam5871:ns_xdfn
Table of Contents
NS$XDFN
Table Of Contents
- [00002] FUNC NS$XDFN(CHAR)U
- [00004] NS$XDFN - CONVERT ASCII CHARACTER TO DISP. CODE.
- [00008] CONVERT ASCII CHARACTER TO DISP. CODE.
- [00032] PROC NS$DBG
Source Code
- NS$XDFN.txt
- *DECK NS$XDFN
- FUNC NS$XDFN(CHAR)U; # CONVERT ASCII CHARACTER TO DISPLAY CODE #
- # TITLE NS$XDFN - CONVERT ASCII CHARACTER TO DISP. CODE. #
- BEGIN # NS$XDFN #
- #
- ** NS$XDFN - CONVERT ASCII CHARACTER TO DISP. CODE.
- *
- * J.C. LEE 1981
- *
- * THIS IS A FUNCTION SUBPROGRAM. ITS FUNCTION IS TO CONVERT
- * ASCII CHARACTER TO DISPLAY CODE.
- *
- * FUNC NS$XDFN(CHAR)U
- *
- * ENTRY:
- * CHAR - ASCII CHARACTER TO BE CONVERTED.
- *
- * EXIT:
- * NONE.
- *
- * METHOD:
- * *CHAR* IS USED AS AN INDEX INTO DISPLAY CODE CONVERSION
- * TABLE.
- *
- #
- $BEGIN
- XREF
- BEGIN
- PROC NS$DBG; # TRACE PROCEDURE CALL #
- END
- $END
- ITEM CHAR U; # ASCII CHARACTER #
- ITEM DISPLAYTAB C(128) = " # ASCII TO DISPLAY CODE CONVERSION #
- !""#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
- ABCDEFGHIJKLMNOPQRSTUVWXYZ ";
- CONTROL EJECT;
- $BEGIN
- NS$DBG("XDFN"); # TRACE CALL #
- $END
- NS$XDFN = C<CHAR,1>DISPLAYTAB; # CONVERT TO DISPLAY CODE #
- RETURN;
- END # NS$XDFN #
- TERM
cdc/nos2.source/nam5871/ns_xdfn.txt ยท Last modified: 2023/08/05 17:22 by Site Administrator