Page 68

From p. 62.

3148 GOSUB3030

ET=8THEN304 4

:REM*228

DNS}

3082 IFEN=62THENGOSUB3036:GOTO30

THE TOTAL

3152 PRINT" FIELDS TO BE INCLUDE

T=8THEN3044

:REM*138

3154

N ): NEXTN : GOSUB3034: IFET=8TH EN3044 :REM*22

3090 CLOSE5:CLOSE15

:REM*232

3092 IFK=2THEN33B6 :REM*26 3094 REM DEFINE NEW FORMAT :REM*108

3096 CK=1:PRINT"(CTRL 8}{SHFT CL R) (CTRL 91(4 SPACEslDEFINE REPORT HEADER

FORMAT(4

SPA

CEs)(CTRL 0]" :REM«58 3098 PRINT"{COMD 6)(CRSR DN) ENT ER

WIDTH

OF

REPORT

I"

PRINT"(CTHL B)

(136

MAX

:REM*48

? 0{2

CRSR L

Fs}"PW;INPUT"(CRSR UP) :IFPW>136THENPRINT"(7

";PW CRSR

UPs)":GOTO3098 :REM*2 46 PRINT"(COMD 6HCRSR DN} ENT ER

NUMBER OF TITLE

THE"

LINES

IN

:REM*42

31 04 PRINT" REPORT HEADER (4 LIN ES MAX)" :REM*236 310S PRINT"(CTRL 81(2 SPACESJ"NL :INPUT"{CRSR UP) ";NL:IFNL> 4THENPRINT"{7

CRSR

3156 3158

TO3102 :REM*176 IFNL=0THENTTJ(1)="(COMD 6)N 0 TITI.ES":GOTO3118 :REM*18 31 10 PRINT:FORJ=1TONL:PRINT"(COM

TWEEN EACH" PRINT" COLUMN." PRINT"(CRSR DN)

3160

:RGM"26 :REM*250 ENTER THE N

OF COLUMNS

IN

REPORT.

"

PRINT"

:IFNO16THEN3148

:REM-28

3164 GOSUB3024:IFA$="E"THEN304 4

:REM*14

IFA$="J"THEN3386

:REM*10

3168 IFA$="R"THEN314B 3170 IFA$="S"THEN3096

:REM*2 :REM*13B

3172

REM

COLUMN

UMN

(CTRL 8)(CTRL

R DNJ"

3178 PRINT"

3180

POSITION

COL

9)"I"(CRS

):INPUT"{CRSR UP) ";PC(I):I FPC(I)=0THEN3174 :REM*82 IFPC(I)>PHTHENPRINT"{2 CRSR UPs)":GOT03178 :REM*158

XCRSR LF)"TT$

3186

IFA$="J"THEN3386

:REM'30

(J) :REM*66 IFLENITTS(J))>37THENPRIKT"{

3188

IFA$="R"THEN3174

:REM*196

IFAS="S"THEN3096

;REM*158

CRSR UPI"; :REM*108 31 14 INPUT"(CRSR UPI ";TT$(J):IF TT$ (J ) =" "TIIENTTS (J ) = " > "

3190

3192

6}

