source: IHS-VA_UTILITIES-XB/XBVDF.m@ 641

Last change on this file since 641 was 641, checked in by Sam Habiel, 15 years ago

Initial commit of XB, move away from sf.net.
Includes kids file and documentation.

File size: 1.6 KB
Line 
1XBVDF ; IHS/ASDST/DMJ - VIDEO DISPLAY FEATURES ; [ 10/07/2004 3:00 PM ]
2 ;;4.0;XB;;Jul 20, 2009;Build 2
3EN(X) ;EP
4 I X="" Q X
5 I '$L($T(@X)) S X="" Q X
6 S XB1("X")=$X
7 I '$G(IOST(0)) S IOP=0 D ^%ZIS
8 I '$D(XBVDF(+IOST(0),X)) D
9 .S XB1("LN")=$T(@X),XB1(1)=$P(XB1("LN"),";;",2),XB1(2)=$P(XB1("LN"),";;",3),XB1(3)=$P(XB1("LN"),";;",4)
10 .S XBVDF(+IOST(0),X)=$P($G(^%ZIS(2,+IOST(0),XB1(1))),"^",XB1(2),XB1(3))
11 .I XBVDF(+IOST(0),X)="" S XBVDF(+IOST(0),X)="*0"
12 W @XBVDF(+IOST(0),X)
13 S $X=XB1("X")
14 S X=""
15 K XB1
16 Q X
17 ;GLOBAL LOCATIONS TO FOLLOW
18HIN ;;7;;1;;1;;HI INTENSITY ON
19HIX ;;7;;2;;2;;HI INTENSITY OFF
20RVN ;;5;;4;;4;;REVERSE VIDEO ON
21RVX ;;5;;5;;5;;REVERSE VIDEO OFF
22ULN ;;6;;4;;4;;UNDERLINE ON
23ULX ;;6;;5;;5;;UNDERLINE OFF
24DTP ;;17;;1;;1;;DOUBLE HIGH TOP HALF
25DTB ;;17;;2;;2;;DOUBLE HIGH BOTTOM HALF
26BLN ;;5;;8;;8;;BLINK ON
27BLX ;;5;;9;;9;;BLINK OFF
28CUP ;;8;;1;;1;;CURSOR UP
29IOF ;;1;;2;;2;;FORM FEED/CLEAR SCREEN
3010 ;;5;;1;;1;;TEN PITCH
3112 ;;5;;2;;2;;TWELVE PITCH
3216 ;;12.1;;1;;250;;SIXTEEN PITCH
33BKF ;;CLRBKF;;1;;1;;BLACK FOREGROUND
34BKB ;;CLRBKB;;1;;1;;BLACK BACKGROUND
35REF ;;CLRREF;;1;;1;;RED FOREGROUND
36REB ;;CLRREB;;1;;1;;RED BACKGROUND
37GRF ;;CLRGRF;;1;;1;;GREEN FOREGROUND
38GRB ;;CLRGRB;;1;;1;;GREEN BACKGROUND
39YEF ;;CLRYEF;;1;;1;;YELLOW FOREGROUND
40YEB ;;CLRYEB;;1;;1;;YELLOW BACKGROUND
41BLF ;;CLRBLF;;1;;1;;BLUE FOREGROUND
42BLB ;;CLRBLB;;1;;1;;BLUE BACKGROUND
43MGF ;;CLRMGF;;1;;1;;MAGENTA FOREGROUND
44MGB ;;CLRMGB;;1;;1;;MAGENTA BACKGROUND
45CYF ;;CLRCYF;;1;;1;;CYAN FOREGROUND
46CYB ;;CLRCYB;;1;;1;;CYAN BACKGROUND
47WHF ;;CLRWHF;;1;;1;;WHITE FOREGROUND
48WHB ;;CLRWHB;;1;;1;;WHITE BACKGROUND
49CLR ;;6;;1;;1;;RESET
50HOM ;;5;;3;;3;;HOME CURSOR
Note: See TracBrowser for help on using the repository browser.