Kyocera Ci1000 Technical Reference Manual page 66

Prescribe commands technical reference manual - rev. 4.7
Hide thumbs Also See for Ci1000:
Table of Contents

Advertisement

Chapter 3 Macros
Example 2
!R! RES; UNITC; DAM;
MCRO LOCATE;
ENDM;
MCRO GRAPH;
ENDM;
CALL LOCATE, 2, 9;
CALL GRAPH, 'Temperature', 2.5, 3.5, 1.9, 3.0, 3.8, 2.8, 3.3;
CALL LOCATE, 10, 9;
CALL GRAPH, 'Humidity', 3.5, 1.0, 1.3, 2.6, 1.8, 6.4, 5.9;
CALL LOCATE, 2, 20;
CALL GRAPH, 'Paid Attendance', 5.2, 1.1, 0.9, 1.5, 1.3, 3.3, 4.4;
CALL LOCATE, 10, 20;
CALL GRAPH, 'Pages Completed', 0, 1.2, 4.4, 4.6, 3.2, 6.6, 0;
PAGE;
EXIT;
3-4
The next file presents a more ambitious project. It makes the graph-drawing commands
in the preceding section into a pair of macros to draw multiple graphs. This file may help
you to better understand the macro creating process. The DAM command in the first line
is a safety precaution that clears any previous macros out of memory.
SLM %1;
STM %2;
UNIT C;
SPD 0.05; SCS 0.23;
MAP 0, -7.3; TEXT %1;
MAP 0, 0; BOX 6, -7;
MAP -0.1, 0.5;
TEXT 'Sun Mon Tue Wed Thu Fri Sat';
MAP 0, -%2;
DAP 1, -%3;
DAP 2, -%4;
DAP 3, -%5;
DAP 4, -%6;
DAP 5, -%7;
DAP 6, -%8;

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ci1100Dp-1800Dp-1400Dp-2800Dp-3600F-1000 ... Show all

Table of Contents