(CTRL

31 12

9JTITLE

?

0{CTRL 8

FORI^1TONC:GOSUB3030 :REM»118 COLUMN HEADING 3194 REM

:REM*102

:REM*184 :REM*148 31 16 NEXTJ 31 18 GOSUB3024:IFAS="EMTHEN3044

31 96

MN

:REM*224

31 20 31 22

IFAS^"j"THEN3 366

:REM*220

IFAJ="R"ORA$="S"THEN3096

:REM*190

31 24 REM

PRINT

FIELD

31 26

3198

:REM*0

PRINT"(SHFT CLR)":FORI=1TO(

:NEXTI

3130 3132

3134

:REM'120

PRINT"{COMD 6) D NAME(LENGTH)

{CTRL 9}FIEL DATA FOR (CT

RL 8)"NF$ :REM*252 OE=1 :IF(F/2)=INT(F/2)TI1ENOE =0:GOTO3132 :REM*232 OF=INT(F/2):FORI=1TOOF+OE :REM*36

PRINT" (CTRL CTRL 0KCOMD

3136

2}{CTRL 9]"I"{ 6("F$(I>L%(I)J :REM»50 IFOE = 1THEN31 40 ;REM*166

3138

PRINTTAB(19)"(CTRL

HEADING

IS

3218

FORI=1TONC:PRINT"(HOME)

3142

NEXTI

3144

REM

RL

3146

PRINT"{HOME)(CTRL

COLUMNAR

9){4

SPACEsJDEFINE

OLUMNAR RL 01"

FORMAT(4

66 / RUN APRIL 1987

REPORT

C

SPACEsHCT :REM*242

DN)(COMD

CH COLUMN

IE

NNING"

H

TO

6)

HAVE

WHI A RU

:REM*109

PRINT" TOTAL IN COLUMN {CTR L 9)(CTRL 8J"I"(CTRL 0)(CRS LF)?

(COMD

6)ENTER

{CTRL

9((CTRL 2H(COMD 6HCTRL 0) THRU {CTRL 9IICTRL 2}"I-1: G0TO3245 :REM*30 3241

PRINT"(COMD

6)

ENTER

9){CTRL 2)1(COMD THRU 3242

{CTRL

(CTRL

6)(CTRL 0)

2HCTRL

PRINT"(CTRL B)

9)"F :REM*121 "MID$(CS{I

?

,1 ) ,2,2):INPUT"{CRSR UP) "; CJ :REM*210 3243 IF(VAL(C$)>F)OR(VAL(C$)<=0) THENPRINT"(2 03242

CRSR

3244 GOTO3247

UPs)":GOT :REM*139

:REM*240

3245 PRINT'MCTRL 8}

?

"MID$(C$(I

,1),2,2):INPUT"(CRSR UP)

CJ

3246

";

;REM*213

IF(VAL(C$)>I-1)0R(VAL(CJ)<= 0|THENPRINT"(2 CRSR UPS)":G OTO3245

:REM*158

3250 GOSUB3024: IFAS = "E"TIIEN3044 :REM*100 3252 IFA$ = "J"T1IEN3386 :REM*96 3254 IFAJ="R"THEN3220 :REM*G2 3256 IFAS="S"THEN3096 :REM*224

9)

CRSR

9)"I

!REM*108

DNs)(COMD

6)

ENTER

EQUAT

ION (CTRL SKCTRL 9)"0P"(C0 MD 6)(CTRL 0)FOR COLUMN (CT RL 8)[CTRL 9)"I ;REM'198 IFOP*1THENGOSUB330B:REM*152

3268

PRINT"(CRSR

DN)

3270

SS1OP-1) PRINT'MCRSR

DN){COMD

(CT

INPUT

CONTE

8)(CTRL

RAND X(CTRL 8)7

2)(CT

:REM*94 6) OPE

.(CRSR LF)"

)

3274

OSE {CTRL 9)(CTRL 2)F(COMD 6}(CTRL 0IIELD DATA IN RECO RDS" :REM*148

3276

DN}

(CTRL

RL 9)RES(CTRL 8)(CTRL 0)="F

CS(I,EQ) :REM»236 3272 PRINT"(COMD 6) OPERATOR {CT RL 8)? .{CRSR LF)"CJ<I,EQ+1

:REM*44 6)(CRSR

"":NEXTJ:G0TO3 264

SR

CHO

PRINT"{COMD

CALC

:REM*40

3266

ENTER

{CTRL

CONTENTS

DATA

FORMAT

DNs)

COLUMN

:REM*206

:REM"B2

OF COLUMN

ULATION

3262 EQ=EQf4:0P=OP*l :REM*2 3264 GOSUB3030:PRINT"(HOME)(2 CR

:REM'182

CONTENTS

COSU133030:PRINT"(COMD 6){!IO NTS

3222

(CTRL

8){CTRL

ME}(2

:REM*12B

8)

COLUMN

"I

DATA

:REM*70

PRINT'MCRSR

R

:REM*54 :REM*188

ROUTINES FOR COLUMN(CTRL 2}

:REM*166 ENTER

3240

:REM*5B

3220

(CTRL 8}{CTRL 9)"l:GOTO32

EQ=2:OP=1:FORJ=0TO3:RS${J)=

{I+OF)L%(I+OF):GOTO3142 :REM*202 IFI»OF<FTHENPRINTTAB<19)"(C

:REM*240

3239

WHI

COLUM

3260

REM

6)"FJ{I*OF*1 )L%(It

