Print-USR Demo (NUMPRINT.BAS)
Print-USR Demo by Marc Escola, 55 (BASIC, MAC/65 source)
Description
Print-USR Demo by Marc Escola, 55 (BASIC, MAC/65 source)
From the Antic disk of August 1988 (Vol. 7 No. 4) — disk A.
From the Antic Software Archive at atarimagazines.com. The program remains the property of its author and publisher.
What is in this file
Atari BASIC program · 1.1 KB
- Dialect
- Atari BASIC
- Lines
- 25
- Variables
X$,X,SUB$
BASIC listing (25 lines)
10 REM PRINT-USR DEMO
20 REM BY MARC ESCOLA
30 REM (c)1988, ANTIC PUBLISHING
60 DIM X$(9)
70 GOSUB 1000:REM SET UP SUBROUT
80 X$="XX,XXX.XX":X=10:GOSUB 220
90 ? X$;" NORMAL NUMBER"
100 X$="XX,XXX.XX":X=-10:GOSUB 220
110 ? X$;" NEGITIVE NUMBER"
120 X$="X$,XXX.XX":X=22.25:GOSUB 220
130 ? X$;" FLOATING $"
140 X$="**,XXX.XX":X=5:GOSUB 220
150 ? X$;" ASTERISK FILL"
160 X$="*$,XXX.XX":X=5.1:GOSUB 220
170 ? X$;" ASTERISK FILL,FLOAT $"
180 X$="$$,XXX.XX":X=5.1:GOSUB 220
190 ? X$;" LOTS OF MONEY"
200 STOP
220 X=USR(ADR(SUB$),ADR(X$),LEN(X$)):RETURN
1000 DIM SUB$(293)
1010 SUB$(1,73)="hh┐Nh┐Mhh┐OFO ▕1◣I-p┘H♣wH1◣I?Pr◢◢1◣)▶ ♥┤L◣◣&L◣&L┴e╱┐K%╲eL┐L"╲ ▗1K▄T◢J♣x)0"
1020 SUB$(74,146)="▔▶┐ fX-▶┐I0P─"♥ ├9▶┐↓▶┐HhI▶0t♣g) ┐T┐U ├1MI$p╱I*p▕P╱┐T)X┌M◢1MIXp╱┐U)X┌M$O1"
1030 SUB$(147,220)="MI.p╲◢♣w$O♣┤◢♣├H"♥=▶┐0◣I.p┘h♣tJ0%=▶┐I-P┤"♥p─1MIXp┐◢0↑♣j=▶┐♣▕)▶┌M◢0▂J♣[%T┌M"
1040 SUB$(221,293)="%U┐T◢♣u$O1MI.p┐◢♣w04H"♥=▶┐0↓I.p┘h♣th=▶┐0▝┌MHDOps0q♣●)▶┌MHDOp┤0▕♣╲)0┌MH♣q◆"
1050 RETURN
