
Soft key #1, #2 ?
PROG NO. setting
Data setting
PROG. NO. setting
Data setting
A. MACRO PROGRAM EXAMPLE
B–62093E–1/02
APPENDIX
156
(1) Main program
00010 O8000 ;
00020 N1 M98 P8011 ; Initial screen display
00030 N9 M98 P9503 ; KEY IN
00040 IF [#102 EQ 12] GOTO 100 ;
00050 IF [#102 EQ 13] GOTO 200 ;
00060 M99 P9 ;
00070 N100 M98 P8012 ; Screen (EX. A) display
00080 N19 M98 P9503 ;
00090 IF [#102 EQ 16] GOTO 199 ; Soft key #5 (END) ?
00100 IF [#102 NE 8] GOTO 190 ; Input key judgment
00110 IF [#104 EQ 1] GOTO 110 ; Cursor position ?
00120 #10050 = #103 ;
00130 #140 = 4.0 ;
00140 #141 = 0 ;
00150 M98 P9501 ;
00160 M99 P19 ; Processing on EX. A screen
00170 N110 #[10051 + #105] = #103 ;
00180 #140 =5.2 ;
00190 #141 = 1 ;
00200 M98 P9501 ;
00210 N190 M99 P19 ;
00220 N199 M99 P1 ;
00230 N200 M98 P8013 ; Screen (EX. B) display
00240 N29 M98 P9503 ; Key IN
00250 IF [#102 EQ 16] GOTO 299 ; Soft key (END) ?
00260 IF [#102 NE 8] GOTO 290 ; Input key judgment
00270 IF [#104 EQ 1] GOTO 210 ; Cursor position ?
00280 #10060 = #103 ;
00290 #140 = 4.0 ;
00300 #141 = 0 ;
00310 M98 P9501 ;
00320 M99 P29 ; Processing on FX. B screen
00330 N210 #[10061 + #105] = #103 ;
00340 #140 = 4.0 ;
00350 #141 = 0 ;
00360 M98 P9501 ;
00370 N290 M99 P29 ;
00380 N299 M99 P1 ;
00390 ;
00400 ;
00410 ;
00420 ;
00430 ;
A.1.5
Coding