IN

REM

:REM'18

3216

0)(COMD

BE

3258

PRINT"{CTRL 0) (COMD 6)CHAR ACTERS WIDEfCRSR DN)"

6)"FS

OF+1)

WILL

3248

PRINT"(CTRL 8} ? >(CRSR LF) "ilCI(I):INPUT"(CRSR UP} ";H C$(I):IFHC$(I)="R"THEN3192 :REM*230 ;REM*230 3206 NEXTI 3208 GOSUB3024:IFA$: "E" TIIEN3044

TRL 2)(CTRL 9}"I+OF+1"(CTRL

#

:REM*68

3212 3214

9 } (CTRL

FIELD

CS1I.1)=LEFT$(C$(I,1 ),1 >+C$ :REM"213 G0TO3328 :REM«4

3204

3210

:REM*196

DNHCOMD 6|

41

(

:REM*74

3202

2:GOT03228

3247

IFAS="J"THEN33B6 IFAS="R"THEH3192 IFAS="S"THEN3096

2)"l+0F"{CTRL 0HCOMD

3!40

6)

:REM*168

CTRL SKCTRL 9 1" ; : IFI=NCTHE NPRINTPW-PCII);:GOTO3 202

3200 PRINTPC(It1)-2-PC{I);

22-INT(F/2)):PRINTCHR$(17); 312B

6)(HOME)(2 CRSR HEADING OF COLU

{CTRL 8) (CTRL 9)"I

PRINT"{COMD

I,13|="N":GOTO3344

CH

:REM*252

INFO FOR

REFERENCE

PRINT'MCOMD DNs) ENTER

:REM*46

3238 PRINT"{CRSR

:REM*238

:REM*206 NEXTI GOSUB3024rIFAS="E' 'T1IEN3044 :REM*34

)"J:PRINT"

(C$(I,1),2)

IFC$="#"THENCI(I,1)="#":C$(

3232 IFCS="F"THEN3238 :REM*68 3234 IFCS="E"THEN3260 :REM'242 3235 IFC$="R"THEN3239 :REM*109 3236 PRINT"(2 CRSR UPs)":GOEUB60

? 0(2 CRSR LFs)"PC(I

3182 3184

D

3230

N

OF

:REM*30

PRINT"(8 SPACEs)(CTRL 9){CT RL 2)R(COMD 6KCTRL 0)UNNIN G TOTAL (BALANCE)" :REM*51

"LEFTS(C$(1,1),1):INPUT"{CR SR UP) ";CS:CJ(I,1)=CS+MIDS

POSITION

3174 FORI=1TONC:GOSUB3030 :REM*100 3176 PRINT"(COHD 6){HOME)(2 CRSR ENTER

ON"

RL 2)#(COMD 6){CTRL 0) RECO :REM*124 RD NUMBER" 3228 PRINT"{CTRL 8) ? F1CRSR LF)

:REM*B

DNs)

PRINT"{8 SPACES)(CTRL 9)(CT RL 2)E{COMD 6({CTRL 0JQUATI

3226 PRINT"(8 SPACEs){CTRL 9){CT

:REM-152

(16 COLUMNS MAX)" :REM*40 3162 PRINT"(CTRL 8) ? 0{2 CRSR L Fsl"NC:INPUT"lCRSR UP) ";NC

3166

3225

:REM«56

PRINT" ALLOWING 2 SPACES BE

UMBER

UPs)":GO

31 08

D IN THE REPORT."

3224

L

:REM*226

:REM*180

3068 F0RN=1TOF:INPUT#5,F$(N),L%(

3102

CALCULATE

ENGTH OF ALL"

44

3084 INPUT#5,R,F,X:GOSUB3034:IFE

3100

:REM'158

3150 PRINT"(COMD G)(HOME)(2 CRSR

:REM*54

PRINT"(COMD RL

8)?

6)

.(CRSR

OPERAND

)

PRIPJT"(HOME) (6

Y{CT

LF)"C$(IiEQ+2

:REM*128

CRSR

DNs)"TA

Run_Issue_40_1987_Apr  

TaxTimeRelief CHIEF rMBATA April 1987ACWOlPublication 7-U70 12069

Run_Issue_40_1987_Apr  

TaxTimeRelief CHIEF rMBATA April 1987ACWOlPublication 7-U70 12069

Advertisement