Re-Run Productivity Pak I

73
8/6/2019 Re-Run Productivity Pak I http://slidepdf.com/reader/full/re-run-productivity-pak-i 1/73 S p e c i a l E d i t i o n D i s k P r o d u c t i v i t y P a R U N * s M o s t P r o d u c t i v e P r o g r a m s F o t h C - 6 4 a n C - 1 2 8 ( i 6 m o d e o n l y ) D A T A F I L E D F M A I L D F R E P O R T D F P R I N T D F C A L C R U I R I T E R U N T E R M S R E E N P R I N T S C R E E N P R I N T S C R E E N P R N F I N A N C E A I D I S K M A S T E R B A S I C 4 . G R A P H M A K E R

Transcript of Re-Run Productivity Pak I

Page 1: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 1/73

S p e c i a l E d i t i o nD i s k

P r o d u c t i v i t y P a R U N * s M o s t P r o d u c t i v e P r o g r a m s

F o t h C - 6 4 a n C - 1 2 8 ( i 6 m o d e o n l y )

D A T A F I L E D F M A I LD F R E P O R T D F P R I N T

D F C A L C R U I R I T E R U N T E R M ■ S R E E N P R I N T S C R E E NP R I N T S C R E E N P R N F I N A N C E A I D I S K M A S T E R B A S I C4 . ■ G R A P H M A K E R

Page 2: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 2/73

I n t r o d u c t i o nW e l c o m e t R U 9 P r o d u c t i v i t y P a

H e r e w g w i t h o u s e c o n ds p e c i a l i s s u e o R e R U N f o 1 9 8 5 .M e e t t h P r o d u c t i v i t y P a k , c o l e c t i o n o 1 o R U N ' s b e s t a p l i c a t i o n s a n u t i l i t i e s f o y o u rC - 6 4 a n C - 1 2 8 ( i 6 m o d e ) .Y o w i l l r e c o g n i z e s o m e o t h e s ep r o g r a m s , b u t h e r e a r e s e v e r a lb r a n d n e a p p l i c a t i o n s t h a t h a v en e v e r b e f o r e a p p e a r e d i p r i n t .( T i t l e s i c a p i t a l s a r e t h e f i l en a m e s y o m u s t t y p e i t l o a dt h p r o g r a m s . )

T g e s t a r t e d , w h a v e t h l a t e s t v e r s i o n o D A T A F I L E ( v e rs i o n 3 . 3 ) . T h i s e x c e p t i o n a l d a t ab a s e h a b e e n h i g h l y a c c l a i m e db R U r e a d e r s a l a r o u n d t h w o r l d , a n t h i s v e r s i o n h a m a n ye n h a n c e m e n t s t m a k e i e v e nb e t t e r t h a n t h o r i g i n a l .

T w s u b p r o g r a m s , D F M A I La n D F R E P O R T , l e y o p r i n t o u c u s t o m i z e d m a i l i n g l a b e l s a n r e p o r t s u s i n g t h f i l e s c r e a t e d b D a t a f i l e . D F P R I N T w i l l l o a d y o u rf i l e s a n q u i c k l y p r i n t t h e m o u t .

W a l s o h a v e t h e p l e a s u r e o b r i n g i n g y o D F C A L C , a a p p l ic a t i o n t h a t i n t e g r a t e s w i t h D a t a -

f i l e a n p r o d u c e s s p r e a d s h e e t -l i k e r e p o r t s .

T i n c r e a s e y o u r p e r s o n a l p r d u c t i v i t y , w h a v e i n c l u d e dw o r d p r o c e s s o r . R U I W R I T Ew a w r i t t e n i B a s i c a n c o p i l e d t m a k e i r u a f a s t a m a c h i n e l a n g u a g e p r o g r a m . W i t ht h i s w o r d p r o c e s s o r , y o u c a nt y p e o u p e r s o n a l c o r r e s p o nd e n c e a n d p r i n t i w i t h y o u r o w c u s t o m i z e d m a r g i n s e t t i n g s , t a b sa n l i n e s p a c i n g . Y o c a n e v e nl i n k f i l e s f o l o n g d o c u m e n t s t h a te x c e e d t h 2 s c r e e n - p a g e l i m i t .

T e l e c o m m u n i c a t i o n s i r a p i d l yb e c o m i n g t o a p p l i c a t i o n i t h h o m e a n i b u s i n e s s . W a r p l e a s e d t h a v e p r o f e ss i o n a l - q u a l i t y s m a r t t e r m i n a l i t h i s R e R U N . R U N T E R M i w r i tt e e n t i r e l y i m a c h i n e l a n g u a g ea n g i v e s y o t h o p p o r t u n i t y t l o o n t o t h m a j o r o n - l i n e n e w o r k s s u c h a C o m p u S e r v e , D e p h a n T h S o u r c e . Y o c a a l s o c o n t a c t b u l l e t i n b o a r d su s i n g C o m m o d o r e o s t a n d a r dA S C I I . R U N T E R M p r o v i d e s f o X M o d e m u p l o a d i n g a n d o w n -

Page 3: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 3/73

l o a d i n g a n w i l l b e b i h i w i t ht e l e c o m m u n i c a t o r s .

F o t h o s e o c c a s i o n s w h e n y o n e e d a q u i c k p r i n t o u t o f y o u rs c r e e n d i s p l a y , w h e t h e r i b t e x t ,l o w - r e s o l u t i o n o r h i g h - r e s o l u t i o n ,S C R E E N P R I N T w i l l f i y o u r n e e d sp e r f e c t l y . S C R E E N P R I N T i p r v i d e d f o t h o s e o y o w i t h G e m i n i1 0 p r i n t e r s , a n S C R E E N P R I N T

i c o n v e n i e n t p r o g r a m f o s a i n t h i s p r i n t e r u t i l i t y t d i s k a f a s t - l o a d i n g m a c h i n e l a n g u a g ep r o g r a m .

F o q u i c k a n s w e r s t y o u r f n a n c i a l q u e r i e s , w h a v e F N A N C E A I D . T h i s a p p l i c a t i o n w i l ld e t e r m i n e l o a n p a y m e n t s a n i v e s t m e n t c a l c u l a t i o n s .

F o p r o g r a m m e r s , w g i v e y o D I S K M A S T E R a n B A S I C 4 . 5 .D I S K M A S T E R i a e n h a n c em e n t t o u p r e v i o u s l y p u b l i s h e dp r o g r a m c a l l e d " D i s k M a s t e r R

v i s i t e d , " p u b l i s h e d i F e b r u a r y1 9 8 4 . W i t h t h i s d i s k u t i l i t y , y o c a e a s i l y k e e p t r a c k o a l t h p r o g r a m f i l e s o y o u r d i s k s .

B A S I C 4 . w a p u b l i s h e d i t h r e e p a r t s a n i n o w , f o t h f i r s tt i m e , p r o v i d e d i i t e n t i r e t y . T h i sv e r s i o n o B a s i c w i l l g i v e y o m a n yo t h c o m m a n d s p r o v i d e d b t h P l u s / 4 a n e v e n t h C - 1 2 8 .

L a s t l y , f o e n h a n c i n g y o u r b u s in e s s r e p o r t s a n k e e p i n g t r a c ko a l y o u r m a n y a p p o i n t m e n t s ,w h a v e G R A P H M A K E R a n M E M O , t w p r e v i o u s l y p u b l i s h e ds m a l l - b u s i n e s s a p p l i c a t i o n s .

N o n e ' s f o r c i n g y o t g e t w o r k , b u t h P r o d u c t i v i t y P a i w a i t i n g .

M A R G A R E T M O R A B I T OT e c h n i c a l M a n a g e rR U M a g a z i n e

Page 4: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 4/73

P r o d u c t i v i t y P a D i r e c t o r y

D A T A F I L ED F M A I L *D F R E P O R T *

1 D F P R I N T1 D F C A L C3 R U I W R I T E3 R U N T E R M4 S C R E E N P R I N T4 S C R E E N P R I N T4 S C R E E N P R I N T4 F I N A N C E A I 4 D I S K M A S T E R5 B A S I C 4 . 6 G R A P H M A K E R6 M E M O

D F M A I L a n D F R E P O R T a r s u b p r o g r a m s l o a d e df r o m D A T A F I L E . D n o l o a d a n r u t h e s e t w p r g r a m s s e p a r a t e l y .L O A D " B A S I C 4 . 5 " , 8 , 1 . T h e n t y p e S Y 6 4 7 3 8 t a c t iv a t e t h p r o g r a m .R e a d i n s t r u c t i o n s i t h b o o k l e t f o a l p r o g r a m s b ef o r e r u n n i n g t h e m .

H

Page 5: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 5/73

H o t L o a dD I S K :T l o a d a n o t h p r o g r a m s , t y p e :

L O A D " p r o g r a m n a m e " , 8t h e n p r e s s t h R E T U R N k e y .T h d i s k d r i v e s h o u l d w h i r w h i l e t h s c r e e n p r i n t s S E A R C H I N G F O R ( p r o g r a mn a m e ) . T h s c r e e n s h o u l d t h e n p r i n t L O A D I N G a n t h e n f i n a l l y R E A D Y , w i t ht h f l a s h i n g c u r s o r b e n e a t h . T y p e R U a n p r e s s t h e R E T U R N k e y . T h p r o g r a m w i l l t h e n b e g i n .

N O T E S :Y o s h o u l d u s t h e n t i r e p r o g r a m n a m e e x a c t l y a l i s t e d t a v o i d l o a d i n gp r o g r a m s t h a t h a v e s i m i l a r t i t l e s .B e f o r e l o a d i n g p r o g r a m , a l w a y s r e f e r t o t h a r t i c l e i t h e b o o k l e t f o s p e c i a li n s t r u c t i o n s .B s u r e y o u r C - 1 2 8 i i C - 6 4 m o d e b e f o r e a t t e m p t i n g t l o a d t h e s e p r o g r a m s .

I

Page 6: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 6/73

D a t a f i l eI y o w a n t t c o m p u t e r i z e a l t h o s e r e c o r d sy o h a v e t k e e p t r a c k o f h e r e ' s d a n d y d a t a b a s e p r g r a m t h a t w i l l g i v e y o i n f o r m a t i o n i j i f f y .B M i k e K o n s h a k

R U I R i g h tC - 6 4 ; C - 1 2 8 ( i C - 6 4 m o d i ) ; 1 5 4 1 d i s k d r i v e

A n A S C I I o C m m d o r e p r i n t e rD a t a f i l e i m e m o r y - b a s e d ,

m u l t i p l e - p r o g r a m d a t a b a s e s y t e f o t h C o m m o d o r e 6 4 I u t i l i z e s a n A S C I I o C o m m o d o r ep r i n t e r a n s e q u e n t i a l f i l e s o n 1 5 4 1 d i s k d r i v e .

D a t a f i l e a l l o w s y o t c r e a t ey o u r o w d a t a b a s e , c h o o s i n gt h n u m b e r a n l e n g t h o f i e l d s ,a w e l l a t h e i r t i t l e s . T h p r g r a m w i l l c a l c u l a t e t h m a x i m u mn u m b e r o r e c o r d s t h a t c a b r e t a i n e d i m e m o r y a c c o r d i n g t t h c r i t e r i a y o e s t a b l i s h e d . A f t e ry o u ' v e c r e a t e d d a t a b a s e a n a d d e d r e c o r d s , y o c a p e r f o r ms t a n d a r d o p e r a t i o n s o t h d a t aa n s a v e t d i s k o r p r i n t o u t h r e s u l t s i v a r i o u s f o r m a t s .

T h m a i n p r o g r a m c a l o a do t h e r s u b p r o g r a m s f r o m t h d i s k , r e m o v i n g i t s e l f f r o m m e o r t a l l o w r o o m f o t h n e

p r o g r a m i t h s a m e m e m o r yc e l l s . T h n e p r o g r a m w i l l t h e nb a b l e t u s t h s a m e v a r i a b l ev a l u e s a n d a t a t h a t w e r e s e a n r e t a i n e d d u r i n g t h o p e r at i o n o t h f i r s t p r o g r a m .

D A T A F I L E I N S T R U C T I O N SY o b e g i n b t y p i n g L O A D

" D A T A F I L E " , 8 < R E T U R N > .W h e n t h e d i s k d r i v e s t o p s r u nn i n g , t y p e R U N < R E T U R N >

T h s c r e e n t h e n d i s p l a y s t h m a i n m e n u . Y o c a c h o o s e a n yo t h e o p t i o n s b p r e s s i n g t h ek e t h a t r e p r e s e n t s t h f i r s t l e t t e ro t h o p t i o n , a l t h o u g h C r e a t e o R e a d s h o u l d b t h f i r s t o n c h s e w h e n y o b e g i n . T h p r g r a m w i l l j u m p t t h r e s p e c t i v es u b r o u t i n e w i t h o u t y o u r h a v i n g t p r e s s t h r e t u r n k e y . W h e np a r t i c u l a r s u b r o u t i n e h a c o p l e t e d i t c h o r e s , i w i l l a l w a y sr e t u r n t o t h i s m e n u .

I t ' s g o o d i d e a t c r e a t es m a l l d a t a b a s e a f i r s t , i o r d e r

Page 7: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 7/73

t b e c o m e f a m i l i a r w i t h D a t a f i l e .D o n ' t p u t o m u c h e f f o r t i n t o t h f i r s t g o - a r o u n d . E x p e r i m e n t b i t c h e c k o u t t h e p r o g r a m ' s c p a b i l i t i e s . T h f o l l o w i n g i s t e p -b y - s t e p d e s c r i p t i o n o w h a t t e p e c t w h e n y o s e l e c t o p t i o n sf r o m t h m a i n m e n u .

C R E A T E N E F I L ET r t m a x i m i z e t h a v a i l a b l e

m e m o r y s p a c e b k e e p i n g t h n u m b e r o f i e l d s a n t h e l e n g t h so t h n a m e s t a m i n i m u m . T h l e n g t h s o t h f i e l d s s h o u l d a w a y s b r e s t r i c t e d t o l e s s t h a n7 c h a r a c t e r s .

A D R E C O R D T C U R R E N T F I L EA f t e r p r e s s i n g o t h m a i nm e n u , t h s c r e e n d i s p l a y s :

P R E S S T H [ R E T U R N ] K E A F T E RE A C H E N T R Y

P R E S S [ R E T U R N ] W I T H O U T A N E T R T S T O P

[ R E C O R D N U M B E R 1

N o t y p e i a b o u t t e r e c o r d ss y o u ' l l h a v e s o m e t h i n g t p l a yw i t h . I y o t r t e n t e r i n t o a n f i e l d m o r e c h a r a c t e r s t h a n t h a tf i e l d w a i n i t i a l i z e d f o r , y o u ' l l r c e i v e a e r r o r m e s s a g e . Y o w i l ln o t i c e t h d u m m y c h a r a c t e r b h i n d e a c h I n p u t s t a t e m e n t . T h i si u s e d t r e s e r v e t h e s p a c ew h i l e t h c o m p u t e r i w r i t i n g t h s e q u e n t i a l f i l e t t h d i s k .

Y o s t o p a d d i n g r e c o r d s b p r e s s i n g t h r e t u r n k e w i t h o u t

m a k i n g a e n t r y i t h f i r s t f i e l d .T h i s d o e s n ' t w o r k o s u c c e e d i n gf i e l d s b e c a u s e i t ' s a s s u m e d t h e r e ' ss o m e d a t a t h e r e t h a t n e e d s t b s a v e d . T h i s a l s o a l l o w s y o t f i l l i b l a n k s l a t e r i i n f o r m a t i o n i u k n o w n a t h t i m e .

I t ' s i m p o r t a n t t n o t e t h a t D t a f i l e u s e s I n p u t s t a t e m e n t s t h a td n o a l l o w t h u s o q u o t a t i o nm a r k s , " c o m m a s , s e m i c o l o n s o c o l o n s a p a r t o d a t a i t h f i e l d s . A l l o t h e r a l p h a n u m e r i cc h a r a c t e r s a r e a c c e p t a b l e .M O D I F Y R E C O R D I C U R R E N T F I L E

I y o p r e s s M y o w i l l s e e :M O D I F Y W H I C H R E C O R D ? E N T E R

[ # ] O R [ A ] L L

I y o u w a n t t c h a n g e j u s t o n p a r t i c u l a r r e c o r d , e n t e r t h n u b e o t h e r e c o r d ( t r y 1 ) t h e np r e s s t h r e t u r n k e y . P r e s s i n gw i l l d i s p l a y a l t h r e c o r d s i t h f i l e , o n a t i m e . P r e s s i n gb r i n g s t h i s t t h s c r e e n :T M O D I F Y R E C O R D N U M B E R 1 M A K E C H A N G E S A E A C H F I E L D

I D I S P L A Y E D , T H E N [ R E T U R N ]A y o u c a n s e e , t h i s f o r m a t i

s i m i l a r t t h A d o p e r a t i o n , e c e p t t h a t t h d a t a i p r e p r i n t e df o y o o t h s c r e e n .D E L E T E R E C O R D I C U R R E N T F I L E

P r e s s i n g g i v e s y o u :D E L E T E W H I C H R E C O R D ? E N T E R [ #

O [ A ] L L

Page 8: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 8/73

D o n ' t b a f r a i d t p r e s s o t h i s o n e . R e c o r d s w i l l n o b d l e t e d u n l e s s y o u ' v e g i v e n t h e g o -a h e a d t d s f i r s t . F o t h i s e a m p l e , e n t e r 1 t h e n p r e s s t h r e t u r n k e y , w h i c h d i s p l a y s :T D E L E T E R E C O R D N U M B E R 1

P R E S S [ S H I F T ] [ D ] , P R E S S [ S P A C EB A R ] T A D V A N C ET h e n t i r e r e c o r d i d i s p l a y e d

s t h a t y o u ' l l b a w a r e o t h t o t a l c o n t e n t s o t h e r e c o r d b f o r e y o t r t d e l e t e i t I y o w a n t t d e l e t e t h e r e c o r d , h o l dt h s h i f t k e d o w n w h i l e y o p r e s s t h k e y .

T h t o t a l n u m b e r o r e c o r d s i t h f i l e w i l l b d e c r e a s e d b o n e ,a n a l t h r e c o r d s a f t e r t h o n y o d e l e t e d w i l l b r e n u m b e r e da c c o r d i n g l y . I y o d e c i d e n o t d e l e t e t h r e c o r d a f t e r a l l , j u s tp r e s s t h s p a c e b a a n i w i l la d v a n c e y o t t h n e x t r e c o r do b r i n g y o b a c k t t h m a i nm e n u . R e m e m b e r t s a v e y o u rr e v i s e d f i l e .

R E A D O L F I L E F R O M D I S KT h i s u t i l i t y i s n o r m a l l y p e

f o r m e d a t h s t a r t o D a t a f i l e t l o a d p r e v i o u s l y s t o r e d f i l e . T h p r o g r a m p r o m p t s w i t h :E N T E R N A M E O F I L E T B L O A D E D

T y p e i t h n a m e o t h d t a f i l e a n p r e s s t h r e t u r n k e y .T h f i l e w i l l l o a d a n y o u ' l l r e t u r nt t h m a i n p r o g r a m . I t h r e t u r nk e i p r e s s e d w i t h o u t f i l e

n a m e p r e s e n t , t h p r o g r a m w i l la l s o e x i t s a f e l y b a c k t t h m a i np r o g r a m .

P R I N T R E C O R D S B S E L E C T I O NT h i s u t i l i t y a d v a n c e s y o t a

o t h e r m e n u , d e s i g n e d t l o a ds u b p r o g r a m s t h a t w i l l a c t u a l l yp e r f o r m t h p r i n t i n g o p e r a t i o n s .I n r e c o r d s a r p r e s e n t i m e o r y , y o u ' l l b d i r e c t e d b a c k t t h m a i n m e n u .[ P R I N T E R M A I N M E N U ]P R I N T R E C O R D S U S I N G :[ R ] E P O R T S A N L I S T S[ M ] A I L I N G L A B E L S[ U ] S E R D E F I N E D S U B P R O G R A M[ E ] X I T T M A I N M E N U[ P R E S S T H A P P R O P R I A T E K E Y ]

r e t u r n s t h p r o g r a m t t h m a i n m e n u , l o a d s u D F R e -p o r t a n w i l l l o a d D F M a i l .P r e s s i n g r e s u l t s i n E N T E R N A M E O S U B P R O G R A M

H e r e y o u c a n l o a d u p r g r a m s t h a t m i g h t p e r f o r m o t h e ro p e r a t i o n s o y o u r d a t a t h a t D t a f i l e d o e s n o t p r o v i d e . N o e t e r i n g a n f i l e n a m e a a l w i l l g e y o b a c k t t h p r i n t e r m e n u .

T h U s e r - D e f i n e d S u b p r o g r a ms e r v e s t l o a d p r o g r a m t h a ty o m i g h t w r i t e t e n h a n c e y o u rp a r t i c u l a r d a t a f i l e . O n e x a m p l em i g h t b p r o g r a m t h a t a d d su a l t h n u m e r i c v a l u e s i o n f i e l d o d a t a f i l e . T h i s c o u l d , f o

Page 9: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 9/73

e x a m p l e , b f i e l d t h a t h o l d st h e c u r r e n t v a l u e f o h o u s e h o l di n v e n t o r y i t e m s , t h u s g i v i n g y o q u i c k l y t h t o t a l v a l u e f o i n s u ra n c e p u r p o s e s .

M a n y v a r i a t i o n s a r p o s s i b l e .Y o w i l l h a v e t s t u d y t h p r g r a m l i s t i n g s t f i n d t h v a r i a b l en a m e s r e q u i r e d t g e t h c o r e c t d a t a . M o r e o t h i s l a t e r .

V I E W F I L E O S C R E E NE n t e r i n g t h i s r o u t i n e d i s p l a y s

t h f i r s t r e c o r d i t h d a t a f i l e w i t ht h f o l l o w i n g c o m m a n d s b e l o wt h r e c o r d :[ R E C O R D N U M B E R 1 I F I L E ( n a m eo d a t a f i l e )( R e c o r d d a t a )[ N ] E X T , [ L ] A S T , [ J ] U M P , [ F ] I N D , [ E ] X I T

P r e s s i n g c a u s e s t h s c r e e nt s t e p t t h n e x t r e c o r d . Y o c a w a l k t h r o u g h y o u r e n t i r e d t a f i l e , o n r e c o r d a t i m e , u t y o u r e n r e c o r d w i t h t h i s c o m a n d . s t e p s y o b a c k w a r d s ,d e c r e m e n t i n g e a c h r e c o r d n u b e b o n e , t p r e v i o u s r e c o r d s .

a l l o w s y o t j u m p d i r e c t l yt p a r t i c u l a r r e c o r d n u m b e r ,i n s t e a d o s t e p p i n g o n b o n e .Y o u ' l l b a s k e d f o t h r e c o r dn u m b e r ; t h e n e n t e r y o u r c h o i c ea n p r e s s t h r e t u r n k e y .

i s e a r c h f u n c t i o n t h a t a l l o w sy o t f i n d r e c o r d f i e l d s t h a t s h a r ec o m m o n i t e m s o d a t a . T h s c r e e nd i s p l a y s l i s t o t h f i e l d n a m e s o t h c u r r e n t d a t a f i l e , t h e n a s k s y o

t e n t e r t h n u m b e r o t h f i e l d y o w i s h t s e a r c h . T h f i e l d n a m e i t h e n d i s p l a y e d a n y o u ' r e a s k e dt E N T E R [ C O M M O N I T E M ] . E t e t h s t r i n g o t e x t t h a t i t b s e a r c h e d a n p r e s s t h e r e t u r n k e y .

F o e x a m p l e , i y o c h o s ef i e l d t h a t w a n a m e d F i r s t N a m e ,y o m i g h t e n t e r t h s t r i n g J I M .T h c o m p u t e r w i l l s e a r c h o u a l r e c o r d s t h a t b e g i n w i t h J I i t h F i r s t N a m e f i e l d .

N o o n l y w o u l d J I c o m e u p b u J I M M Y w o u l d a l s o b d i p l a y e d b e c a u s e i b e g i n s w i t hJ I M . E n t e r i n g w o u l d c a u s e as e a r c h o a l s t r i n g s i p a r t i cu l a r f i e l d t h a t b e g a n w i t h A a n s o n P r e s s t c o n t i n u e t t h n e x t r e c o r d i t h s e a r c h .

S O R T R E C O R D S B F I E L DT h f i e l d n a m e s w i l l b d i

p l a y e d , e a c h p r e c e d e d b n u m b e r , a n t h l i s t w i l l b f o l o w e d b y p r o m p t :W H I C H F I E L D I T B S O R T E D ?

E n t e r i n g o n o t h n u m b e r ss h o w n , f o l l o w e d b R E T U R N ,w i l l s e n d t h c o m p u t e r o f t o s o r to u t h a t p a r t i c u l a r f i e l d i a c e n d i n g a l p h a n u m e r i c a l o r d e r .T h c o m p u t e r w i l l t e l l y o h o i t ' s d o i n g d u r i n g t h p r o c e s s b f l a s h i n g t h n u m b e r o t h r e c o r di t ' s c u r r e n t l y w o r k i n g o n

D a t a f i l e u s e s a S h e l l - M e t z l e rs o r t r o u t i n e . A l t h d a t a i t e m se n t e r e d i n t o D a t a f i l e a r e s t o r e da s t r i n g v a l u e s i t h a r r a y s ,

Page 10: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 10/73

w h e t h e r t h e v a l u e i i t h f o r mo a l p h a b e t i c a l c h a r a c t e r s o n u m b e r s . T h e r e f o r e , h e r e i p o i n t t o c o n s i d e r i t h s o r t i n go f s t r i n g v a r i a b l e s t h a t a r n u b e r s : T h f i r s t n u m b e r e n c o u nt e r e d w i l l b c o n s i d e r e d t h f i r s tc h a r a c t e r u s e d f o c o m p a r i n ga g a i n s t a n o t h e r n u m b e r .

( N o t e : A n d e s i r e d s o r t i n gs h o u l d b d o n e b e f o r e a d v a n ci n t t h P r i n t s u b p r o g r a m s .T h e r e i n f a c i l i t y f o s o r t i n g t h r e c o r d s i t h o s e p r o g r a m s . )

W R I T E N E F I L E T D I S KE n t e r i n g t h i s r o u t i n e p r o d u c e s

t h i s d i s p l a y :E N T E R N A M E O C U R R E N T F I L E T B S A V E D ( 1 C H A R A C T E R S M A X ) .A N E X I S T I N G F I L E W I T H T H S A M EN A M E W I L L B S C R A T C H E D

A m e n t i o n e d p r e v i o u s l y , D a t a f i l e a d d s s p e c i a l c h a r a c t e rc o d e s t t h b e g i n n i n g o y o u rd a t a f i l e s a n f o r m a t f i l e s . T h i s e s u r e s t h a t p r o g r a m s w i l l l o a dt h e i r o w f i l e s a n a l l o w t h m u t i p l e u s o t h s a m e f i l e n a m e s .

W r i t i n g y o u r c u r r e n t d a t a f i l eo n t o t h d i s k i n v o k e s t h f o l l o wi n o p e r a t i o n s :

D a t a f i l e M a i l L i s t w a r e a di n t o m e m o r y f r o m t h d i s k . I a p e a r s o t h d i s k d i r e c t o r y a D F M A I L L I S T .

T h c u r r e n t f i l e h a b e e n u d a t e d a n t h f i l e i s e n t e r e d , f o

w r i t i n g t h f i l e t t h d i s k , e x a c t l ya t h n a m e t h a t i w a r e a df r o m : M A I L L I S T .

T h p r o g r a m w i l l c h a n g e D F M A I L L I S T , t h n a m e o t h l a s tf i l e o t h d i r e c t o r y , t D F M A I LL I S I O L D . N o t i c e t h a t t h l a s t f o u rc h a r a c t e r s i t h e 1 6 - c h a r a c t e rf i l e n a m e w i l l b r e p l a c e d w i t h! O L D .

T h c u r r e n t u p d a t e d f i l e w i l lt h e n b s a v e d a D F M A I LL I S T .

I D F M A I L L I S I O L D w a a r e a d y o t h d i s k d i r e c t o r y , t h a tf i l e w o u l d b s c r a t c h e d b e f o r et h M A I L L I S T f i l e w a r e n a m e d .

I e s s e n c e , D a t a f i l e a l w a y sk e e p s y o u r c u r r e n t d a t a f i l e a w e l l a s y o u r l a s t d a t a f i l e . T h i sg i v e s y o t h o p p o r t u n i t y t o r ec a p t u r e t h l a s t v e r s i o n o y o u rd a t a . I y o d e s i r e t l o a d t h l a s t v e r s i o n f r o m t h R e a d O l F i l e o t h m e n u , e n t e r M A I LL I S I O L D . D n o i n c l u d e o t h d i r e c t o r y t h s p e c i a l c h a r a c t e r ss h o w n a t h b e g i n n i n g o t h f i l e n a m e .

I f o s o m e r e a s o n y o d e s i r e t k e e p t h ! O L D f i l e s , y o m u s t g i v et h e m n e n a m e t k e e p f r o ms c r a t c h i n g t h e m l a t e r . ( R e m e m b e r ,d n o e x c e e d 1 c h a r a c t e r s . )

D I S K C O M M A N D SP r e s s i n g s e n d s y o t t h

d i s k c o m m a n d s m e n u . P r e s s i n gs e n d s y o u b a c k t t h m a i n

Page 11: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 11/73

m e n u . T h o t h e r o p t i o n s a r d s c r i b e d a f o l l o w s :

F O R M A T D I S KT h i s f e a t u r e a l l o w s y o t f o

m a t a b l a n k d i s k f o l a t e r u s i s a v i n g f i l e s . M a k e s u r e t h a t t h d i s k y o u h a v e i t h d r i v e i t h d i s k t h a t y o u w a n t f o r m a t t e d , b c a u s e t h i s w i l l e r a s e y o u r d i s kc o m p l e t e l y ![ D I S K N A M E . I D ] ?

I n s e r t d i s k i n t o t h d i s k d r i v e .E n t e r a u t 1 6 - c h a r a c t e rh e a d e r f o t h d i s k n a m e , f o l o w e d b c o m m a a n t h e n

2 - c h a r a c t e r d i s k I . D . , f o l l o w e db R E T U R N . ( F o r e x a m p l e : D A T A F I L E F I L E S . D 2 . ) T h d r i v e w i l lc o m m e n c e t f o r m a t t h d i s k( t a k e s a p p r o x i m a t e l y 3 1 / 2 m i u t e s ) . W h e n i i f i n i s h e d , y o w i l lb r e t u r n e d t t h m e n u .

D I S K D I R E C T O R YP r e s s i n g t h s h i f t e d k e w i l l

l i s t t h d i r e c t o r y o t h d i s k c u r e n t l y i t h d r i v e . P r e s s a n k e t g e b a c k t t h m e n u .

S C R A T C H S E Q U E N T I A L F I L ET h i s f e a t u r e w i l l s c r a t c h a n s

q u e n t i a l f i l e l o c a t e d o t h d i s k .W h e n p r o m p t e d , y o m u s t e n t e rt h f i l e n a m e e x a c t l y a i a p p e a r so t h d i r e c t o r y . F o e x a m p l e ,t h D a t a f i l e f i l e c a l l e d M a i l L i s t i s h o w n o t h d i r e c t o r y a D F M a i l L i s t , a n t h D F M a i l f o r m a tf i l e c a l l e d M a i l L i s t a p p e a r s a M L M A I L L I S T . E n t e r e v e r y

c h a r a c t e r a s h o w n a n p r e s st h r e t u r n k e y .

T h i s r o u t i n e w i l l r e n a m e s q u e n t i a l f i l e . E n t e r t h e o l n a m ee x a c t l y a s h o w n o t h d i r e ct o r y . E n t e r t h n e n a m e w h e np r o m p t e d . R e m e m b e r t i n c l u d et h s p e c i a l c h a r a c t e r s t h a t p r e -c e e d e d t h o l n a m e ; o t h e r w i s e ,D a t a f i l e w i l l n o r e c o g n i z e t h n e w l y n a m e d f i l e .

D F M A I L I N S T R U C T I O N SY o l o a d D F M a i l u s i n g t h

p r i n t o p t i o n s f o u n d i D a t a f i l e . I i a s s u m e d t h a t d a t a f i l e i c u r e n t l y h e l d i m e m o r y ; o t h e r w i s et h e r e w i l l b n o t h i n g t p r i n t .

D F M a i l u s e s " O n e - u p " t r a c t o r -f e e d l a b e l s a n i a d a p t a b l e t a n l e n g t h o r w i d t h o l a b e l . T h s t a n d a r d s i z e l a b e l s ( w i t h 5 r o w so t e x t ) a r t h m o s t p o p u l a r a n m o s t e a s i l y o b t a i n a b l e , w i t h t h l a r g e s i z e ( r o w s ) b e i n g n e x t i l i n e . P r e s s e i t h e r t h o k e y .I y o h a v e l a b e l s o n o n - s t a nd a r d s i z e , c h o o s e t h ( o t h e r )o p t i o n i n s t e a d .O T H E R i a d a p t a b l e t l e y o c h o o s e t h n u m b e r o r o w s , f r o m

t ? a n t h n u m b e r o c h a ra c t e r s c a b e x p a n d e d f r o m t h s t a n d a r d 3 u t 1 3 6 . P u t t i n gy o u r p r i n t e r i n t o c o m p r e s s e dm o d e w i l l a l l o w m o r e c h a r a c t e r so l a b e l s o s t a n d a r d l e n g t h .S o m e l a b e l s t h a t f i t h n o n -t r a c t o r - f e e d p r i n t e r s g i v e y o t w a c r o s s t h p a g e . T h e s e l a b e l s ,w h i c h a r f o u r i n c h e s l o n g , a r

Page 12: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 12/73

u s e d i t h p r i n t e r h a o n l y p i f e e d ( O k i d a t a a n E p s o n , f o e a m p l e ) . T h e s e l o n g e r l a b e l s c a a c c o m m o d a t e 3 c h a r a c t e r s p e r o w , i d e s i r e d . D F M a i l , h o w e v e r ,w i l l o n l y p r i n t o t h l e f t m o s t l b e l s . Y o c a n , o c o u r s e , f e e dt h l a b e l s i b a c k w a r d s t u s t h o t h e r s i d e .

I < O i p r e s s e d , t h s c r e e nw i l l d i s p l a y :E N T E R N U M B E R O R O W S O L A B E L ?E N T E R N U M B E R O F C H A R A C T E R SP E R O W ?

E n t e r y o u r m o d i f i c a t i o n s w h e np r o m p t e d . T h n e x t s c r e e ns h o w s t h m a i n m e n u f o t h m a i l i n g l a b e l s p r o g r a m .[ M A I L I N G L A B E L S M E N U ][ P ] R E - D E F I N E D F O R M A T O [ D ] E F I N E N E F O R M A T[ C ] H A N G E L A B E L S I Z E[ E ] X I T T M A I N P R O G R A M O [ R ] E P O R T / L I S T I N G P R O G R A M[ Q ] U I T P R O G R A M

P r e s s i n g t h k e r e l o a d sD a t a f i l e i n t o m e m o r y w i t h o u t d i t u r b i n g t h r e c o r d d a t a . c l o s e st h f i l e s a n t e r m i n a t e s t h e n t i r ep r o g r a m . E n d i n g h e r e w i p e s o u a l d a t a . D t h i s o n l y i y o h a v en o u p d a t e d a n r e c o r d s a n i y o h a v e y o u r c u r r e n t d a t a f i l es t o r e d o d i s k . Y o w i l l b w a r n e d i y o u h a v e n o d o n e s o

R l o a d s t h s u b p r o g r a mD F R e p o r t d i r e c t l y , i n s t e a d o h a

i n t g b a c k t t h D a t a f i l ep r o g r a m . s e n d s y o b a c k t t h f i r s t s c r e e n t h a t y o e n c o u nt e r e d w h e n y o e n t e r e d D F M a i l .T h i s a l l o w s y o t a l t e r t h s i z eo y o u r l a b e l s a n p r i n t o u t s .

F O R M A T T I N G Y O U R L A B E L SF o r m a t t i n g o p r i n t e r o u t p u t s

m a b t h m o s t c o n f u s i n g a p e c t o d a t a b a s e . Y o m u s t b a b l e t v i s u a l i z e h o y o u w a n tt h f i n a l r e s u l t t a p p e a r .

O n c e y o u h a v e f o r m a t t e d l a b e lo r e p o r t ( w h e n u s i n g D F R e p o r t ) ,y o u ' l l b a b l e t s a v e y o u r d e s i g nf o f u t u r e r e c a l l . F r o m t h e n o n w h e n y o u w a n t t p r i n t y o u r l a b e l s ,y o u ' l l b a b l e t b r e e z e b t h f o m a t t i n g r o u t i n e s .

L e t ' s d e s i g n s a m p l e m a i l i n gl a b e l t h a t w i l l p r o b a b l y m e e tm o s t o y o u r n e e d s . B e f o r ed o i n g t h i s , y o u m u s t h a v e p r v i o u s l y c r e a t e d d a t a f i l e t h a t ' sc o m p a t i b l e w i t h y o u r l a b e l f o m a t . T h d a t a f i l e w i l l h a v e t h f o l l o w i n g s t r u c t u r e :N a m e o d a t a f i l e : M A I L L I S TN u m b e r o f i e l d s :

F i e l d # F i e l d n a m e F i e l d l e n g t h

L A S T N A M E 1 F I R S T N A M E 1 C O D ES T R E E T 3 C I T Y 2 3S T A T E

7 Z I PP H O N E 1

Page 13: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 13/73

M o d i f i c a t i o n s t t h a b o v ed a t a f i l e m i g h t i n c l u d e s e c o n da d d r e s s l i n e ( e . g . , C O M P A N YN A M E ) . T h e p h o n e n u m b e r i i n c l u d e d i t h d a t a f i l e , b u w i l ln o b p r i n t e d o t h l a b e l s . T h f i e l d C o d e m a b u s e d f o c l a ss i f y i n g t h r e c o r d s ( e . g . , R r e a t i v e s , f r i e n d s , b u s i n e s sa s s o c i a t e s ) , o f o a e m p l o y e en u m b e r , p r o f e s s i o n a l t i t l e o a a c c o u n t n u m b e r f o b u s i n e s sp u r p o s e s .

D E F I N E N E F O R M A TN o t h a t t h d a t a f i l e i d

f i n e d , a n a s s u m i n g t h a t r e c o r d sa r p r e s e n t , l e t ' s r e t u r n t o w h e r ew l e f t D F M a i l . P r e s s i n g i t h M a i l i n g L a b e l s m e n u r e s u l t s i t h i s d i s p l a y , w h i c h w i l l i n d i c a t e ,b y r o w s a n c h a r a c t e r s , w h i c hl a b e l s i z e h a b e e n c h o s e n :[ M A I L I N G L I S T F O R M A T ]T H I S F O R M A T U S E S S I N G L E R O L A B E L S .E A C H L A B E L C O N T A I N S U T R O W S .E A C H R O C A C O N S I S T O T F I E L D S .I T H L E N G T H O F M U L T I P L E I T E M SE X C E E D S 3 C H A R A C T E R S , S O M ED A T A W I L L B C U O F [ N U M B E R O R O W S ? ]

A t h i s p o i n t , l e t ' s p a u s e t d i c u s s w h a t y o u r l a b e l w i l l l o o kl i k e . R o w i l l i n c l u d e r e c o r df i e l d s 2 , a n ( L A S T N A M E

F I R S T N A M E C O D E ) , i t h a t o r d e r . R o w i l l o n l y h a v er e c o r d f i e l d ( S T R E E T ) . R o w i l l c o n s i s t o r e c o r d f i e l d s 5 a n ( C I T Y S T A T E Z I P ) .R o w s a n w i l l n o b u s e d .

T h l a b e l s h o w n o t h s c r e e ni d i v i d e d i n t o f i e l d s p e r o w .T h e s e a r f o r m a t f i e l d s , n o r e o r f i e l d s . T r n o t g e t h e mc o n f u s e d . E n t e r f o t h N U B E O R O W S a n p r e s s t h r e t u r n k e y .

C H O O S E W H I C H F I E L D S G I W H I C H R O E N T E R [ 0 ] I F A D D I T I O N A L F I E L D SA R N O D E S I R E D .

L A S T N A M EF I R S T N A M EC O D ES T R E E TC I T YS T A T EZ I P H O N E

R O F I E L D 1

F i e l d 1 , i n t h i s c a s e , r e f e r s t ot h f i r s t f i e l d o i t e m o t h f i r s tr o w . I t h i s f i e l d w w i l l p l a c er e c o r d f i e l d 2 w h i c h i d i s p l a y e do t h l e f t o t h e s c r e e n . R s p o n d t t h p r o m p t s o t h r i g h t o t h s c r e e n a s f o l l o w s :R O p r e s s t h r e t u r n k e F I E L D 1 a f t e r e a c h e n t r yF I E L D 2 F I E L D 3 ? 3R O F I E L D 1 F I E L D 2 F I E L D 3

Page 14: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 14/73

R O F I E L D 1 F I E L D 2 F I E L D 3

T h s c r e e n w i l l n o d i s p l a y :Y O W I S H T R E V I E W Y O U R F O M A T A N D / O R M A K E C O R R E C T I O N S ?[ Y O [ N

P r e s s i n g w i l l r e p e a t t h e l a s ts c r e e n , e x c e p t t h a t t h e r e c o r d -f i e l d n u m b e r s w i l l a p p e a r a f t e rt h f o r m a t - f i e l d p r o m p t s . P r e s st a d v a n c e i n t o t h p r o g r a m .[ S A V E F O R M A T ] [ Y O [ N ] ?S A V E U N D E R W H A T F I L E N A M E ?

M A I L T E S T

Y o w i l l n o t i c e t h a t t h p r g r a m p r e p r i n t s t h f i l e n a m e t h a tw a d e t e r m i n e d w h e n y o u r d a t a f i l e w a s a v e d o l o a d e d d u r i n g

d i s k o p e r a t i o n . T h i s l i n k s r e o r a n f o r m a t f i l e s t o g e t h e r s t h a t y o w i l l n o h a v e t r e m e mb e d i f f e r e n t n a m e s . A t h i s p o i n t ,a n f o r m a t f i l e s w i t h t h n a m eM a i l L i s t w i l l b s c r a t c h e d a t h i sn e f o r m a t i s a v e d . U n l i k e t h d a t a f i l e s , f o r m a t f i l e s w i l l n o b g i v e n b a c k u p w h e n f i l e o t h s a m e n a m e i r e s a v e d a f t e rc h a n g e s . C h a n g e t h n a m e o t h f o r m a t f i l e a t h i s t i m e i y o w a n t t r e t a i n t h o l d f o r m a t , a n p r e s s t h r e t u r n k e y .

T h p r o g r a m w i l l t h e n a d v a n c et w h e r e t h l a b e l s a r e a l i g n e di t h p r i n t e r . J u m p t h e r e n o i y o w i s h , b e c a u s e t h e n e x t f e p a r a g r a p h s w i l l d i s c u s s t h e s i t u

a t i o n w h e r e t h e u s e r l o a d s i p r e d e f i n e d f o r m a t .

P R E D E F I N E D F O R M A TA f t e r p r e s s i n g a t h M a i l i n g

L a b e l s m e n u , t h s c r e e n w i l ld i s p l a y :L O A D F O R M A T F R O M W H A T F I L E ?

M A I L T E S TT h p r o m p t s h o u l d p r e p r i n t t h

l a s t - u s e d f i l e n a m e . I M A I L T E S Ti t h c o r r e c t f o r m a t f i l e , p r e s s r t u r n . A s o o n a t h f i l e i l o a d e d ,t h p r o g r a m w i l l d i s p l a y :D Y O W I S H T R E V I E W Y O U RF O R M A T A N D / O R M A K E C O R R E CT I O N S ? [ Y O [ N

T h i s i t h s a m e q u e s t i o na s k e d w h e n y o f i r s t d e s i g n e dt h f o r m a t . I y o a r n o s u r e i t h f o r m a t y o l o a d e d w a t h c o r r e c t o n e , y o m a c h e c k i a t h i s t i m e . T h i s i a l s o g o o do p p o r t u n i t y t m a k e s l i g h tc h a n g e f o o n e - o f - a - k i n d j o b .P r e s s N T h s c r e e n w i l l d i s p l a y :S A V E F O R M A T ? [ Y O [ N T h i s m a s e e m r e p e t i t i v e , b u i a l l o w s y o t s a v e c h a n g e df o r m a t , o t s a v e t h c u r r e n t o n u n d e r n e n a m e o o n n e d i s k . P r e s s N T h p r o g r a m w i l ln e x t d i s p l a y :I N S E R T S I N G L E R O T R A C T O R F E E DL A B E L SR U T E S T L A B E L S T O H E L P P O S IT I O N L A B E L SP R E S S [ T ] E S T L A B E L

[ C ] H O O S E R E C O R D S

Page 15: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 15/73

P r e s s i n g w i l l p r i n t r o w s o a s t e r i s k s . T h e n u m b e r o r o w sa n c h a r a c t e r s s h o u l d r e f l e c ty o u r l a b e l s i z e a n f o r m a t . P s i t i o n t h l a b e l s i y o u r p r i n t e rs t h a t t h r o w s a p p e a r c e n t e r e do t h l a b e l . O n c e t h l a b e l s a r a l i g n e d , p r e s s t a d v a n c e t t h P r i n t O p t i o n s m e n u , w h e r ey o w i l l c h o o s e t h r e c o r d s t p r i n t .P R I N T O P T I O N S M E N U[ A ] L L R E C O R D S I F I L E[ S ] E L E C T I N D I V I D U A L R E C O R D[ F ] I N D R E C O R D S W I T H C O M M O NF I E L D S[ E ] X I T T M A I N M E N U[ P R E S S T H A P P R O P R I A T E K E Y ]

A t h i s t i m e , y o a c t u a l l y d c i d e w h i c h r e c o r d s y o w a n t t p r i n t , a n t h e n b e g i n p r i n t i n g . ( I f ,a a n t i m e , y o d e c i d e t h a t y o w a n t t l e a v e t h i s s e c t i o n — b ef o r e o a f t e r p r i n t i n g — p r e s st g e b a c k t t h m a i n m e n u . )T h c h o i c e s a r a f o l l o w s :

A L R E C O R D S I F I L ET h p r i n t e r w i l l s t a r t p r i n t i n g

f r o m r e c o r d n u m b e r u n t i l i h a p r i n t e d y o u r e n t i r e d a t a f i l e . S i b a c k w i t h c u o c o f f e e i y o h a v e l a r g e f i l e .

S E L E C T I N D I V I D U A L R E C O R DT h i s g i v e s y o t h e o p p o r t u n i t y

t p r i n t j u s t o n l a b e l o y o u rc h o i c e . T h i s a s s i s t s y o i m a i n l a s t m i n u t e c o r r e c t i o n s o

p r i n t i n g j u s t f e r e c o r d s o u o y o u r d a t a f i l e . T h s c r e e n d i p l a y s P R I N T W H I C H R E C O R D ?E n t e r t h e r e c o r d n u m b e r , t h e np r e s s r e t u r n . I y o t y p e i n u b e h i g h e r t h a n t h s i z e o f y o u rd a t a f i l e , y o w i l l r e c e i v e a e r r o rm e s s a g e . Y o m u s t p r i n t s o m et h i n g t g e b a c k t t h m e n u .

F I N D R E C O R D S W I T HC O M M O N F I E L D S

T h i s s e a r c h r o u t i n e o p e r a t e si d e n t i c a l l y t t h o n i t h v i e wo p t i o n o t h D a t a f i l e p r o g r a m .T h s c r e e n w i l l d i s p l a y a l t h f i e l d n a m e s i y o u r d a t a f i l e t h e l p y o s e a r c h . T h f o l l o w i n gl i s t i f r o m t h d a t a f i l e c a l l e dM A I L L I S T . F o t h i s e x a m p l e , w w i l l s e a r c h f o a l l a s t n a m e s b g i n n i n g w i t h S F I N D R E C O R D S W I T HC O M M O N F I E L D S

L A S T N A M EF I R S T N A M EC O D ES T R E E TC I T YS T A T EZ I P H O N E

W H I C H F I E L D I T B S E A R C H E D ?

E N T E R [ C O M M O N I T E M ] ( T H E E T I R E S T R I N G I N O R E Q U I R E D )[ L A S T N A M E ]S E A R C H I N G R E C O R D

1

Page 16: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 16/73

I y o f o l l o w e d t h e a b o v e s q u e n c e , t h s y m b o l w i l l b a i n c r e m e n t i n g n u m b e r t h a t w i l ls t o p w h e n t h p r o g r a m f i n d sr e c o r d w i t h l a s t - n a m e f i e l d b g i n n i n g w i t h S I w i l l t h e n p r i n to u t h a t r e c o r d a n i n i t i a t es e a r c h f o a n o t h e r . I y o h a p r e v i o u s l y s o r t e d t h i s f i l e b l a s tn a m e , a l t h S ' w o u l d b p r i n t e d o n a f t e r a n o t h e r . T h p r o g r a m w i l l c o n t i n u e s e a r c h i n gu n t i l i r u n s o u o r e c o r d s . I w i l lt h e n s e n d y o b a c k t t h p r i n to p t i o n s m e n u .

I y o h a t y p e d i S W Y -K O W S K I f o t h l a s t n a m e , o n l yt h o s e r e c o r d s t h a t p e r f e c t l ym a t c h e d , o b e g a n w i t h S W Y -K O W S K I , w o u l d b p r i n t e d .F o b u s i n e s s a p p l i c a t i o n , y o c o u l d u s t h i s f e a t u r e t g r o u pm a i l b z i c o d e . I i a l s o p o s i b l e t o p r i n t o n l y t h o s e r e c o r d st h a t h a v e s p e c i a l c o d e t h a t w a p r e v i o u s l y e n t e r e d i t h c o d ef i e l d o t h r e c o r d .

D F R E P O R T I N S T R U C T I O N SJ u s t a w i t h D F M a i l , y o l o a d

D F R e p o r t u s i n g t h e p r i n t o p t i o n si D a t a f i l e , a n d , a g a i n , i t ' s a s u m e d t h a t d a t a f i l e i i m e o r y ; o t h e r w i s e t h e r e i n o t h i n g t p r i n t .

T h R e p o r t P r i n t o u t m e n u f u n ct i o n s l i k e D F M a i l . P r e s s i n g r l o a d s D a t a f i l e b a c k i n t o m e m o r yf o f u r t h e r u p d a t e s w i t h o u t d i t u r b i n g t h r e c o r d d a t a . c l o s e s

t h f i l e s a n t e r m i n a t e s t h e e n t i r ep r o g r a m . E n d i n g h e r e w i p e s o u a l d a t a . D t h i s o n l y i y o h a v en o u p d a t e d a n r e c o r d s a n i y o h a v e y o u r c u r r e n t d a t a f i l es t o r e d o d i s k . Y o w i l l b w a r n e d i y o f a i l t d s o l o a d s t h e p r o g r a m D F M a i l d r e c t l y , w i t h o u t f i r s t h a v i n g t l o a d D a t a f i l e .

L I S T R E C O R D S U N F O R M A T T E DT h i s f u n c t i o n i b f a t h s i

p l e s t w a t g e h a r d c o p y o y o u r d a t a f i l e . P r e s s i n g r e s u l t s i n [ P R I N T O P T I O N S M E N U ][ A ] L L R E C O R D S I F I L E[ S ] E L E C T I N D I V I D U A L R E C O R D[ F ] I N D R E C O R D S W I T H C O M M O NF I E L D[ E ] X I T T M A I N M E N UP O S I T I O N P A P E R I P R I N T E R A T O O F P A G E[ P R E S S T H A P P R O P R I A T E K E Y ]

T h i s m e n u f u n c t i o n s e x a c t l y a t h o n i D F M a i l , w i t h o n e c e p t i o n . I n s t e a d o c e n t e r i n gy o u r m a i l i n g l a b e l , y o a r r q u i r e d t a d v a n c e y o u r p r i n t e r t t h t o o t h e n e x t p a g e . r e o r p r i n t e d u n f o r m a t t e d w i l l h a v et h r e c o r d d a t a p r i n t e d i r o w s ,w h i c h w a s t e s c o n s i d e r a b l e p p e r . A l t h o u g h t h i s p r i n t o u t i q u i c k - a n d - d i r t y , i c a b c u o u a n p a s t e d o n t o c a r d s o f i l e di s m a l l c a b i n e t s o f o l d e r s .

Page 17: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 17/73

P R E - D E F I N E D F O R M A TP r e s s i n g r e s u l t s i n

L O A D F O R M A T F R O M W H A T F I L EM A I L L I S T

E n t e r t h d a t a f i l e f o r m a t t b u s e d f o p r i n t i n g y o u r r e p o r t ,t h e n p r e s s t h r e t u r n k e y . T h n a m e o t h l a s t d a t a f i l e l o a d e di D a t a f i l e w i l l b p r e p r i n t e d f o y o a f t e r t h p r o m p t . C h a n g e t h n a m e b o v e r s t r i k i n g . T h s c r e e nt h e n d i s p l a y s :D Y O W I S H T O R E V I E W Y O U RF O R M A T A N D / O R M A K E C O R R E CT I O N S [ Y O [ N ] ?

P r e s s i n g s e n d s y o t h r o u g ht h D e f i n e N e F o r m a t r o u t i n e .T h c u r r e n t v a l u e s o y o u r f o r m a tw i l l b d i s p l a y e d . A l t e r b o v e r -s t r i k i n g t h e v a l u e s a n p r e s s i n gr e t u r n . A l s o p r e s s r e t u r n t o a c e p t t h v a l u e s . P r e s s i n gg i v e s :S A V E F O R M A T [ Y O [ N ] ?I y o m a d e a n c h a n g e s , g a h e a d a n r e s a v e y o u r n e f o m a b p r e s s i n g Y K e e p i n g t h s a m e f i l e n a m e w i l l s c r a t c h t h o l d f o r m a t . A f t e r N y o w i l l p r g r e s s t t h P r i n t O p t i o n s m e n u ,p r e v i o u s l y d e s c r i b e d .

D E F I N E N E F O R M A TT h i s r o u t i n e c r e a t e s a c u s t o m

f o r m b a s e d o y o u r d e s i g n . I w o u l d b e g o o d i d e a t s k e t c ho u o s h e e t o g r a p h p a p e ro p r o g r a m m e r ' s p a w h a t y o uw a n t y o u r r e p o r t t l o o k l i k e . Y o w i l l n e e d t d e c i d e t h f o l l o w i n g :

1 H o m a n y c h a r a c t e r s w i d ew i l l t h r e p o r t b e U t 1 3 c h a r a c t e r s m a b p r i n t e d , i y o u r p r i n t e r i c a p a b l e o c o p r e s s i n g t e x t . 8 c h a r a c t e r s i n o r m a l . R e p o r t w i d t h s l e s s t h a n8 c h a r a c t e r s w i l l b p r i n t e d l e f t -j u s t i f i e d o t h p a p e r .2 H o s h o u l d y o u r t i t l e r e a d ?U t f o u r l i n e s a r p o s s i b l e , a n t h e y w i l l b c e n t e r e d a t h t o o t h p a g e .3 H o m a n y c o l u m n s w i l l y o n e e d ? T h i s w i l l d e p e n d o w h i c hf i e l d s o y o u r d a t a f i l e y o w i l lw a n t l i s t e d . U t e i g h t c o l u m n sa r a l l o w e d .4 W h a t i t h w i d t h , i c h a r a ct e r s , o e a c h c o l u m n ? T h i s w i l ld e p e n d o t h c o m b i n e d c h a ra c t e r l e n g t h o t h r e c o r d f i e l d st h a t y o c h o o s e f o e a c h c o u m n . T h t o t a l n u m b e r o c h a ra c t e r s p e r m i s s i b l e i a l t h c o l u m n s c o m b i n e d i 8 ( o 1 3 w i t h p r i n t e r s i c o m p r e s s e d p r i n tm o d e ) , w i t h t w c h a r a c t e r s b t w e e n c o l u m n s . C h o o s i n g e i g h tc o l u m n s l e a v e s y o u 7 6 c h a r a ct e r s f o r e c o r d f i e l d s ( 1 c h a ra c t e r s u s e d i s p a c i n g ) .5 W h i c h r e c o r d f i e l d s w i l l b i e a c h o t h c o l u m n s ? A i f o m a t t i n g D F M a i l m a i l i n g l a b e l s , y o w i l l b a b l e t c o m b i n e u p t t h r e er e c o r d f i e l d s i e a c h c o l u m n .6 W h a t w i l l b t h h e a d e r n a m eo e a c h c o l u m n ? h e a d e r n a m ec a n n o t b l o n g e r t h a n t h c h o s e nw i d t h o t h c o l u m n .7 W i l l y o n e e d t t o t a l t h c o n -

1

Page 18: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 18/73

t e n t s o c o l u m n ? I s o o n l y t h T r t r e m e m b e r t h l e n g t h o l a s t c o l u m n m a b u s e d f o t o t a l - e a c h f i e l d i n t h d a t a f i l e t h a t w i l li n g . T h c o l u m n m u s t o n l y c o n t a i n b e o n t h i s r e p o r t . I t h r e c o r do n f i e l d t h a t h a n u m e r i c d a t a . N d a t a c o n t a i n e d w i t h i n t h f i e l d i s p e c i a l j u s t i f i c a t i o n w i l l b p e r - l o n g e r t h a n t h w i d t h o t h r f o r m e d . U s D F C A L C f o m o r e p o r t c o l u m n , s o m e e n c h a r a c -s o p h i s t i c a t e d r e p o r t . t e r s w i l l b c u o f f .

1

Page 19: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 19/73

D a t a f i l e F a s t P r i n tN m o r e e n d l e s s w a i t i n g f o r y o u r d a t a b a s e r e c o r d s t p r i n t o u L e D F P r i n t s p e e d t h i n g s u f o y o u .B M i k e K o n s h a k

R U I R i g h tC - 6 4 ; C - 1 2 8 ( i C - 6 4 m < k ) ; 1 5 4 1 d i s k d r i v e

A n y A S C I I o C o m m o d o r e p r i n t e rD F P r i n t i a i n d e p e n d e n t p r

g r a m t h a t r e a d s y o u r d a t a f i l e d r e c t l y f r o m t h d i s k d r i v e a n d ,u s i n g y o u r p r e d e f i n e d f o r m a tf i l e s , p r i n t s y o u r r e p o r t s o r l a b e l sw i t h o u t i n t e r r u p t i o n . M 4 5 0 - r e c -o r d a t a f i l e n o t a k e s o n l y 1 m i n u t e s t p r i n t o u t !

I y o u ' r e a l r e a d y f a m i l i a r w i t hu s i n g D F R e p o r t o D F M a i l , y o u ' l ln o t i c e m a n y s i m i l a r i t i e s i t h m e n u s a n s e q u e n c e o o p e r at i o n . B o t h r e p o r t a n l a b e l f u n ct i o n s a r c o m b i n e d i D F P r i n t ,w i t h o n a d d i t i o n a l f e a t u r e —D F P r i n t l e t s y o u s e n d p r i n t e rc o m m a n d s w i t h o u t e x i t i n g t h p r o g r a m .

D F P R I N T I N S T R U C T I O N ST l o a d t h e p r o g r a m , t y p eL O A D " D F P R I N T " , 8 < r e t u r n > ,

t h e n R U r e t u r n > .N o t e t h a t r e v e r s e d s c r e e n

c h a r a c t e r s a r e n c l o s e d i b r a c k e t s i t h t e x t . K e y s t b p r e s s e d a r s u r r o u n d e d b i n e q u a l i t y s i g n s ( > )

I n s e r t t h d i s k c o n t a i n i n g t h es e q u e n t i a l d a t a f i l e s c r e a t e db D a t a f i l e . P r e s s i n g w i l l d i p l a y t h d i s k d i r e c t o r y , s y o m a v i e w t h f i l e s o t h d i s k .P r e s s i n g w i l l t e r m i n a t e t h eD F P r i n t p r o g r a m . P r e s s i n g w i l li n i t i a t e p r o m p t , a s k i n g f o t h n a m e o t h d a t a f i l e t h a t y o w a n t p r i n t e d . E n t e r t h n a m e o t h f i l e ( M A I L L I S T , f o e x a m p l e ) ,t h e n p r e s s t h r e t u r n k e y .

N o t e : D n o t e n t e r t h s p e c i a l

1

Page 20: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 20/73

c h a r a c t e r s a d i s p l a y e d o t h d i r e c t o r y . T h e s e c h a r a c t e r s ( D F ] ,R P a n M L ] ) k e e p r e l a t e d d a t a f i l e s a n f o r m a t f i l e s t o g e t h e rw i t h o u t c o n f l i c t i d u p l i c a t en a m e s .

I y o e n t e r e d f i l e n a m e t h a ti s n ' t p r e s e n t o t h d i s k , y o u ' l lr e c e i v e a e r r o r m e s s a g e a n m u s t t r a g a i n . H a v i n g s u c c e s sf u l l y o p e n e d a e x i s t i n g d a t a f i l e ,y o w i l l b p r e s e n t e d w i t h t h R e c o r d P r i n t o u t m e n u .

T h L i s t U n f o r m a t t e d o p t i o nl e t s y o p r i n t y o u r d a t a f i l e w i t h o u t

p r e d e f i n e d f o r m a t . T h r e c o r d sw i l l b n u m b e r e d a n p r i n t e d i r o w s , o n f i e l d a f t e r a n o t h e r .

P r e s s i n g w i l l i m m e d i a t e l ys t a r t t h e d i s k d r i v e , t u r n i n g o t h e r e d l i g h t , a n t h s c r e e n w i l ld i s p l a y t h P r i n t O p t i o n s m e n u .

P r e s s i n g c l o s e s t h c u r r e n tf i l e , t u r n i n g o f t h d r i v e l i g h t , a n s e n d s y o u b a c k t t h b e g i n n i n go t h p r o g r a m .

P r e s s i n g s t a r t s t h d r i v es p i n n i n g a n t h p r i n t e r p r i n t i n g .B e c a u s e t h p r i n t e r i s l o w e rt h a n t h d r i v e , y o u ' l l n o t i c e t h d r i v e ' s m o t o r t u r n i n g o a n o f d u r i n g t h e p r i n t i n g o p e r a t i o n a i w a i t s f o t h p r i n t e r t c a t c hu p I y o u r p r i n t e r h a 2 o l a r g e r b u f f e r , t h d r i v e w i l l n o c y c l e a o f t e n .

P r e s s i n g d i s p l a y s a l t h f i e l dn a m e s w i t h i n y o u r f i l e . Y o w i l ls e l e c t o n f i e l d t h a t t h p r o g r a mw i l l s e a r c h f o r .

A t h p r o g r a m s e a r c h e s , i d i p l a y s t h e r e c o r d n u m b e r c u r r e n t l yb e i n g p r o c e s s e d . E v e r y t i m e i f i n d s a " K " a t h f i r s t c h a r a c t e r i f i e l d # 1 i c a u s e s t h p r i n t e r t p r i n t t h r e c o r d . I t h e r e a r e n ' t a n r e c o r d s t h a t m a t c h y o u r e n t r y ,n o t h i n g i p r i n t e d .

C A U T I O N : O n c e t h p r i n t i n go p e r a t i o n h a s t a r t e d a n t h s q u e n t i a l f i l e i b e i n g r e a d , n i t e r r u p t i o n s w i l l b p e r m i t t e d . A n s i t u a t i o n t h a t c a u s e s t h o p e r at i o n t c e a s e w i l l f o r c e y o t r e s t a r t t h e n t i r e p r o c e s s .

A f t e r t h p r o g r a m f i n i s h e sr e a d i n g a n p r i n t i n g f i l e s , y o u ' l lb r e t u r n e d t t h b e g i n n i n g o t h p r o g r a m .

Y o c a c o n t i n u e w o r k i n g o t h f i l e y o o r i g i n a l l y o p e n e d ( i t h i s c a s e , M A I L L I S T ) . P r e s s i n g

s e n d s y o d i r e c t l y t t h R e o r P r i n t o u t m e n u a b e f o r e ,w h e r e y o c h o o s e o n o t h v a r i o u s o p t i o n s .

R E P O R T F O R M A TP r e s s i n g a t h R e c o r d P r i n t

o u m e n u i n i t i a t e s p r o m p t f o t h n a m e o t h r e p o r t f o r m a t f i l ey o u ' l l b u s i n g f o y o u r r e p o r t .T h n a m e o t h d a t a f i l e y o o r i g i n a l l y o p e n e d w i l l b s h o w n( M A I L L I S T ) . I t h i s i t h n a m eo t h f o r m a t f i l e y o w a n t t u s e ,p r e s s t h e r e t u r n k e y . O t h e r w i s e ,e n t e r a a l t e r n a t e n a m e .

1

Page 21: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 21/73

T h d i s k d r i v e w i l l l o a d t h f o m a i n t o m e m o r y . T h e P r i n t O t i o n s m e n u w i l l b d i s p l a y e d , a d e s c r i b e d a b o v e , w i t h n o t e t h a ts a y s " P o s i t i o n P a p e r i P r i n t e rA T o o P a g e . "

T h r e p o r t h e a d i n g w i l l t h e n b p r i n t e d , f o l l o w e d b t h s p i n n i n go t h d i s k d r i v e a n t h p r i n t i n go t h r e c o r d s . A u t o m a t i c p a g i n gw i l l o c c u r e v e r y 6 l i n e s , w i t h t h t i t l e s o c o l u m n s p r i n t e d a t h t o o e a c h p a g e . I y o h a v eD a t a f i l e 2 . 9 , t h s u m m a t i o n , o t o t a l i n g , o t h l a s t c o l u m n w i l lp e r f o r m a u s u a l , i f o r m a t t e da c c o r d i n g l y .

M A I L I N G L A B E L SP r e s s i n g a t h R e c o r d

P r i n t o u t m e n u w i l l a g a i n p r o m p tr e q u e s t f o t h n a m e o t h

m a i l i n g l a b e l f o r m a t t b u s e d .P r e s s t h r e t u r n k e o a l t e r t h d i s p l a y e d n a m e i a p p r o p r i a t e .

T h P r i n t O p t i o n s m e n u w i l la l s o d i s p l a y t e s t l a b e l o t i o n n o f o u n d i t h r e p o r ts e q u e n c e s .

E v e r y t i m e y o p r e s s T t h p r i n t e r p r i n t s s e r i e s o n u m e r a l sb a s e d u p o n t h e s e l e c t e d l a b e ls i z e . T h d e f a u l t s i z e i t h s t a nd a r d l a b e l . U s t h i s f u n c t i o n t a l i g n y o u r l a b e l s b e f o r e y o s t a r tp r i n t i n g r e c o r d s . R e m e m b e r ,o n c e y o s t a r t p r i n t i n g , t h e r e ' sn t u r n i n g b a c k !

C H A N G E L A B E L S I Z EP r e s s i n g a t h R e p o r t P r i n t

o u m e n u a l l o w s y o t c h a n g et h s i z e o f t h l a b e l s y o u ' r e p r i n ti n g . ( T h e f o r m a t o t h l a b e l s i s t i l l d e f i n e d b y o u r f o r m a t f i l e . )O n u s o t h i s f e a t u r e i t h a t y o m i g h t o b t a i n b a t c h o o d d - s i z e dl a b e l s t h a t y o u ' l l w a n t t u s w i t ha e x i s t i n g f o r m a t . A n o t h e r p o s i b i l i t y i t p r i n t o u a a d d r e s sf i l e , p r e v i o u s l y f o r m a t t e d f o l b e l s , o t r a c t o r - f e e d p o s t c a r d s .

M e a s u r e y o u r l a b e l s a n c o p a r e t h e m w i t h s h o r t p r i n t o u to y o u r f i l e . I y o u h a v e a l a b e lo s p e c i a l f o r m t h a t d o e s n o m e e t t h f i r s t t w c h o i c e s , o L t h e n p r e s s O Y o w i l l b g i v e n t h e f o l l o w i n g p r o m p t s :E N T E R N U M B E R O R O W S O N L B E L ?E N T E R O F C H A R A C T E R S P E R O W ?3 E n t e r t h d i m e n s i o n s t h a t w i l lp e r f o r m b e s t f o y o u . f e t r i a l sm a b n e c e s s a r y .

S E N D P R I N T E R C O M M A N D ST h i s r o u t i n e , o b t a i n e d w h e n

y o p r e s s a t h R e p o r t P r i n to u m e n u , a l l o w s y o t u t i l i z et h e v a r i o u s c a p a b i l i t i e s o f y o u rp r i n t e r .

I y o p r e s s t h k e y , y o u ' l lr e t u r n t o t h R e p o r t P r i n t o u tm e n u . N p r i n t e r c o d e s w i l l h a v eb e e n s e n t .

1

Page 22: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 22/73

P r e s s i n g p r i n t s t h a l p h a b e t b l e - S t r i k e m o d e ) . P r e s s e a c ho y o u r p r i n t e r i o r d e r f o y o t i m e t c h e c k t h c h a n g e s ,t s e w h a t e f f e c t y o u r c o m m a n d N o t e : D n o s e n d c o m m a n d sh a d o n t h p r i n t o u t . P r e s s i n g t h a t w i l l s k i p o v e r t h p e r f o r a t i o n sl e t s y o s e n d a n o t h e r s e r i e s o f o f t h e p a p e r , s i n c e t h r e p o r tc o d e s , e i t h e r t o c a n c e l t h c u r - p a r t o b o t h D F R e p o r t a n dr e n t m o d i f i c a t i o n o r t s e n d n e D F P r i n t w i l l t a k e c a r e o t h i so a d d i t i o n a l c o d e s ( y o u m i g h t t a s k .w a n t c o m p r e s s e d p r i n t i D o u -

1

Page 23: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 23/73

D F C a l cH e r e ' s h a n d y p r o g r a m t h a t l e t s y o r e t r i e v e f i l e s c r e a t e db D a t a f i l e a n p r o d u c e s p r e a d s h e e t - l i k e r e p o r t s .B M i k e K o n s h a k

R U I R i g h tC 6 4 ; C 1 2 8 ( i n C - 6 4 m d £ )

D F C a l c u s e s t h s e q u e n t i a lf i l e s t h a t w e r e p r e v i o u s l y w r i t t e nt t h d i s k b i t c o m p a n i o n p r g r a m , D a t a f i l e . D F C a l c i n o s u b p r o g r a m l i k e D F R e p o r t a n D F M a i l , w h i c h a r c o n t r o l l e d b D a t a f i l e . D F C a l c o p e r a t e s m u c hl i k e a n o t h e r c o m p a n i o n p r g r a m , D F P r i n t , i t h a t i o p e r a t e sd i r e c t l y o f t h s e q u e n t i a l f i l e sc o n t a i n e d o t h d i s k .

B e f o r e l o a d i n g D F C a l c , m a k es u r e y o h a v e a f i l e p r e v i o u s l yc r e a t e d b D a t a f i l e . T h f i l es h o u l d c o n t a i n t h e t y p e s o r e o r d s t h a t l e n d t h e m s e l v e s t c a l c u l a t i o n s o r t m a t h e m a t i c a lr e p o r t i n g .

L e t ' s a s s u m e t h a t D a t a f i l e p r v i o u s l y c r e a t e d f i l e c a l l e d I n v e nt o r y . I w o u l d a p p e a r o n t h d i s kd i r e c t o r y a " D F ] I N V E N T O R Y . "

T h r e c o r d s i I n v e n t o r y w i l lb u s e d t k e e p a r e c o r d f i l e o v a l u a b l e s f o i n s u r a n c e p u p o s e s . B e s i d e s r e p o r t i n g t h a t u a l r e c o r d s i I n v e n t o r y , i w o u l db u s e f u l t d e t e r m i n e e a c h i t e m ' sr e p l a c e m e n t c o s t .

I f f o e x a m p l e , s o m e o n e s t o l em c o m p u t e r o m h o u s e b u r n e dd o w n , w o u l d l i k e t k n o w t h r e p l a c e m e n t v a l u e o a i t e m o c o m p a r a b l e q u a l i t y , t a k i n g i n t oa c c o u n t a n a v e r a g e a n n u a l i n f l at i o n r a t e o f s a y , p e r c e n t . T h a g o e a c h i t e m m u s t a l s o b d e t e r m i n e d .

L A Y O U T O F R E P O R TT h l a y o u t o t h r e p o r t s h o u l d

r e s e m b l e F i g u r e 1 T h e n u m b e r s a r d i s p l a y e d b

l o t h c o l u m n h e a d i n g s , a n t h p e r i o d s a r e p l a c e d b e t w e e nt h c o l u m n h e a d i n g s t a s s i s t i v i s u a l i z i n g t h s p a c i n g o t h

1

Page 24: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 24/73

f o r m . T h c o l u m n n u m b e r s a r p l a c e d a b o v e t h h e a d i n g s t s h o w t h s t a r t i n g p o s i t i o n .

A y o u c a n s e e , t h e n t i r e r ep o r t i 6 c h a r a c t e r s w i d e a n h a t w t i t l e l i n e s . T h e r e a r e i g h tc o l u m n s , w i t h t h n a m e s o t h e i rr e s p e c t i v e h e a d i n g s s h o w n . T h p o s i t i o n o f e a c h c o l u m n i d t e r m i n e d b t h l e n g t h o t h d a t a f i l e f i e l d o t h c a l c u l a t i o nt h a t w i l l b p r i n t e d t h e r e i n . E a c hc o l u m n i s p a c e d t w c h a r a c t e r sa p a r t f r o m t h a d j o i n i n g c o l u m n .I y o u r r e c o r d f i e l d d a t a i l o n g e rt h a n t h e w i d t h o t h c o l u m n , t h d a t a w i l l b t r u n c a t e d , s t a r t i n gf r o m t h r i g h t .

O n c e y o p o s i t i o n t h c o l u m n s ,y o u m u s t d e t e r m i n e w h a t c o n t e n t sa n o p e r a t i o n s w i l l b p a r t o f e a c hc o l u m n . F i g u r e s h o w s t h s t r u ct u r e o t h c o l u m n s .

C O N T E N T S O C O L U M N SY o m u s t d e f i n e t h t y p e o

d a t a t h a t w i l l b c o n t a i n e d w i t h i nt h c o l u m n s . D F C a l c a l l o w s f o u ro p t i o n s :

F — F i e l d D a t a f r o m t h r e c o r d si t h e r e s p e c t i v e d a t a f i l e . A f t e rc h o o s i n g t h i s o p t i o n , y o w i l l b a s k e d t h f i e l d n u m b e r f o t h f i e l dy o w i s h p r i n t e d i t h c o l u m n .

# — T h e R e c o r d N u m b e r o t h r e c o r d w i t h i n t h d a t a f i l e . T h i sn u m b e r m a a l s o b u s e d i c a l c u l a t i o n , i n s t e a d o e n t e r i n gt h c o n t e n t s o r e c o r d .

R — R u n n i n g T o t a l o d a t af o u n d i p r e v i o u s c o l u m n . T h i sm a b u s e d t s u b t o t a l o s h o w

c u r r e n t b a l a n c e .E — A n E q u a t i o n t h a t w i l l c a c u l a t e t h d a t a c o n t a i n e d w i t h i n

r e c o r d o r o a n p r i n t t h r e s u l t s i t h c o l u m n . Y o w i l l b a s k e d t g t h r o u g h s e r i e s o i n p u t s t h a t w i l l c o n s t r u c t p r o p e rD F C a l c e q u a t i o n .

I t h I n v e n t o r y e x a m p l e , t h f i r s t c o l u m n w i l l h a v e t h e r e c o r dn u m b e r p r i n t e d . C o l u m n s 2 - 6w i l l c o n t a i n w h a t e v e r i f o u n d i t h r e s p e c t i v e f i e l d s f o t h a t r e o r n u m b e r . Y o w i l l n o t i c e t h a tn o a l o t h f i e l d s c o n t a i n e d i t h r e c o r d w e r e c h o s e n t a p e a r o t h i s r e p o r t . A l s o , t h o d e o t h f i e l d s o t h r e p o r t i n o t i m p o r t a n t .

C o l u m n s a n a r d e f i n e dt h a v e e q u a t i o n s . C o l u m n 7 ' e q u a t i o n w i l l i n v o l v e s u b t r a c t i n gf r o m t h e c o n s t a n t 8 t h e v a l u ef o u n d i f i e l d 5 S u b t r a c t i n g t h ey e a r p u r c h a s e d f r o m t h c u r r e n ty e a r r e s u l t s i t h a g o t h i t e m . I c o l u m n 6 y o c o u l d u s C i p l a c e o F 5 s i n c e t h a t c o lu m c o n t a i n s t h e f i e l d d a t a ( t h ee q u a t i o n w o u l d t h e n b e 8 5 C 6 ) .

C o l u m n 8 ' e q u a t i o n u s e s t h m a x i m u m n u m b e r o o p e r a t o r sa l l o w e d ( t h r e e ) w i t h i n o n c o u m i o r d e r t d e r i v e t h d s i r e d r e s u l t . T h g o a l i s f i r s t t m u l t i p l y t h o r i g i n a l c o s t f o u n di f i e l d b . 0 t g e b a s i c a l l y

1

Page 25: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 25/73

p e r c e n t o t h o r i g i n a l c o s t( F 4 * . O 5 ) . Y o t h e n m u l t i p l y t h a g o t h i t e m ( w h i c h i c a l c ul a t e d f o a n f o u n d i c o l u m n 7 b t h r e s u l t ( R E S ) o t h p r v i o u s o p e r a t i o n ( R E S * C 7 ) . T h i sn e r e s u l t ( R E S ) i a d d e d t t h o r i g i n a l c o s t i F t o b t a i n t h r e p l a c e m e n t c o s t ( R E S F 4 ) .

W h e n w o r k i n g w i t h p a r e n t h es e i m a t h , i i m a n d a t o r y t w o r k f r o m t h i n s i d e o u t . T h e q u a t i o n i t h t a b l e i b r o k e nd o w n i n t o t h r e e o p e r a t i o n s , s i n c et h e r e a r e t h r e e o p e r a t o r s . T p e f o r m t h i s c a l c u l a t i o n , s t a r t a t h i n n e r m o s t s e o p a r e n t h e s e s .

C o l u m n 8 ' e q u a t i o n c o u l da l s o h a v e b e e n w r i t t e n :R E C O S T ( ( ( C 5 \ 0 5 ) * C 7 ) C 5

S i n c e t h e r e w e r e n ' t a n c a c u l a t i o n s p e r f o r m e d i c o l u m n 5 t h c o l u m n a n t h f i e l d a r r e a l l y t h s a m e v a l u e .

T O T A L S A N A V E R A G E ST h E n d - O f - C o l u m n ( E O C ) o

e r a t i o n m u s t b d e f i n e d w i t h o n o t h f o l l o w i n g t h r e e o p t i o n s :N — N o O p e r a t i o n ( N O O P ) , w h i c hm e a n s : D n o t h i n g w i t h t h i sc o l u m n .T — T o t a l , w h i c h m e a n s : S u u t h c o n t e n t s o t h c o l u m n .A — A v e r a g e t h c o n t e n t s o t h c o l u m n ( a v e r a g e t o t a l / n u m b e ro r e c o r d s ) .S i n c e c o l u m n s 1 - 4 a n a r j u s td i s p l a y i n g f i e l d d a t a , w c h o s e n o

t p e r f o r m a n e n d - o f - c o l u m n o e r a t i o n s , u s i n g N C o l u m n c o t a i n e d t h O R I G C O S T , o o r i g i n a lc o s t , s w c h o s e f o r T o t a l .T h i s w i l l g i v e u t h t o t a l o r i g i n a lc o s t f o t h i t e m s o t h r e p o r t .C o l u m n c a l c u l a t e s t h a g o a l t h i t e m s , a n d , b e n t e r i n g A ,y o u c a n s e t h e i r a v e r a g e a g e .

w a c h o s e n f o c o l u m n t l e u k n o w t h e v a l u e o o u i t e m s .

J U S T I F I C A T I O N O C O N T E N T SY o m u s t c h o o s e i w h i c h

m a n n e r t h f i e l d d a t a , r e c o r dn u m b e r a n c a l c u l a t e d r e s u l t sw i l l b p r i n t e d w i t h i n t h c o l u m n .Y o u r c h o i c e s a r p r e s e n t e d i F i g u r e 3 C h o o s i n g e i t h e r D o P w i l l r e s u l t i r e q u e s t f o t h n u m b e r o p l a c e s t t h r i g h t o t h d e c i m a l p o i n t . ( t h r o u g ha r v a l i d . ) I y o f e e l t h a t c a c u l a t i o n m i g h t r e s u l t i a n s w e r sb e i n g p r i n t e d i s c i e n t i f i c n o t at i o n , t h e n c h o o s e e i t h e r o R I t e x t d a t a i f o r m a t t e d w i t hn u m e r i c a l f o r m a t , t h v a l u e o t h a t c o l u m n w i l l b 0

I t h e I n v e n t o r y e x a m p l e , l e f t -j u s t i f i c a t i o n w a c h o s e n o n t e x td a t a ; r i g h t - j u s t i f i c a t i o n o n m e r i c ; a n c u r r e n c y ( C f o t h t w c o l u m n s ' c o m p u t i n g c o s t s .

R U N N I N G D F C A L CN o l e t ' s l o a d u D F C a l c .

2

Page 26: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 26/73

T y p e L 0 A D " D F C A L C " , 8 < r e t u m >T h e n R U r e t u r n

N o t e : l e t t e r s , w o r d s o p h r a s e ss u r r o u n d e d b b r a c k e t s d n o t e r e v e r s e d p r i n t i n g o t h s c r e e n . R e v e r s e d l e t t e r s n o r m a l l yi d e n t i f y i m p o r t a n t k e y s t p r e s s .

T h f i r s t s c r e e n d i s p l a y e d r l a t e s t c o n f i g u r i n g y o u r p r i n t e r( s e e D F P r i n t f o a e x p l a n a t i o n ) .T h n e x t s c r e e n i s

C A L C U L A T E D R E P O R T S P R O G R A MU S E [ P R E D E F I N E D F O R M A TO [ D ] E F I N E N E F O R M A T[ $ D I S K D I R E C T O R Y[ Q ] U I T P R O G R A M

P R E S S T H A P P R O P R I A T E K E

P r e s s i n g t e r m i n a t e s t h p r g r a m a n p r e s s i n g d i s p l a y st h d i r e c t o r y o t h d i s k c u r r e n t l yi t h d i s k d r i v e .

w i l l s e n d y o t t h O p e ra t i o n s m e n u , a s s u m i n g t h a t y o a l r e a d y h a v e c a l c u l a t e d r e p o r tf o r m a t d e f i n e d .

w i l l e n t e r t h D e f i n e R e p o r tr o u t i n e s , w h e r e y o u ' l l e n t e r a l t h r e q u i r e m e n t s f o p r i n t i n g t h s a p l f i l e I n v e n t o r y . W h e n y o p r e s sD t h s c r e e n w i l l d i s p l a y t h f o l o w i n g p r o m p t . E n t e r I n v e n t o r y a s h o w n , t h e n p r e s s t h r e t u r n k e y .I N S E R T D I S K W I T H T H D A T A F I L ET B U S E D F O C A L C U L A T E DR E P O R T S .E N T E R T H E N A M E O T H D A T A F I L E :

I N V E N T O R Y < r e t u r nT h p r o g r a m w i l l g l o o k a t h

I n v e n t o r y d a t a f i l e a n r e t r i e v es o m e i m p o r t a n t f i l e - s t r u c t u r e d a t at h a t w i l l b u s e f u l l a t e r o n T h s c r e e n w i l l t h e n d i s p l a y t h f o l o w i n g s e q u e n c e s a y o e n t e rt h d a t a :

D E F I N E R E P O R T H E A D E R F O R M A TE N T E R W I D T H O R E P O R T( 1 3 6 M A X )

7 < R E T >E N T E R N U M B E R O T I T L E L I N E S I T H R E P O R T H E A D E R ( L I N E S M A X )2 < r e t u r n[ T I T L E # 1 ]

H O U S E H O L D I N V E N T O R Y r t u r n[ T I T L E # 2 ]

M A 3 1 9 8 5 r e t u r nP R E S S [ C ] O N T [ R ] E D O [ S ] T A R T[ J ] U M P [ E ] X I T

A f t e r p r e s s i n g t h e r e t u r n k e a f t e rt h s e c o n d t i t l e , m i n i - m e n u w i l lb d i s p l a y e d . Y o u ' l l s e t h i so f t e n t h r o u g h o u t t h d e f i n i n gs e q u e n c e .

T h P R E S S [ C ] [ R ] [ S ] [ J ] [ E ]m e n u a l l o w s y o t c h a n g e y o u rm i n d a o f t e n a t h m e n u a p e a r s . F o l l o w i n g i d e s c r i p t i o no w h a t e a c h o p t i o n p e r f o r m s .

C — C o n t i n u e o t n e x t s t e p( y o u a r s a t i s f i e d w i t h w h a t y o h a v e d o n e s f a r ) . A c t u a l l y ,p r e s s i n g a n k e y , i n c l u d i n g t h r e t u r n k e y , w i l l a d v a n c e y o t t h e n e x t s t e p . Y o u ' l l f i n d t h i s t b v e r y u s e f u l w h e n p l o w i n gb a c k t h r o u g h t h f o r m a t .

R — R e d o t h l a s t s t e p . T h i s w i l la l l o w y o t c h a n g e t h v e r y l a s t

Page 27: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 27/73

H O U S H O L D I N V E N T O R YM A 3 1 9 8 5

o - 5 - - 8 • I T E M D E S C R I P T I O N . . . S E R I A L # O R G C O S T Y R . . . A G E . . R E P C O S T

1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7

F i g u r e 1 E x a m p l e o r e p o r t l a y o u t

C O C O N T E N T S

F F F F F

E Q U A T I O N

8 5 - F 5( ( F 4 * . 0 5 ) * C 7 ) F

E O J U S T I F Y

F i g u r e 2 T h s t r u c t u r e o t h e r e p o r t c o l u m n s .

s t e p o c o l u m n . Y o w o n ' t b a l l o w e d t o r e t u r n t t h b e g i nn i n g o c o l u m n o t g b a c kw a r d s m o r e t h a n o n s t e p .

S — S t a r t o v e r . T h i s w i l l s e n d y o b a c k t t h s c r e e n s h o w n a b o v e ,w h e r e y o s t a r t e d d e f i n i n g t h f o m a t . D o n ' t f r e t ! Y o w o n ' t b r q u i r e d t r e t y p e e v e r y t h i n g . A l

y o u r e n t r i e s w i l l b p r e p r i n t e d o t h s c r e e n f o y o u . I y o d o n ' tw a n t t m a k e c h a n g e , j u s t p r e s st h r e t u r n k e t a c c e p t t h s h o w nv a l u e . K e e p p r e s s i n g t h e r e t u r nk e t w a l k b a c k t h r o u g h t h s q u e n c e u n t i l y o g e t w h e r e y o l e f t o f f .

J — J u m p t t h e n o t h d e f -

2

Page 28: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 28/73

L — L e f t j u s t i f yR — R i g h t j u s t i f yC — C u r r e n c y , p l a c e s

D 4 — D e c i m a l s , 0 - 8 p l a c e sP — P e r c e n t , R E S * 1 0

N U M B E R S[ 1 2 3 1 2 3 ]

1 2 3 . 0 0 ]1 2 3 . 0 0 0 0 ]

1 2 3 0 0 . 0 ]

T E X T

[ A B C A B C ]- 0 0 ]

. 0 0 0 0 ]. 0

F i g u r e 3 C h o i c e s f o f o r m a t t i n g t h c o l u m n .

H O U S E H O L D I N V E N T O R YM A 3 1 9 8 5

I T E M D E S C R I P T I O N S E R I A L O R G C O S T Y A G R E P C O S T

C O M P U T E RT T A P E D E C KM I C R O W A V EC A

C O M M O D O R ES O N YS H A R PG E N E R A L E L C R U I S E R

S 0 0 0 1 1 1 4 2H A 7 7 8 8 0 0L G 3 2 4 M 0 14 4 T T 6 7 8 9

5 9 5 . 0 03 6 5 . 5 01 2 9 . 9 54 3 5 . 0 0

. 0

8 7 7 8 8

1 6 5 4 . 5 06 0 3 . 0 81 8 1 . 9 34 5 6 . 7 5

. 0

T O J A L A V T O T A L

1 5 2 5 . 4 5 1 8 9 6 . 2 6

F I L E : I N V E N T O R Y , R E C O R D S R E P O R T E D

F i g u r e 4 E x a m p l e o t h f i n a l , p r i n t e d r e p o r t .

i n i t i o n s e q u e n c e . T h i s w i l l s e n dy o t t h O p e r a t i o n s m e n u , b p a s s i n g a l f u r t h e r e n t r y o r u d a t i n g o t h f o r m a t d e f i n i t i o n .a s s u m e s t h a t y o u h a v e a l r e a d yb e e n t o t a l l y t h r o u g h t h s q u e n c e o h a v e l o a d e d p r e v io u s l y d e f i n e d f o r m a t . D n o p r e s s y e t . I y o a c c i d e n t a l l y

j u m p t t h O p e r a t i o n s m e n u ,y o c a g e b a c k t s t a r t b p r e s s i n g f o C h a n g e F o r m a t( m o r e o t h i s l a t e r ) .

E — E x i t r o u t i n e t b e g i n n i n g o p r o g r a m . T h i s b a i l s y o o u f r o mt h d e f i n i t i o n s s e q u e n c e a n r t u r n s y o t w h e r e y o f i r s ts t a r t e d t h p r o g r a m . Y o m i g h t

2

Page 29: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 29/73

u s t h i s k e i y o d i s c o v e r t h a ty o u ' r e w o r k i n g w i t h t h w r o n gd a t a f i l e o j u s t w a n t t q u i t .

P r e s s t h r e t u r n o o a n k e t c o n t i n u e . Y o w i l l g e t :D E F I N E R E P O R T C O L U M N A R

F O R M A TC A L C U L A T E T H E T O T A L L E N G T H O A L F I E L D S T B I N C L U D E D I T H R E P O R T . A L L O W I N G S P A C E SB E T W E E N E A C H C O L U M N .E N T E R T H N U M B E R O C O L U M N SI R E P O R T . ( 1 C O L U M N S M A X )

r e t u r n[ F I E L D N A M E ( L E N G T H ) D A T A F O R :I N V E N T O R Y ]

1 I T E M 2 0 4 C O S T2 D E S C 2 5 Y E A R3 S E R # 2 6 R O O M 1

B e f o r e y o e n t e r f o t h n u m b e r o c o l u m n s , n o t i c e t h b o t t o m o t h e s c r e e n . T h n u b e r , n a m e a n l e n g t h o t h f i e l d s i t h I n v e n t o r y d a t a f i l e a r d i s p l a y e d . T h i s i w h y o h a t e n t e r t h n a m e o t h d a t a f i l eb e f o r e y o s t a r t e d . F r o m n o o n a l e a s t u n t i l y o c o m p l e t ey o u r f o r m a t d e f i n i t i o n , t h d a t a -f i l e r e f e r e n c e s w i l l s t a y o t h s c r e e n .

I m p o r t a n t N o t e s :1 D n o u s y o u r c u r s o r c o

t r o l s w h i l e i n p u t t i n g d a t a . D F C a l ca n a l t h D a t a f i l e p r o g r a m s u s I n p u t s t a t e m e n t s f o e n t e r i n gd a t a . T b s a f e , u s t h d e l e t ek e t b a c k s p a c e .

2 D n o u s c o m m a s , s e m ic o l o n s , c o l o n s o q u o t a t i o n s w i t h i n

a n i n p u t p r o m p t , o y o u ' l l m o s tl i k e l y l o s e s o m e o y o u r d a t a o a c i d e n t a l l y l e a v e t h e p r o g r a m .

P r e s s i n g t h e r e t u r n k e w i l l d i p l a y t h m i n i - m e n u [ C R S J E ] ;p r e s s i n g t h e r e t u r n k e f r o mt h i s m e n u d i s p l a y s t h f o l l o w i n g( f r o m t i m e t t i m e , t h e n t i r es c r e e n w i l l n o b d e s c r i b e d , b u o n l y t h o s e p o r t i o n s a p p l i c a b l e a t h t i m e ) :E N T E R P O S I T I O N O C O L U M N 1 ?

E n t e r , a s p r o m p t e d , t h p o s i t i o n sf o t h i n d i v i d u a l c o l u m n s , a s e e n i F i g u r e 1

Y o w i l l n o t i c e t h a t t h c o l u m nn u m b e r ( i r e v e r s e d p r i n t ) i n c r em e n t s e a c h t i m e y o p r e s s t h r e t u r n k e y . C o n t i n u i n g t t h n e x ts c r e e n :

E N T E R H E A D I N G O C O L U M N [ 1 H E A D I N G I [ 2 C H A R A C T E R S W I D E

E n t e r t h e h e a d i n g s a s h o w n o t h e x a m p l e , p r e s s i n g r e t u r ne a c h t i m e .

T h s c r e e n d i s p l a y s t h e c u rr e n t c o l u m n b e i n g w o r k e d o n a w e l l a t h w i d t h o t h c o l u m n .A n h e a d i n g y o t y p e t h a t i l o n g e r t h a n t h n u m b e r o c h a ra c t e r s s h o w n w i l l b t r u n c a t e d .

A t h i s p o i n t , w e ' l l b e g i n d e f i ni n t h i n d i v i d u a l c o l u m n s a t c o n t e n t , j u s t i f i c a t i o n a n e n d - o f -c o l u m n o p e r a t i o n s . C o n t i n u i n g :

2

Page 30: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 30/73

F O R M A T I N P U T R O U T I N E S F O C O L U M NE N T E R C O N T E N T S O F C O L U M N 1

C H O O S E [ F ] I E L D D A T A[ E ] Q U A T I O N[ R ] U N N I N G T O T A L[ # ] R E C O R D N U M B E R

r e t u r n

w i l l a l w a y s b p r e p r i n t e d o t h i n p u t u n t i l a l t h f i e l d s h a v eb e e n d e f i n e d . R e m e m b e r , f o c o l u m n y o u w a n t t u s t h r e c o r d n u m b e r , s p r e s s t h k e y . Y o w i l l t h e n s e t h i s s c r e e n :

S E C O L U M N ( 1 ) J U S T I F I C A T I O NO P T I O N S : [ L ] E F T

[ R ] I G H T[ C ] U R R E N C Y ( $ . 0 0 )[ P j E R C E N T ( % [ D E C I M A L S T R I G H T

r e t u r n

i t h d e f a u l t p r o m p t . E n t e rf o r i g h t - j u s t i f i c a t i o n . Y o h a v e

j u s t c o m p l e t e d t h d e f i n i t i o n o c o l u m n 1 J u s t i c a s e y o u w e r ew o n d e r i n g , t h E n d - O f - C o l u m ns c r e e n w a b y p a s s e d , s i n c e t h ec o n t e n t s o t h c o l u m n c o n t a i n e do n l y t h e r e c o r d n u m b e r a n n o a n i m p o r t a n t d a t a . F r o m n o o n y o u ' l l s e t h a d d i t i o n a lm e n u a n m o r e . T h n e x t t h r e es c r e e n s r e v e a l :

F O R M A T I N P U T R O U T I N E S F O C O L U M NE N T E R C O N T E N T S O F C O L U M N 2 C H O O S E [ F ] [ E ] [ # ] N o t e : s i m p l i f i e d m e n u

r e t u r n

W H I C H F I E L D W I L L B I C O L U M N 2 E N T E R [ 1 T H R U 6

r e t u r nS E E N D - O F - C O L U M N ( 2 O P E R A T I O NO P T I O N S : [ T ] O T A L S U O C O L U M N

[ A ] V E R A G E C O N T E N T S O C O L U M N

[ N ] O O P E R A T I O N T C O L U M N

r e t u r n

S E C O L U M N ( 2 ) J U S T I F I C A T I O NO P T I O N S : [ L ] [ R ] [ C ] [ P ] [ D ]

r e t u r n

T h a t c o m p l e t e s c o l u m n 2 D t h s a m e s e q u e n c e f o c o l u m n s 3 4 a n 6 a c c o r d i n g t o u p r v i o u s l a y o u t a n c h a n g i n g t h j u t i f i c a t i o n a n E O a n e c e s s a r y .N o w , w e ' l l d e f i n e t h e q u at i o n s f o c o l u m n s a n 8 T h f o l l o w i n g s h o u l d b o y o u rs c r e e n :

F O R M A T I N P U T R O U T I N E S F O C O L U M NE N T E R C O N T E N T S F O C O L U M N

7 C H O O S E [ F ] [ E ] [ R ] [ # ]r e t u r n

A f t e r e n t e r i n g f o E q u a t i o n ,n e s c r e e n w i l l a p p e a r w i t hp r o m p t s f o t h e q u a t i o n .E N T E R E Q U A T I O N [ 1 F O C O L U M N [ 7 [ R E S ]O P E R A N D X O P E R A T O RO P E R A N D Y

2

Page 31: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 31/73

Y o w i l l n o t e t h a t y o a r p r o m p t e d f o E q u a t i o n 1 U t t h r e e e q u a t i o n s o o p e r a t i o n sm a b d e f i n e d i o n c o l u m n .E n t e r t h o p e r a n d s a n o p e r a t o rf o t h e q u a t i o n d e f i n e d e a r l i e rf o t h i s c o l u m n ( 8 5 - F 5 ) . P r e s s t h r e t u r n k e a f t e r e a c h e n t r y , a s h o w n o t h f o l l o w i n g s c r e e n .T h c o m p l e t e d e q u a t i o n w i l l b s h o w n i t h e c o n v e n t i o n a l f o r m ,f o l l o w e d b t h m i n i - m e n u .E N T E R E Q U A T I O N [ 1 F O C O L U M N [ 7 [ R E S ]O P E R A N D X ? 8 5 r e t u r nO P E R A T O R r e t u r nO P E R A N D Y F r e t u r nR E 8 5 - F 5P R E S S [ C ] [ R ] [ S ] [ J ] [ E ] r e t u r nE X P A N D E Q U A T I O N ? [ Y O [ N

r e t u r n

S i n c e c o l u m n d o e s n o n e e da n m o r e c a l c u l a t i o n s , y o w o n ' te x p a n d o t h e q u a t i o n . E n t e ra s h o w n a n p r e s s t h r e t u r nk e y . Y o f i n i s h d e f i n i n g t h i s c o u m b c o n t i n u i n g t h r o u g h t h E n d - O f - C o l u m n a n J u s t i f i c a t i o ns c r e e n s . W a r n o a t h b g i n n i n g o c o l u m n 8 w h i c h w i l lc o n t a i n t h i s e q u a t i o n :( ( F 4 \ 0 5 ) * C 7 ) F

K e e p i m i n d t h a t y o m u s ts t a r t a t h i n n e r m o s t s e o p r e n t h e s e s a n d w o r k o u t . F o l l o wi n i t h e n t i r e s e q u e n c e o s c r e e n s f o c o l u m n ( y o u r s

s h o u l d g r o w s i m i l a r a y o u k e e pe n t e r i n g d a t a a n p r e s s i n g t h er e t u r n k e y ) .

F O R M A T I N P U T R O U T I N E S F O C O L U M NE N T E R C O N T E N T S O C O L U M N [ 8 C H O O S E [ F ] [ E ] [ R ] [ # ]

r e t u r nE N T E R E Q U A T I O N 1 F O C O L U M N 8 [ R E S ]O P E R A N D X F < r e t u r nO P E R A T O R r e t u r nO P E R A N D Y . 0 < r e t u r n >R E F 4 \ 0 5P R E S S [ C ] [ R ] [ S ] [ J ] [ E ] r e t u r nE X P A N D E Q U A T I O N ? [ Y O [ N

r e t u r n

E N T E R E Q U A T I O N 2 F O C O L U M N 8 [ R E S ] F 4 \ 0 5O P E R A N D X R E r e t u r nO P E R A T O R r e t u r nO P E R A N D Y C r e t u r nR E ( F 4 * . 0 5 ) * C 7P R E S S [ C ] [ R ] [ S ] [ J ] [ E ] r e t u r nE X P A N D E Q U A T I O N ? [ Y O [ N

r e t u r nE N T E R E Q U A T I O N 3 F O C O L U M N 8 [ R E S ] ( F 4 \ 0 5 ) * C 7O P E R A N D X R E O P E R A T O RO P E R A N D Y F R E ( ( F 4 * . 0 5 ) * C 7 ) F P R E S S [ C ] [ R ] [ S ] [ J ] [ E ] r e t u r nS E E N D - O F - C O L U M N ( 8 )O P E R A T I O NO P T I O N S : [ T ] [ A ] [ N ]

r e t u r n

2

Page 32: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 32/73

S E C 0 L U M N ( 8 ) J U S T I F I C A T I O NO P T I O N S : [ L ] [ R ] [ C ] [ P ] [ D ]

C r e t u r nP R E S S [ C ] [ R ] [ S ] [ J ] [ E ] r e t u r n

U p o n c o m p l e t i n g c o l u m n 8 ' d e f i n i t i o n , y o h a v e c o m p l e t e d t h e n t i r e c a l c u l a t e d r e p o r t f o r m a t .

C A L C U L A T E D R E P O R T SO P E R A T I O N S M E N UT h l a s t r e t u r n y o p r e s s e d

p r e s e n t s t h i s s c r e e n :

C A L C U L A T E D R E P O R T SO P E R A T I O N S M E N UC U R R E N T D A T A F I L E : [ I N V E N T O R Y ][ S ] A V E R E P O R T F O R M A T[ L ] O A D R E P O R T F O R M A T[ C ] H A N G E R E P O R T F O R M A T[ P ] R I N T R E C O R D S[ R E C O N F I G U R E P R I N T E R[ $ D I S K D I R E C T O R Y[ E ] X I T T H I S D A T A F I L E

P R E S S T H A P P R O P R I A T E K E

P r e s s i n g w i l l d i s p l a y t h d r e c t o r y o t h d i s k c u r r e n t l y i t h d i s k d r i v e .

w i l l e x i t , c l o s i n g t h f i l e y o h a v e b e e n w o r k i n g w i t h a n s e n di n y o u b a c k t t h e b e g i n n i n g .

w i l l s e n d y o u t t h s t a r t o t h f o r m a t d e f i n i t i o n r o u t i n e s s t h a t y o m a c h a n g e o n o a l o y o u r e n t r i e s . O n c e y o h a v em a d e y o u r c o r r e c t i o n ( s ) , y o u c a nj u m p b a c k t t h i s m e n u b p r e s si n a o n o t h m a n y m i n i -m e n u p r o m p t s .

w i l l s e n d y o u t t h P r i n t e ro I n t e r f a c e C o n f i g u r a t i o n m e n u ,w h e r e y o m a s e n d p r i n t e r( C H R $ ) c o m m a n d s .

w i l l s a v e t h c u r r e n t c a l c ul a t e d r e p o r t f o r m a t t t h d i s k .W a r n i n g : A n c a l c u l a t e d r e p o r tf o r m a t f i l e ( s h o w n o t h d i s k a C R I N o t h s a m e n a m ew i l l b s c r a t c h e d a n r e p l a c e dw i t h t h c u r r e n t f o r m a t . I y o u ' v em a d e c h a n g e s t f o r m a t t h a ty o w i s h t k e e p , a n y o s t i l lw i s h t r e t a i n t h o r i g i n a l , g i v et h r e v i s e d f o r m a t n e n a m e .M a k e s u r e y o s a v e y o u r c u r r e n tf o r m a t b e f o r e u s i n g o L Y o w i l l b g i v e n s e c o n d c h a n c e i y o h a p p e n t f o r g e t .

w i l l l o a d f o r m a t f i l e f r o mt h d i s k i n t o t h c o m p u t e r ' sm e m o r y . T h i s w i l l e r a s e t h f o m a c u r r e n t l y h e l d w i t h i n t h m e m o r y .

B o t h L o a d a n d S a v e r o u t i n e sw i l l p r e p r i n t t h n a m e o t h d a t a f i l e c u r r e n t l y b e i n g p r c e s s e d f o y o u . Y o m a u s t h s a m e n a m e f o m o r e t h a n o n f i l e . A l t h D a t a f i l e p r o g r a m s a d

p r e f i x t t h b e g i n n i n g o s e q u e n t i a l f i l e ' s n a m e t h e l ps i m p l i f y t h e s y s t e m . F o e x a m p l e ,t h I n v e n t o r y f i l e c o u l d r e s i d e o t h s a m e d i s k w i t h t h r e e o t h e rf i l e s c a l l e d I n v e n t o r y , b u t h o s eo t h e r t h r e e w o u l d h a v e t b f o m a f i l e s c r e a t e d b D F R e p o r t ,D F M a i l a n D F C a l c . t y p i c a l d r e c t o r y m i g h t l o o k a f o l l o w s :

2

Page 33: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 33/73

D A T A F I L E 3 . D

D F I N V E N T O R Y S E Q - D A T A F I L Er e c o r d f i l eR P I N V E N T O R Y S E Q — D F R E P O R T

f o r m a t f i l eM L I N V E N T O R Y S E Q — D F M A I L

f o r m a t f i l e2 C R ] I N V E N T O R Y S E Q — D F C A L C

f o r m a t f i l e

P R I N T O P T I O N S M E N UP r e s s i n g a t h O p e r a t i o n s

m e n u w i l l d i s p l a y t h f o l l o w i n g :P R I N T O P T I O N S M E N U

[ A ] L L R E C O R D S I F I L E[ F ] I N D R E C O R D S W I T H C O M M O NF I E L D S[ E ] X I T B A C K T S T A R TP O S I T I O N P A P E R A T T O P O F P A G E

P R E S S T H A P P R O P R I A T E K E P r e s s i n g w i l l e x i t y o b a c k t t h O p e r a t i o n s m e n u .

w i l l o p e n t h d e s i g n a t e dd a t a f i l e a n s t a r t p r i n t i n g t h e t i r e f i l e f r o m r e c o r d # 1 t t h e n o t h d a t a f i l e . D u r i n g t h p r i n t i n gp r o c e s s , c a l c u l a t i o n s w i l l o c c u rr o w b y r o u n t i l c o m p l e t i o n . T h i sm a s o m e t i m e s s e e m s l o w ; a n t h m o r e c o m p l e x y o u r c a l c u l at i o n s , t h s l o w e r i p r i n t s . T h w o r s t c a s e w o u l d b t h a v et h r e e o p e r a t o r s i e a c h c o l u m na n t u s a l 1 c o l u m n s . T h a tw o u l d s t i l l b f a s t e r , t h o u g h , t h a ni y o h a t c r a n k o u t h e s er e p o r t s b h a n d .

w i l l p r i n t o n l y t h o s e r e c o r d si f i n d s t h a t m a t c h y o u r i n p u t .L e t ' s s a y , f o e x a m p l e , t h a t y o w a n t e d t p r i n t t h e I n v e n t o r y r p o r t u s i n g o n l y t h o s e r e c o r d sw h o s e i t e m f i e l d s b e g a n w i t h C T h F i n d s c r e e n l o o k s l i k e t h i s :

F I N D R E C O R D S W I T H C O M M O NF I E L D S

1 I T E M2 D E S C3 S E R #4 C O S T5 Y E A R6 R O O M

W H I C H F I E L D I T B S E A R C H E D ?r e t u r n

E N T E R [ C O M M O N I T E M ] ( T H E E T I R E S T R I N G I N O R E Q U I R E D )[ D E S C ] r e t u r nS E A R C H I N G R E C O R D

T h c o m p u t e r f i r s t r e a d s t h b e g i n n i n g o t h I n v e n t o r y f i l ea n d i s p l a y s t h f i e l d s . A f t e rc h o o s i n g f i e l d n u m b e r , y o u ' r ea s k e d t i n p u t t h c o m m o n i t e m ,i t h i s c a s e , C W h e n t h r e p o r ti p r i n t e d o u t , t h n e r e s u l t i t h a t o n l y r e c o r d s a n a r p r i n t e d , s i n c e t h e i r D E S C f i e l d sh e l d " C o m p u t e r " a n d " C a t . "

T H F I N A L P R O D U C TL e t ' s a s s u m e t h a t , a t h P r i n t

O p t i o n s m e n u , ( a l l r e c o r d s )w a p r e s s e d . T h c o m p u t e r w i l lp r i n t t h t i t l e a n h e a d i n g o t h r e p o r t , t h e n s t a r t a t h b e g i n n i n go t h e s e q u e n t i a l f i l e a n d c o m -

2

Page 34: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 34/73

m e n c e r e a d i n g t h r e c o r d s . A f t e re v e r y r e c o r d , t h e q u a t i o n s f o e a c h c o l u m n w i l l b c a l c u l a t e da n t h r e s u l t s p r i n t e d o t h a p p r o p r i a t e r o o t h r e p o r t .

W h e n a l t h r e c o r d s h a v eb e e n r e a d , t h E n d - O f - C o l u m ni n f o r m a t i o n w i l l b p r o c e s s e da n p r i n t e d . F i n a l l y , a t h b o t o o t h r e p o r t , t h d a t a f i l en a m e w i l l b p r i n t e d a l o n g w i t ht h n u m b e r o r e c o r d s r e p o r t e d .

W h e n t h r e p o r t i p r i n t e d o u t ,i s h o u l d r e s e m b l e F i g u r e 4

A y o u c a n s e e , c o l u m n w a n o w i d e e n o u g h f o t h d a t a t h a tw a p r i n t e d , s t h d a t a w a t r u nc a t e d . Y o c a m a k e a d j u s t m e n t sa f t e r p r i n t i n g b e n t e r i n g t h eC h a n g e F o r m a t o p t i o n a t h O e r a t i o n s m e n u . I y o p l a n o p r i n ti n m a n y c o l u m n s a n d n e e d m o r es p a c e , p u y o u r p r i n t e r i n t o c o p r e s s e d m o d e ,

2

Page 35: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 35/73

R u I W r i t eT h i s B a s i c w o r d p r o c e s s o r s i m p l i f i e s l e t t e rw r i t i n g , r e p o r t s , o u t l i n e s a n n u m e r o u s o t h e r p e r s o n a lw r i t i n g a p p l i c a t i o n s .B y J o h n S t i l w e l l

R U I R i g h tC - 6 4 ; G 1 2 8 ( h C - 6 4 m < ] £ )

R u I W r i t e i s i m p l e - t o - u s ew o r d p r o c e s s o r f o t h C o m o d o r e 6 4 F o s t o r a g e , i i d s i g n e d t u s t h 1 5 4 1 s i n g l ed i s k d r i v e o r t h D a t a s s e t t e . F o

p r i n t o u t , y o s h o u l d b a b l e t u s a n p r i n t e r t h a t u s e s s e r i a li n t e r f a c e . H o w e v e r , i t c h a r a c t e re d i t o r a n i m p r o v e d p r i n t e r c h a ra c t e r s e ( o t h 1 5 2 5 e a n dM P S 8 0 1 ) w o r k o n l y o d o t - m a t r i xp r i n t e r s t h a t a r c o m p a t i b l e w i t ht h C o m m o d o r e 1 5 2 5 e p r i n t e r .

W h e n y o r u n t h e p r o g r a m ,t h c o m p u t e r w i l l f i r s t a s y o f o

f i l e n a m e . I y o u ' r e g o i n g t c r a t a d o c u m e n t , t h i s i t h n a m eu n d e r w h i c h i w i l l b s a v e d . I y o u p u s h t h r e t u r n k e w i t h o u tf i r s t t y p i n g i a n a m e , t h d e f a u l tf i l e n a m e w i l l b e " n o n a m e . "N o t e : E a c h o y o u r f i l e s m u s t

p o s s e s s d i f f e r e n t n a m e . I y o s a v e a f i l e u n d e r p r e v i o u s l yu s e d n a m e , t h a t n e f i l e w i l l r p l a c e t h o l o n e .

A f t e r y o h a v e d e c i d e d o n a m e f o y o u r t e x t f i l e , t h m e n uw i l l a p p e a r .

M E N UT h e r e a r t w n a m e s a t h

t o o t h m e n u . T h e f i r s t i s t h n a m e o t h f i l e i t h c o m p u t e r .T h s e c o n d n a m e , P r i n t o u t W i t hF i l e L i n k , i t h n e x t f i l e t b l o a d e d a n p r i n t e d . I t h f i l e l i n kn a m e i ( s h i f t e d s t a r ) , t h e nt h e r e a r n m o r e f i l e s i t h s e r i e s . T h i s f e a t u r e i h a n d yw h e n y o u ' r e w o r k i n g o l a r g ep r o j e c t , l i k e b o o k .

N E C H A N G E F I L E N A M ET h f i r s t o p t i o n i N e w . I y o

w a n t t e r a s e y o u r m o s t r e c e n t t e x tf i l e , p r e s s N T h c o m p u t e r w i l l a s i y o a r s u r e o y o u r d e c i s i o n .

3

Page 36: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 36/73

T h f i l e w i l l b e r a s e d o n l y i y o p u s h Y A n y t h i n g e l s e w i l l t e l l t h c o m p u t e r t h a t y o o n l y w a n t t c h a n g e t h f i l e n a m e .

M A K E P R I N T O U TT h s e c o n d o p t i o n i t h m e n u

i M a k e P r i n t o u t . P r e s s t s e n d t h t e x t t t h p r i n t e r . T h c o m p u t e r w i l l a s y o h o w m a n yc o p i e s y o w a n t . I y o e n t e rn u m b e r l e s s t h a n o g r e a t e rt h a n 9 9 y o u ' l l b r e t u r n e d t t h m e n u . Y o a l s o h a v e t h o p t i o no h a v i n g t h p a g e s n u m b e r e d .

Y o u r P r i n t o u t b e g i n s w h e r e y o u rc u r s o r i p o s i t i o n e d . T m a k ep r i n t o u t o y o u r e n t i r e f i l e , t h c u s o m u s t b i t h u p p e r l e f t - h a n dc o r n e r o p a g e 1

T h p r i n t e r b e g i n s p r i n t i n g a t h t o o e a c h p a g e , e x c e p t f o t h f i r s t p a g e . I y o w a n t t a b o r t w h i l e p r i n t i n g , j u s t h o l dd o w n t h f k e y . ( I m a t a k em o m e n t t r e a c t . )

N o t e : B e f o r e m a k i n g p r i n to u t , y o s h o u l d a d j u s t t h p a p e ri t h p r i n t e r f i r s t a n u s t h R e s e t o p t i o n i t h m a i n m e n u .( S e e R e s e t T o o P a g e , m o r ed e t a i l s . )

P R I N T O U T W I T H F I L E L I N KI y o u r d o c u m e n t r e q u i r e s

m o r e t h a n o n f i l e , t h e y c a n b el i n k e d t o g e t h e r . T o d o t h i s , p r e s s

a n t y p e i t h n a m e o t h n e x t f i l e t b p r i n t e d . F o e a m p l e , i C h a p t e r O n i i t h c o m p u t e r , a n y o u w a n t i t b

l i n k e d t o C h a p t e r T w o , p r e s sa n t y p e C H A P T E R T W O ; t h e np r e s s t h e r e t u r n k e y . A t t h e t o o t h m e n u p a g e , y o u ' l l s e e :

n a m e : C H A P T E R O N l i n k e d t o : C H A P T E R T W

T u s t h f i l e l i n k s , l o a d i t h f i r s t f i l e t b p r i n t e d . P r e s s

a n t c o n f i r m y o u r i n t e nt i o n s . Y o w i l l t h e n b a s k e d i t h r e s t o t h f i l e s t b p r i n t e da r o d i s k o r t a p e . L a s t l y , y o w i l l b g i v e n t h P a g e - N u m b e ri n g o p t i o n . Y o w i l l n o b g i v e nt h M u l t i p l e - C o p y o p t i o n .

S A V E F I L E T D I S K / T A P ET h t h i r d o p t i o n i S a v e T o

D i s k / T a p e . P r e s s a n y o u ' l l b a s k e d t c o n f i r m y o u r a c t i o n ; y o w o u l d n ' t w a n t t r e p l a c e v a u a b l e f i l e p r e m a t u r e l y . Y o u ' l l t h e nb a s k e d i y o a r e u s i n g D a t a s s e t t e . I n o t , y o u r f i l e w i l l b s e n t t t h d i s k d r i v e .

N o t e : T h e n t i r e f i l e i a l w a y ss a v e d .

L O A D F I L E F R O M D I S K / T A P ET h i s i v e r y s i m i l a r t t h p r

v i o u s o p t i o n . I y o u ' r e u s i n g t a p e ,t h p r o g r a m w i l l l o a d i t h f i r s t f i l ei r u n s a c r o s s . I y o u ' r e u s i n g d i s k ,y o u ' l l b a s k e d i y o u ' d l i k e f i l el i s t i n g . P r e s s Y a n t h c o m p u t e rw i l l d i s p l a y l i s t i n g o t h t e x t f i l e st h a t w o r k i t h i s p r o g r a m .N e x t , y o u ' l l b a s k e d f o t h f i l e t o l o a d . I y o d o n ' t w a n t t t y p e o u t h e n t i r e f i l e n a m e , j u s t

3

Page 37: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 37/73

t y p e i t f i r s t t w l e t t e r s a n a a s t e r i s k ( * ) . W a r n i n g : T h i sd o e s n ' t a l w a y s w o r k . I t h e r e ' sp r o g r a m o t h d i s k w i t h t h s a m e i n i t i a l l e t t e r s a t h f i l e y o w a n t t o l o a d , y o m u s t t y p e i t h e n t i r e f i l e n a m e . Y o c a n ' t u s t h a s t e r i s k .

R E S E T T O P O F P A G E ( P R I N T E R )S i n c e m a n y p r i n t e r s , s u c h a

t h C o m m o d o r e 1 5 2 5 e , d o n ' tk e e p t r a c k o w h e r e t h t o o t h n e x t p a g e i l o c a t e d , t h i sw o r d p r o c e s s o r w i l l . B e f o r e y o m a k e p r i n t o u t , m a n u a l l y a v a n c e t h e p a p e r , i n e c e s s a r y , s t h a t t h t o o t h p a g e i l i n e du w i t h t h e t o p o t h p r i n t h e a d ,a n p r e s s R D t h i s e a c h t i m ey o c h a n g e t h e p a p e r . T h p r i n t e r w i l l a d v a n c e s i l i n e s , s y o u ' l l h a v e a p r o p e r m a r g i n a t h t o o t h f i r s t p a g e .

T t u r n t h i s f e a t u r e o f a n h a v e c o n t i n u o u s p r i n t o u t , r e a da b o u t " p a g i n g " u n d e r t h C o t o u r P e r i p h e r a l s h e a d i n g .

G O T O T O P O F N E X T P A G ET m a n u a l l y a d v a n c e t h p r i n t e r

t t h t o o t h e n e x t s h e e t o p p e r , p u s h T T h i s i u s e f u l w h e ny o u w a n t t r e m o v e p r i n t o u t f r o mt h p r i n t e r w i t h o u t h a v i n g t r e s e tt h p a p e r a f t e r w a r d s .

T h i s f e a t u r e w o r k s o n l y i y o u ' r e u s i n g t h p a g i n g f e a t u r e .

S E P R I N T O U T P A R A M E T E R ST s e m a r g i n s a n s p a c i n g ,

p r e s s 1 T h l o n g e s t l i n e t h a t y o

c a n h a v e i w i t h t h l e f t m a r g i ns e a a n t h r i g h t m a r g i n s e a 8 0 F o s p a c i n g , y o u h a v e ac h o i c e o ( s i n g l e s p a c i n g ) a n

( d o u b l e s p a c i n g ) . W h e n t h p r o g r a m i s f i r s t r u n , t h m a r g i n sa r s e a a n 7 5 T h s p a c i n gi s e t d o u b l e .

A f o t a s e t t i n g s , y o h a v ef o u r t a s t o p s . W h e n t h p r g r a m i s f i r s t r u n , t h e y a r e s e t t o5 1 0 3 5 a n d 4 4 W h e n y o c h a n g e t h e m , y o c a n ' t o v e r l a pt h v a l u e s . F o e x a m p l e , t a b # 1m u s t a l w a y s b t h s m a l l e s t .T a b # 2 m u s t b l a r g e r t h a n # a n s m a l l e r t h a n # 3

C O N T O U R P E R I P H E R A L ST h i s s e c t i o n t e l l s y o h o t

m o d i f y t h p r o g r a m t w o r k w i t ht h d i s k d r i v e a n p r i n t e r . P r e s st h k e y , a n y o u ' l l b a s k e df o t h p r i n t e r ' s d e v i c e n u m b e r .T h i s i n o r m a l l y 4 b u i y o u h a v et w p r i n t e r s h o o k e d t y o u r c o p u t e r , o n o t h e m w i l l p r o b a b l yb d e v i c e 5

N e x t , y o u ' l l b a s k e d f o t h d i s kd r i v e ' s d e v i c e n u m b e r . I t h s t a nd a r d C - 6 4 s e t u p , t h i s n u m b e r i 8 H o w e v e r , y o u m a o c c a s i o n a l l yw a n t t s e n d t d i s k d r i v e w i t ht h d e v i c e n u m b e r 9

P a g i n g i a i m p o r t a n t f e a t u r ea n i u s e d i m o s t a p p l i c a t i o n s .N o o n l y d o e s i n u m b e r y o u rp a g e s , b u i a l l o w s t h c o m p u t e rt r e c o g n i z e i t p o s i t i o n o n s h e e to p a p e r . W h e n t h c o m p u t e r a p r o a c h e s t h b o t t o m o t h s h e e t ,

3

Page 38: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 38/73

a r i a ' s P i c t u r e s

- H E M F I L E C H A N G E F I I E H f i f t f- m a k e p r i n t o u - P R I 8 T O U H I T H H L I N K

- S A U E F I L E T D I S K / T A P E- L O A D F I L E F R O H D I S K / T A P E

- R E S E T T O O P A 6 E ( p r i n t e r )- S O T O T O O N E X T P A G E ( p r i n t e r )- S E T P R I N T O U T P A R A M E T E R S- C O N T O U R ( p e r i p h e r a l s )- F I L E L I N K N A I C

P u s h a n y o t h e r k e t e n t e r t h t e x t• t o d e .

p r i n t i n g i s u s p e n d e d . T h p a p e ri t h e n a u t o m a t i c a l l y a d v a n c e d t t h t o o t h e n e x t s h e e t , w h e r et h p r i n t i n g i r e s u m e d .

N o t e : P a g e n u m b e r i n g i o n l ya v a i l a b l e i y o a r e u s i n g p a g i n g .C o m m a n d s r e l a t e d t p a g i n g a r G o t o T o o N e x t P a g e ( i M e n ua n T e x t M o d e ) a n d R e s e t ( i m e n u ) . W h e n u s i n g p a g i n g ,m a k e s u r e y o u r p a p e r i 8 1 / 2 1 i n c h e s .

L a s t l y , y o w i l l b a s k e dw h e t h e r y o u w a n t t u s y o u rp r i n t e r ' s c h a r a c t e r s e t . I y o c h o o s e n o t u s y o u r p r i n t e r ' sc h a r a c t e r s e t , t h p r o g r a m w i l lp r o v i d e y o w i t h i t s e t . T h o n l yd i s a d v a n t a g e t t h i s i t h a t

p r i n t o u t m a t a k e u t t w i c e a l o n g , b e c a u s e t h l e t t e r s p a n a r e b i t - m a p p e d .

I y o c h o o s e t u s t h p r g r a m ' s c h a r a c t e r s e t , y o a r g i v e n t h o p t i o n o d e s i g n i n g u t t h r e e o y o u r o w c h a r a c t e r s .R u I W r i t e h a s a c h a r a c t e re d i t o r t h a t i c o m p o s e d o r e t a n g u l a r b l o c k h o l d i n g t h r e ew o r k g r i d s f o t h r e e c h a r a c t e r st h a t y o u c a n g e n e r a t e . I y o o n l y w a n t t c r e a t e o n c h a ra c t e r , s i m p l y l e a v e t w o - t h i r d s o t h w o r k s p a c e b l a n k .

I t h c h a r a c t e r e d i t o r , u s t h c u r s o r k e y s t m o v e a r o u n d . T c o l o r i s q u a r e , p r e s s t h k e y . T e r a s e s q u a r e , p r e s s

3

Page 39: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 39/73

t h k e y . T e r a s e a e n t i r ec h a r a c t e r , m o v e t h e c u r s o r o n t oi a n p r e s s t w i p e i c l e a n .T s e h o t h c h a r a c t e r s w i l la p p e a r o n t h p r i n t o u t , p r e s s T

W h e n y o u w a n t t e x i t t h c h a r a c t e r e d i t o r , p r e s s t q u i t .T h c o m p u t e r w i l l t h e n p r o m p ty o t a s s i g n t h e s e k e y s t t h t h r e e u s e r - d e f i n e d c h a r a c t e r s .

N o t e : T h e s e u s e r - d e f i n e d c h a ra c t e r s a r u s e d o n l y o t h p r i n t e r . T h e y a r n o r e d e f i n e do t h s c r e e n .

T E X T M O D EI T e x t m o d e , y o t y p e a i

y o w e r e u s i n g t y p e w r i t e r . A t h e n o e a c h p a r a g r a p h , y o s i m p l y p r e s s t h r e t u r n k e y . T h i sp r o g r a m i d i f f e r e n t f r o m o t h e rw o r d p r o c e s s o r s i t h a t w h e ny o s i g n a l t h e n o p a r ag r a p h , t h e c u r s o r d o e s n o r e t u r nt t h l e f t - h a n d m a r g i n . I n s t e a d ,

c h e c k m a r k i p l a c e d o t h s c r e e n a n t h e c u r s o r s i m p l ym o v e s o n c h a r a c t e r t t h r i g h t .

D I R E C T I O N B A T h f u n c t i o n k e y s a r u s e d t

e m b e d s p e c i a l c o m m a n d s i n t ot h t e x t . I y o s h o u l d f o r g e tt h e m , t h r e b a a t h t o o t h s c r e e n w i l l c o m e i h a n d y .T u s i t h o l d d o w n t h C T R Lk e y , t h e n p r e s s 2 T h i s w i l l t u r nt h d i r e c t i o n b a b l a c k , a n t h c u r s o r w i l l s t o p f l a s h i n g . A t h i sp o i n t , t h l e f t a n r i g h t c u r s o rk e y s h o r i z o n t a l l y s c r o l l f u n c t i o n -

k e i n f o r m a t i o n . T r e t u r n t o t h T e x t m o d e , p r e s s t h r e t u r n k e y .

T H T E X T P A G EW h e n y o c a l l t h e T e x t m o d e

f o t h f i r s t t i m e , y o u ' l l s e w h i t e s c r e e n . I t h u p p e r l e f t -h a n d c o r n e r i d i s p l a y e d " D e l /l n s t = 1 . " T h i s m e a n s t h a t w h e ny o d e l e t e o r i n s e r t , y o w i l l d i o n c h a r a c t e r a t i m e . N e x tt t h i s i " P 1 E n p a g e 1 . T h i s m e a n s y o a r o p a g ew i t h t h e n t e x t p a g e a 1

T h g r e e n s q u a r e b e l o w t h d i r e c t i o n b a i t h c u r s o r . T h h o m e k e p l a c e s t h c u r s o r a t h u p p e r l e f t - h a n d s i d e o t h s c r e e n .

I N S E R T I N G D E L E T I N GT i n s e r t a n d e l e t e c h a r a ct e r s , u s t h i n s e r t a n d e l e t ek e y s . D e l e t i n g a n i n s e r t i n g c a t a k e u t o n s e c o n d , d e p e n di n o t h s i z e o t h t e x t . P r e s sC T R L a n a t h s a m e t i m e .T h " D e l / l n s t 1 a t h t o o t h s c r e e n w i l l c h a n g e t " D e l /l n s t 2 2 . " N o y o c a d e l e t e2 c h a r a c t e r s a t i m e . T c h a n g e b a c k , s i m u l t a n e o u s l yp r e s s C T R L a n 1

A U T O M A T I C P A G E F L I P P I N GW h e n t h c u r s o r m o v e s o f t h

t o o b o t t o m o t h s c r e e n , t h et e x t w i l l s h i f t f o r w a r d o b a c k w a r dt e l i n e s . I t h i s w a y , y o u ' l l a w a y s h a v e s o m e t e x t o t h s c r e e n . ( A p a g e i h a l f s c r e e n . )

3

Page 40: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 40/73

C O N T R O L L E D B T H F U N C T I O N K E Y S

T A T h f k e i t h t a b . I w o r k s

m u c h l i k e n o r m a l t y p e w r i t e rt a b . W h e n t h p r i n t e r s e e s t h i sc h a r a c t e r ( s q u a r e w i t h d i a g on a l l i n e s i i t ) , i w i l l a d v a n c e t t h e n e x t t a s e t t i n g .

S P A C I N G

T o c h a n g e t d o u b l e s p a c i n gf r o m i n s i d e t h t e x t , p r e s s f 2 F o s i n g l e s p a c i n g , p r e s s f 4

G O T O T O P O F T H N E X T P A G ET m o v e t h p r i n t e r t t h t o

o t h n e x t p a g e f r o m i n s i d e t h t e x t , p r e s s f 3

C E N T E R I N G L I N E ST c e n t e r p h r a s e , p r e s s t h

f k e a i t b e g i n n i n g a n R e t u r n , C e n t e r o T o O P a g ea i t e n d .

P A G E F L I P P I N GT h f a n k e y s a r u s e d

f o p a g e f l i p p i n g . I y o w a n t t s k i m o v e r e a r l i e r p a g e s , p r e s s 1 T l o o k a l a t e r p a g e s , p r e s s f 7

B A C K T O T H M E N UI y o a r i t h T e x t m o d e

a n w a n t t g t t h m e n u ,p r e s s t h f k e y . S i m i l a r l y , t a b o r t p r i n t o u t a n g t t h m e n u , p r e s s t h f k e y .

C O M M O N P R O B L E M ST i n d e n t p a r a g r a p h , u s

t a b ; m e r e l y t y p i n g i s p a c e s w i l ln o w o r k .

I y o u s t h e c h a r a c t e r g r a p h i c st d r a w p i c t u r e s , b s u r e y o u rp r i n t o u t i s i n g l e s p a c e d .

W e l l , t h i s w o r d p r o c e s s o r i r e a l w o r d m o n g e r , a n w h o p ey o e n j o y i t E

3

Page 41: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 41/73

R u n t e r mT h i s f a s t , p r o f e s s i o n a l - q u a l i t y t e r m i n a l p r o g r a m l e t s

y o t a i n t o i n f i n i t e s o u r c e s o i n f o r m a t i o n .B R o b e r t S i m s

R U I R i q h tC 6 4 ; C 1 2 8 ( i n C ' 6 4 m d e )

D i s k d r i v e a n m o d e mW i t h t h i s g e n e r a l - p u r p o s e t e

m i n a l p r o g r a m , R u n t e r m , y o c a c o m m u n i c a t e w i t h a n c o p u t e r t h a t i u s i n g A S C I I d a t af o r m a t a n x m o d e m t r a n s f e r p r t o c o l . I a l s o a l l o w s y o t c a l ll o c a l b u l l e t i n b o a r d s , u s i n g e i t h e rs t a n d a r d A S C I I o C o m m o d o r eA S C I I d a t a f o r m a t , a n t s w a pp r o g r a m s w i t h f r i e n d .

T u s R u n t e r m , i n s e r t t h R e R u n d i s k i n t o y o u r d r i v e . I y o u ' r e u s i n g t h V I C - M o d e m ,y o s h o u l d s e i f o O r i g i n a t e .F o t h C o m m o d o r e 1 6 5 0 A u t o m o d e m o c o m p a t i b l e s , s e t h m o d e m f o O r i g i n a t e a n T e l ep h o n e ( V o i c e ) , t h e n e n t e rL O A D " R U N T E R M " , 8a n p r e s s t h r e t u r n k e y . W h e nt h p r o g r a m h a l o a d e d , t y p e

R U a n p r e s s t h r e t u r n k e y .Y o u ' l l s e t h o p e n i n g s c r e e n .

W h e n y o s e l e c t t h s e r v i c ey o w i s h t c a l l , R u n t e r m w i l l s e u y o u r c o m p u t e r a n m o d e mt c o m m u n i c a t e f o t h a t s p e c i f i cs e r v i c e ; y o d o n ' t h a v e t w o r r ya b o u t s t o p b i t s , w o r d l e n g t h o o t h e r t e c h n i c a l a s p e c t s o f t e l ec o m m u n i c a t i o n . I y o w i s h t c a l l s e r v i c e t h a t r e q u i r e s s p c i a l s e t t i n g s , h o w e v e r , y o c a d s b s e l e c t i n g i t e m 6 C u t o S e t t i n g s .

A f t e r y o m a k e y o u r s e l e c t i o n ,t h s c r e e n w i l l c l e a r , a n R u t e r m i r e a d y .

F o b u l l e t i n b o a r d o m a j o ro n - l i n e n e t w o r k , d i a l t h n u m b e ro t h s e r v i c e a n w a i t u n t i l y o h e a r t h c a r r i e r s i g n a l ( h i g h -p i t c h e d , s t e a d y t o n e ) . V I C - M od e u s e r s s h o u l d d i s c o n n e c t t h h e a d s e t f r o m i t c o r d a n p l u gt h c o r d i n t o t h m o d e m . 1 6 5 0o w n e r s s h o u l d m o v e t h D /

3

Page 42: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 42/73

R u T e r mi C A L L C O M P U S E R V E2 > C A L L D E L P H I , S O U R C E3 > C A L L f F U L L - D U P L E X B B I I S 1 K 6C O M M O D O R E A S C I I4 C A L L f F U L L - D U P L E X B B U S I N 6S T A N D A R D A S C I I5 H A L F D U P L E X C O M M O D O R E A S C I I6 U S C U S T O M T E R M I N A L S E T T I N G S

s w i t c h t ( d a t a ) . W h e n y o s e t h L E l i g h t u o y o u r m d e m , t h c o n n e c t i o n h a b e e ne s t a b l i s h e d .

I y o u ' r e c a l l i n g f r i e n d , t h e ny o m u s t d e c i d e b e t w e e n y o w h e n t s w i t c h y o u r m o d e m o v e rt D a t a ; y o d o n ' t n e e d t b t o c o n c e r n e d w i t h m a k i n g c o n n e ct i o n t t h o t h e r c o m p u t e r .

C O N T R O L C O D E SA t h i s p o i n t , m o s t n a t i o n a l s e

v i c e s r e q u i r e t h a t y o e n t e r

l o g - o n c o d e , w h i c h t e l l s t h e h o s tc o m p u t e r t h a t y o u ' r e r e a d y t g o C o m p u S e r v e , f o e x a m p l e ,w a i t s f o C o n t r o l - C ( A S C I I 3 o

R e t u r n . I y o a r c a l l i n g D e l p h iv i T y m n e t , y o u ' l l b a s k e d t e n t e r y o u r t e r m i n a l i d e n t i f i e r ( y o ut y p e a " a " ) .

I a d d i t i o n t t h l o g - o n c o d e ,y o u ' l l n e e d t s e n d a n r e c e i v eo t h e r s p e c i a l c o n t r o l c o d e s . T h f i r s t 2 c h a r a c t e r s i t h A S C I Ic h a r a c t e r s e t — C o n t r o l - A t h r o u g hC o n t r o l - Z — c o n s t i t u t e , a l o n g w i t h

Page 43: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 43/73

t h e s c a p e k e y , t h m o s t c o m o c o d e s .

T g e n e r a t e t h e s e c o d e s w i t hR u n t e r m , h o l d d o w n t h C T R Lk e a n p r e s s t h a p p r o p r i a t ek e y . C T R L - A s e n d s b i n a r y 1 C T R L - 2 0 ( d e l e t e ) s e n d s a b i n a r y2 0 a n s o n T s e n d t h e c a p e c h a r a c t e r , h o l d d o w n t h C T R L k e a n p r e s s t h c o l o nk e y . ( E s c a p e i o f t e n u s e d o nC o m p u S e r v e ) .

O T H E R S P E C I A L K E Y SI t h p r o c e s s o c o m m u n i

c a t i n g w i t h a n o t h e r c o m p u t e r ,y o u ' l l n e e d t p e r f o r m s e v e r a la u x i l i a r y o p e r a t i o n s , s u c h a c h e c k i n g t h d i s k d i r e c t o r y , c a t u r i n g d a t a i b u f f e r a n s a v i n gi t d i s k a n p r e p a r i n g t o r ec e i v e f i l e . T h e s e o p e r a t i o n s a r p e r f o r m e d u s i n g l o c a l c o m a n d s , g e n e r a t e d v i c o m b in a t i o n o t h l o g o ( C o m m o d o r e )k e a n t h l e t t e r k e y s .

F o e x a m p l e , y o u c a n r e a d t h d i s k d i r e c t o r y b h o l d i n g d o w nt h l o g o k e a n p r e s s i n g t h k e y . A i d o e s f o a l l o c a l c o m a n d s , R u n t e r m s e n d s t t h o t h e r c o m p u t e r C T R L - S ( A S C I I1 9 t p u i o h o l d s y o w o n ' tg e i n c o m i n g d a t a m i x e d i n t o t h d i r e c t o r y c o n t e n t s . I t h e n g e t st h d i s k d i r e c t o r y a n d i s p l a y s i t t h e s c r e e n . W h e n t h l a s t b y t eo t h d i r e c t o r y i d i s p l a y e d ,R u n t e r m s e n d s t h o t h e r c o p u t e r C T R L - Q , t e l l i n g i t o r e

s u m e t r a n s m i s s i o n . A l t h i s i t r a n s p a r e n t t y o u ; i n c l u d e i f o y o u r i n f o r m a t i o n o n l y .

T h e r e a r t w m o r e d i s k m a i nt e n a n c e c o m m a n d s — L o g o - Na n L o g o - R . U s L o g o - N t s c r a t c h d i s k f i l e . S i m p l y t y p ei t h n a m e o t h f i l e t b s c r a t c h e d , a n R u n t e r m w i l l r m o v e i f r o m t h d i r e c t o r y . L o g o -

i u s e d t r e n a m e f i l e . A t h f i l e n a m e p r o m p t , e n t e r t h c h a n g e a c c o r d i n g t t h i s f o r m a t :n e w n a m e o l d n a m ea n h i t h r e t u r n k e y .

B U F F E R C O M M A N D ST s e m e n u o t h e s e l o c a l

c o m m a n d s a n t h k e y s t h a tg e n e r a t e t h e m , h o l d d o w n t h l o g o k e a n p r e s s M

M o s t c o m m a n d s a r s e l f - e xp l a n a t o r y . T h L o g o - 0 c o m b in a t i o n o p e n s t h 3 2 c a p t u r eb u f f e r ; L o g o - C c l o s e s i t a n L o g o - Z r e s e t s t h p o i n t e r s t t h b e g i n n i n g o t h b u f f e r .

T c a p t u r e c h a r a c t e r s — i n c o mi n a n o u t g o i n g — i n t h b u f f e r ,p r e s s L o g o - O . Y o w i l l b n o t if i e d i t h b u f f e r f i l l s u p a n t h o t h e r c o m p u t e r w i l l b p u o h o l d u n t i l y o e i t h e r s a v e t h b u f f e r c o n t e n t s t d i s k o r c l e a rt h b u f f e r .

T w c o m m a n d s a l l o w y o t s a v e t h b u f f e r c o n t e n t s t d i s k .L o g o - U w i l l s a v e i d i s k f i l e a l c h a r a c t e r s i t h b u f f e r . T h p r o -

Page 44: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 44/73

K . © y T v n i v A u t h o r i n f o r m a t i o nD i s p l a y b u f f e r t s c r e e nC l o s e b u f f e rD i s p l a y d i s k d i r e c t o r yC h a n g e b o r d e r c o l o rC h a n g e b a c k g r o u n d c o l o rC h a n g e t e x t c o l o rR e d e f i n e D E L e t e k e L o a d f i l e t b u f f e rS c r a t c h f i l eO p e n t h b u f f e rP r i n t b u f f e r c o n t e n t sq u i t t h p r o g r a mR e n a m e d i s k f i l eS a v e e d i t e d b u f f e rC h a n g e t e r m i n a l s e t t i n g sS a v e b u f f e r u n e d i t e dU p l o a d b u f f e rW o r d w r a p s t a t u sX m o d e m f i l e t r a n s f e rU p l o a d b u f f e r w / p r o m p tZ e r o b u f f e r

r e s s a n y k e y t c o n t i n u e

g r a m w i l l a s y o t s u p p l y t h f i l e n a m e a n f i l e t y p e ( p r o g r a mo s e q u e n t i a l ) . L o g o - S a l s o s a v e sb u f f e r c o n t e n t s , b u e d i t s o u s c r e e n c o d e s a n d c o n t r o l c o d e ss t h s a v e d f i l e c a l a t e r b p r i n t e d .

L o g o - B a l l o w s y o t v i e w t h b u f f e r c o n t e n t s o s c r e e n , a n L o g o - P w i l l s e n d t h b u f f e r c o t e n t s t t h p r i n t e r , s t r i p p i n g o u s c r e e n c o d e s a n c o n t r o l c o d e s .T h p r o g r a m h a n d l e s a l c h a ra c t e r s a C o m m o d o r e A S C I I . I y o a r c a l l i n g s t a n d a r d A S C I I

d a t a b a s e , c h a r a c t e r s a r e t r a n sl a t e d t s t a n d a r d A S C I I a s t h e ya r s e n t . I n c o m i n g c h a r a c t e r sa r c o n v e r t e d t C o m m o d o r eA S C I I b e f o r e t h e y a r s t o r e d , s a l t e x t w i l l b i f o r m a t c o p a t i b l e w i t h y o u r c o m p u t e r , a n y o d o n ' t h a v e t c o n c e r n y o u rs e l f w i t h c o n v e r s i o n s .

T h e r e a r t w w a y s o t r a n s f e rr i n g f i l e s w i t h R u n t e r m . Y o c a e i t h e r l o a d t h f i l e f r o m d i s k t t h p r o g r a m ' s b u f f e r a r e a , t h e nu p l o a d t h d a t a f r o m t h e r e , o r u i n t h x m o d e m p r o t o c o l , y o c a

3

Page 45: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 45/73

t r a n s f e r f i l e s d i r e c t l y t a n f r o my o u r d i s k . A g a i n , t h e r e i n n e e df o c o n v e r s i o n ; p r o g r a m s t r a n sf e r r e d b x m o d e m a r r e a d y t r u w h e n t h t r a n s f e r i d o n e .

n o t e a b o u t C o m p u S e r v ed o w n l o a d s i a p p r o p r i a t e h e r e .O C o m p u S e r v e , y o u c a n d o w nl o a d a l f i l e s i t h C o m m o d o r eI n f o r m a t i o n N e t w o r k . T h s p e c i a lh a n d l i n g r e q u i r e d t d o w n l o a dp r o g r a m s w i t h t h e x t e n s i o n. I M G i h a n d l e d a u t o m a t i c a l l y b R u n t e r m .

I y o w i s h t u p l o a d v i t h b u f f e r , u s t h L o g o - L c o m m a n dt l o a d t h e f i l e i n t o t h b u f f e r -i w i l l b l o a d e d o v e r a n y t h i n gt h a t w a p r e v i o u s l y t h e r e . T t r a n s f e r t h b u f f e r c o n t e n t s t t h o t h e r c o m p u t e r , y o h a v e t w c h o i c e s : L o g o - V a n L o g o - Y .L o g o - V w i l l s e n d t h e n t i r e b u f f e rc o n t e n t s w i t h o u t p a u s e .

L o g o - Y w i l l a s y o t e n t e rp r o m p t c h a r a c t e r . T h r o u t i n ew i l l t h e n u p l o a d e a c h l i n e o t h b u f f e r , p a u s i n g a f t e r i s e n d se a c h c a r r i a g e r e t u r n . D u r i n g t h p a u s e , R u n t e r m e x a m i n e s i c o m i n g c h a r a c t e r s f o t h d e i g n a t e d p r o m p t c h a r a c t e r , w h i c hs i g n a l s t h a t t h o t h e r c o m p u t e ri r e a d y t r e c e i v e t h e n e x t l i n e .

T h i s t r a n s f e r m e t h o d i s p c i a l l y d e s i g n e d s y o u c a nu p l o a d m e s s a g e s t o b u l l e t i nb o a r d s y s t e m s f r o m y o u r d i s k .G e n e r a l l y , y o c a c o m p o s em e s s a g e o y o u r w o r d p r o c e ss o a n s t o r e i t d i s k a C B

A S C I I t e x t f i l e . T h e n , w h e n y o u ' r eo n - l i n e a n w a n t t s e n d y o u rm e s s a g e t t h b u l l e t i n b o a r d ,l o a d t h f i l e u s i n g L o g o - L . W h e nt h B B t e l l s y o t e n t e r y o u rm e s s a g e , P r e s s L o g o - Y a n s u p l t h p r o m p t c h a r a c t e r , a n R u n t e r m w i l l s e n d t h m e s s a g ec o n t e n t s a u t o m a t i c a l l y .

T u s L o g o - Y , o c o u r s e , y o m u s t k n o w t h p r o m p t c h a r a c t e rb e i n g s e n t b t h o t h e r c o m p u t e r .I m o s t c a s e s , t h i s p r o m p t c h a ra c t e r w i l l b t h l a s t c h a r a c t e r i m e n u , o s t a r t - o f - l i n e m a r k e r . B f o r e u s i n g t h e L o g o - Y c o m m a n d ,t r t n o t i c e w h i c h p r o m p t c h a ra c t e r i b e i n g u s e d .

O C o m p u S e r v e , t h i s p r o m p t i u s u a l l y g r e a t e r - t h a n s y m b o l ( > o c o l o n ( : ) . O D e l p h i , t h p r o m p t i u s u a l l y l i n e f e e d ( y o ut y p e C T R L - J w h e n a s k e d t s u p l t h p r o m p t ) , s e n t a f t e r c a r i a g e r e t u r n . O t h e r s y s t e m s s i m p l ys e n d t h r e t u r n , w i t h o u t l i n e f e e d .I y o d o n ' t s e a n o b v i o u sp r o m p t c h a r a c t e r , t r t h l i n e f e e do c a r r i a g e r e t u r n . O r b e t t e r y e t ,c h e c k t h s e r v i c e ' s d o c u m e n t at i o n o a s t h S Y S O P .

X M O D E M T R A N S F E R ST t r a n s f e r f i l e d i r e c t l y t o

f r o m y o u r d i s k , u s t h L o g o - Xc o m m a n d . T h c h r o n o l o g y f o a x m o d e m t r a n s f e r i a f o l l o w s .Y o s e l e c t d o w n l o a d o u p l o a df r o m t h o t h e r c o m p u t e r ' sm e n u s . T h o t h e r c o m p u t e r w i l l

4

Page 46: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 46/73

t e l l y o w h e n i t ' s r e a d y . T h e ny o p r e s s L o g o - X a n t y p e o

a t h p r o m p t .I y o s e l e c t U f o u p l o a d , R u n -

t e r m w i l l a s k y o u t s u p p l y t h n a m e o t h e x i s t i n g f i l e t b u p l o a d e d a n w i l l t h e n t a k e o v e rf r o m t h e r e . Y o w i l l b n o t i f i e dw h e n t h t r a n s f e r i c o m p l e t e d ,a n k e y b o a r d c o n t r o l w i l l r e s u m e .

I y o s e l e c t f o d o w n l o a d ,y o u ' l l b a s k e d f o t h f i l e n a m ea n f i l e t y p e . T h p r o g r a m t h e nc r e a t e s t h n e f i l e o t h d i s k .( Y o u m u s t n o u s a e x i s t i n gf i l e n a m e . ) T h d o w n l o a d p r o c e s st h e n b e c o m e s a u t o m a t i c . Y o o n l y h a v e t w a i t u n t i l t h p r g r a m n o t i f i e s y o t h a t t h t r a n s f e ri c o m p l e t e .

I n o i s e o t h p h o n e l i n e o s o m e o t h e r p r o b l e m g a r b l e s t h t r a n s m i s s i o n , t h e n t h g a r b l e dp o r t i o n i r e - s e n t . I R u n t e r m a n t h o t h e r c o m p u t e r a r u n a b l e t c o m p l e t e t h t r a n s f e r , R u n t e r m w i l la u t o m a t i c a l l y a b o r t t h t r a n s f e ra n r e t u r n t k e y b o a r d c o n t r o l .

C H A N G I N G C O L O R SA N S E T T I N G ST h r e e c o m m a n d s — L o g o - H ,

L o g o - I a n L o g o - J — c h a n g e t h b o r d e r , b a c k g r o u n d a n t e x tc o l o r s , r e s p e c t i v e l y . I y o a r u s i n g C o m m o d o r e A S C I I , t h e ny o c a a l s o u s t h r e g u l a r k e c o m b i n a t i o n s t c h a n g e t e x tc o l o r , j u s t a y o d w h e n t h 6 i i I m m e d i a t e m o d e .

T h e r e a r e t i m e s w h e n y o u ' l lw a n t t c h a n g e y o u r t e r m i n a l s e t i n g s w i t h o u t r e s t a r t i n g t h p r g r a m . T r e d e f i n e y o u r d e l e t ek e y , u s L o g o - K . T h s t a n d a r dd e l e t e c h a r a c t e r i a A S C I I 1 2 7 .H o w e v e r , s o m e s e r v i c e s r e q u i r ey o t u s a b a c k s p a c e ( A S C I I8 ) a n y o m a n e e d t o r e v e r tt t h C o m m o d o r e d e l e t e c h a ra c t e r , A S C I I 2 0

R u n t e r m s e t s t h d e l e t e c h a ra c t e r a c c o r d i n g t w h i c h s e r v i c ey o s e l e c t f r o m t h o p e n i n g m e n u .F o C o m p u S e r v e a n l i n k u p s u i n C o m m o d o r e A S C I I , t h s e t t i n gi t h r e g u l a r A S C I I 2 0 f o D e l p h ia n T h S o u r c e , t h s e t t i n g i A S C I I 1 2 ( t r u e d e l e t e ) .

T r e s e t a n o a l o y o u r t e m i n a l p a r a m e t e r s , u s L o g o - T .T h i s c o m m a n d w i l l r e v i e w e a c hs e t t i n g a n a s i y o w i s h t r e s e t i t

T H P R O B L E M O W O R D W R A PS i n c e t h C - 6 4 h a 4 0 - c o l -

u m s c r e e n , w h e r e a s m o s t t e l ec o m m u n i c a t i o n s e r v i c e s u s a 8 0 - c o l u m n f o r m a t , y o o f t e n f i n dt h a t i n c o m i n g d a t a w i l l w r a pa r o u n d t h s c r e e n , l e a v i n g t h f i r s t p a r t o f w o r d d a n g l i n g o t h e n o t h p r e v i o u s s c r e e nl i n e . I t h i s i r r i t a t e s y o o m a k e st h w o r d h a r d t r e a d , t h e n y o n e e d L o g o - W .

W h e n R u n t e r m b o o t s u p t h L o g o - W r o u t i n e i s e t e l i m i n a t e

4

Page 47: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 47/73

t h i s p r o b l e m . T h s c r e e n i f o m a t t e d f o 4 c o l u m n s . B r o k e nw o r d s a r e r a s e d f r o m t h p r v i o u s l i n e a n m o v e d t t h e n e x tl i n e f o e a s e o r e a d i n g .

H o w e v e r , t h e r e a r e t i m e s —w h e n t y p i n g i m e s s a g e s , f o e a m p l e — w h e n y o w i l l w a n t t u s e a n 8 0 - c o l u m n f o r m a t t k e e pu w i t h s p a c i n g a n t h n u m b e ro c h a r a c t e r s i l i n e . T t u r no f t h j u s t i f i c a t i o n r o u t i n e , j u s tt y p e L o g o - W . E a c h t i m e y o t y p e L o g o - W , t h p r o g r a m w i l lt o g g l e a n t e l l y o i t c u r r e n ts t a t u s .

S o m e s e r v i c e s — D e l p h i i o n e —h a v e w o r d - w r a p f e a t u r e i t h e i rs o f t w a r e t h a t i s e a u t o m a t i c a l l yw h e n y o j o i n t h s e r v i c e . I s u c hc a s e s , y o m a w a n t t s e R u n -t e r m t t h 8 0 - c o l u m n f o r m a t ( a l o w o r d w r a p ) , s t h a t t h t w j u s t i f i c a t i o n f e a t u r e s w i l l n o w o r ka g a i n s t o n a n o t h e r .

L o g o - Q i u s e d t e n t h p r g r a m c l e a n l y . I y o a c c i d e n t a l l yh i i t t h p r o g r a m a l l o w s y o t c h a n g e y o u r m i n d .

F i n a l l y , L o g o - A i f a l s e c o m a n d t h a t w i l l g i v e y o i n f o rm a t i o n a b o u t t h a u t h o r o R u n t e r m .

G R A P H I C S A N L O G O C O M M A N D ST h f u n c t i o n k e y s o t h 6 a r h a n d y , b u t h e r e a r e n ' t e n o u g h o

t h e m . T h a t ' s w h R u n t e r m u s e s

t h l o g o k e f o r m a t . A l o n g a y o u ' r e c o m m u n i c a t i n g w i t h a o t h e r c o m p u t e r u s i n g s t a n d a r dA S C I I , t h e r e ' s n c o n f l i c t . B u i y o u ' r e u s i n g C o m m o d o r e A S C I Ia n w a n t t s e n d t h g r a p h i c sc h a r a c t e r s r e p r e s e n t e d b t h l o g o k e a n l e t t e r k e c o m b i n at i o n , y o m u s t u s t h f k e t l e a v e C o m m a n d m o d e a n e n t e rG r a p h i c s m o d e .

L i k e t h L o g o - W c o m m a n d , f i t o g g l e t h a t s w i t c h e s t h p r g r a m b e t w e e n t w s t a t e s . W h e nR u n t e r m i b o o t e d , i i i C o m a n d m o d e . T h i s m e a n s y o u c a nu s t h l o g o k e t g e n e r a t e l o c a lc o m m a n d s . I y o u ' r e u s i n g C o m o d o r e A S C I I a n w i s h t s e n dg r a p h i c s c h a r a c t e r s , j u s t h i f t g i n t o G r a p h c i s m o d e , t h e n h i i a g a i n w h e n y o n e e d t u s c o m a n d s . E a c h t i m e y o t o g g l e f 8 t h p r o g r a m t e l l s y o w h i c h m o d ey o u h a v e s e l e c t e d .

O T H E R M O D E M S A N T H 1 5 2 0 P L O T T E RW i t h f e P o k e s , y o u c a n u s

M i t e y - M o o H E S m o d e m I w i t hR u n t e r m . Y o s h o u l d m a k e t h e s eP o k e s a f t e r y o l o a d t h p r g r a m , b u b e f o r e r u n n i n g i t

T h f i r s t P o k e s f o M i t e y - M oa n H E S m o d e m 1 a r e :P O K E 1 3 6 7 8 , 1 0 2P O K E 1 3 6 7 9 , 3 2P O K E 1 3 6 8 0 , 1 0 2

4

Page 48: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 48/73

F o t h M i t e y - M o a n H E I I m a k e t h i s P o k e i y o u w a n t t b i O r i g i n a t e m o d e :P O K E 1 3 6 8 1 , 2

F o A n s w e r m o d e , e n t e r :P O K E 1 3 6 8 1 , 6 4

I y o u ' r e u s i n g R u n t e r m a n M i t e y - M o t c a l l f r i e n d , o n o y o u h a s t b i O r i g i n a t e m o d ea n t h o t h e r i A n s w e r m o d e .

I y o h a v e 1 5 2 0 p l o t t e r , t w P o k e s w i l l a l l o w y o t u s i w i t hR u n t e r m . P O K E 1 3 6 3 1 , 6 c h a n g e st h d e v i c e n u m b e r t 6 P O K E1 3 6 3 2 , n — w h e r e i t h n u m b e rf o t h s e c o n d a r y a d d r e s s t h a tp u t s t h e p l o t t e r i t h m o d e y o w a n t — c h a n g e s t h s e c o n d a r ya d d r e s s a l o c a t i o n 1 3 6 3 2 . E

4

Page 49: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 49/73

S c r e e n P r i n tN o w , w i t h o n l y o n p r o g r a m , y o c a p r i n t b o t hl o w - a n h i g h - r e s o l u t i o n s c r e e n s . A n d o i n g s i a s i m p l e a p r e s s i n g f u n c t i o n k e y .B R o b i n F r a n z e l

R U I R i g h tC 6 4 ; G 1 2 8 ( m G 6 4 m o d t )

D i s k d r i v e ; p r i n t e rI y o h a v e e v e r w o r k e d w i t h

e i t h e r h i g h - o r l o w - r e s o l u t i o ng r a p h i c s , y o u ' v e p r o b a b l y w i s h e dt h a t y o h a s o m e w a y t c a t u r e t h a t s c r e e n i m a g e o p a p e r .

S c r e e n P r i n t w i l l d u m p t e x ts c r e e n t a n p r i n t e r a n d a h i g h -o l o w - r e s o l u t i o n g r a p h i c s s c r e e nt y o u r d o t - m a t r i x p r i n t e r . Y o o n l yh a v e t p r e s s f u n c t i o n k e y , a n t h p r o g r a m w i l l d e t e r m i n ew h e t h e r y o u ' r e i h i g h o l o r e o l u t i o n a n p r i n t a c c o r d i n g l y .

I w i l l a l s o l o a d p r e v i o u s l ys a v e d h i - r e s s c r e e n , w h e t h e r t h a ts c r e e n w a s a v e d a s e q u e nt i a l f i l e , s t r a i g h t p r o g r a m f i l e o

K o a l a f i l e . Y o n e e d n ' t c o n c e r ny o u r s e l f w i t h w h a t t y p e o f i l ey o u ' r e l o a d i n g . J u s t e n t e r t h f i l en a m e , a n t h p r o g r a m w i l l f i u r o u w h a t y o u ' r e t a l k i n g a b o u ta n l o a d i t

Y o c a a l s o s a v e h i - r e ss c r e e n t d i s k b j u s t p r e s s i n g

f u n c t i o n k e a n e n t e r i n g t h f i l e n a m e .

I y o u ' r e i l o - r e s a n h a v e ah i - r e s s c r e e n l o a d e d , y o c a v i e w y o u r h i - r e s s c r e e n b p r e s si n a n o t h e r k e y . W h i l e i t h v i e w s c r e e n , f w i l l p r i n t t h h r e s c r e e n , a n t h s p a c e b a w i l l r e t u r n y o t y o u r p r i o rs c r e e n .

P R I N T I N G Y O U R S C R E E NI y o h a v e 1 5 2 5 p r i n t e r ,

y o u ' r e a l s e t u s t h p r o g r a ma s d e s c r i b e d b e l o w .

I y o h a v e n o n - C o m m o d o r ep r i n t e r , a f t e r y o h a v e r u S c r e e nP r i n t , l o a d a n r u S c r e e n P r i n t 2 .T h i s p r o g r a m w i l l m o d i f y t h m a i n p r o g r a m t w o r k w i t hG e m i n i 1 0 p r i n t e r w i t h C a r d c o? i n t e r f a c e . I i e a s i l y m o i f i a b l e t w o r k w i t h v i r t u a l l y a n d o t - m a t r i x p r i n t e r a n w i l l e a b l e y o t t a k e f u l l a d v a n t a g e

4

Page 50: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 50/73

o y o u r n o n - C o m m o d o r e p r i n te r ' s c a p a b i l i t i e s .

S c r e e n P r i n t i p r o v i d e d f o y o u r c o n v e n i e n c e . I w i l l s a v e t h m a c h i n e l a n g u a g e p r o g r a m t d i s k w i t h t h n a m e H I R E S U T I L ,w h i c h w i l l e n a b l e y o t s t a r t u t h p r o g r a m b e n t e r i n g :L O A D " H I R E S U T I L " , 8 , 1a n t h e nS Y S 4 9 1 5 2T h i s w i l l l o a d t h e p r o g r a m m u c hf a s t e r a n d , f o n o n - C o m m o d o r ep r i n t e r u s e r s , w i l l m a k e i u n e c e s s a r y t l o a d a n r u t w p r o g r a m s .

T u s t h p r o g r a m , l o a d a n r u S c r e e n P r i n t a n d , i n e c e ss a r y , S c r e e n P r i n t 2 T h e n l o a da n r u S c r e e n P r i n t 3 Y o u ' l l b a s k e d t i n s e r t d i s k a n p r e s s

k e w h e n r e a d y . W h e n y o d t h i s , t h S c r e e n P r i n t p r o g r a mw i l l b s a v e d o y o u r d i s k .

H O I W O R K ST h e p r o g r a m i i n t e r r u p t -d r i v e n , w h i c h m e a n s t h a t i c a

w o r k e v e n w h i l e y o h a v e a o t h e r p r o g r a m r u n n i n g ( a l o n ga t h e r e i s n ' t c o n f l i c t o m e o r u s e ) . S i x t y t i m e s s e c o n d ,l o c a t i o n 1 9 ( $ C 5 ) i t h C - 6 4 i c h e c k e d f o d e p r e s s e d k e y . I o n o t h f u n c t i o n k e y s i p r e s s e d , t h e n t h P r i n t S c r e e nP l u s p r o g r a m t a k e s o v e r a n d o e s i t w o r k . W h e n i i f i n i s h e d ,i r e t u r n s y o t w h e r e y o l e f t

o f i y o u r p r o g r a m . Y o c a c h a n g e t h k e y s t h a t d t h w o r k , b u t h p r o g r a m d e f a u l t sa r a f o l l o w s :f C h e c k s t s e i y o a r i

H i g h - R e s o l u t i o n o L o w - R e s ol u t i o n m o d e a n p r i n t s t h s c r e e n .

f P r o m p t s y o u f o h i - r e s f i l en a m e a n t h e n l o a d s f i l e .P r e s s i n g t h r e t u r n k e w i t h o u t

f i l e n a m e w i l l r e t u r n y o t y o u r p r o c e s s i n g .

f P r o m p t s y o f o f i l e n a m e ,a n t h e n s a v e s t h h i - r e ss c r e e n . P r e s s i n g t h r e t u r nk e w i t h o u t f i l e n a m e w i l l r t u r n y o t y o u r p r o c e s s i n g .

f T u r n s o H i - R e s m o d e f o v i e w i n g s c r e e n i m e m o r y .P r e s s t h f k e t p r i n t t h s c r e e n o t h s p a c e b a t r t u r n t o y o u r p r o c e s s i n g .T c h a n g e t h k e y s t h a t p e

f o r m t h e s e f u n c t i o n s , s i m p l y u d a t e f o u r - c h a r a c t e r t a b l e i t h p r o g r a m w i t h t h k e c o d e f o t h n e k e y . c h a r t o t h e s ek e c o d e s c a b f o u n d i R U N ' s S p e c i a l I s s u e o p 1 4 6 .T d i s a b l e f u n c t i o n , P o k e t h t a b l e w i t h 0 T h p r o g r a m t a b l ei i l o c a t i o n 4 9 2 8 3 ( $ C 0 8 3 ) a n i i P r i n t , L o a d , S a v e a n d V i e ws e q u e n c e .

F o e x a m p l e , t c h a n g e t h p r o g r a m s t h a t t h < k e i n i t ia t e s t h s a v e f u n c t i o n , e n t e r :P O K E 4 9 2 8 5 , 4 8

L o c a t i o n 4 9 3 0 0 ( $ C 0 9 4 ) c o n -

4

Page 51: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 51/73

t a i n s t h s e c o n d a r y a d d r e s sw h e n o p e n i n g t h p r i n t e r . Y o n e e d t P o k e t h i s l o c a t i o n i y o w a n t t c h a n g e f r o m u p p e r c a s e /g r a p h i c s t l o w e r c a s e / b u s i n e s sm o d e w h e n p r i n t i n g l o w - r e s ol u t i o n s c r e e n . T h d e f a u l t i u p e r c a s e . T c h a n g e t l o w e rc a s e , e n t e r :P O K E 4 9 3 0 0 , 7T c h a n g e b a c k t u p p e r c a s e ,e n t e r :P O K E 4 9 3 0 0 , 0

W h d y o n e e d t u s S c r e e n P r i n t f o n o n - C o m m od o r e p r i n t e r s ? O n r e a s o n i s p e e d . W i t h o n l y S c r e e n P r i n t ,d u m p i n g h i - r e s s c r e e n t t h C o m m o d o r e 1 5 2 5 p r i n t e r t a k e s

t e d i o u s f o u r m i n u t e s a n 1 s e c o n d s .

W i t h S c r e e n P r i n t 2 m G e

i n p r i n t e r w i l l p r i n t h i - r e s s c r e e ni 3 s e c o n d s ! T h p r o g r a m r o t i n e e n a b l e s y o t b y p a s s t h i n t e r f a c e a n s e n d c o n t r o l a n d a t a c o d e s d i r e c t l y t t h p r i n t e r .

S c r e e n P r i n t r e c o g n i z e s t h e h r e s c r e e n a b i t - m a p s c r e e n ,w h i c h i n i c e , e v e n i M u l t i c o l o rm o d e , b e c a u s e e a c h o t h f o u rc o l o r s w i l l b g i v e n d i f f e r e n ts h a d i n g . T s e h o y o u r p i c t u r ew i l l a p p e a r o t h s c r e e n , u s t h V i e w o p t i o n .

N o t e : C - 6 4 S c r e e n P r i n t w i l lw o r k w i t h m a n y o R U N ' s p r v i o u s l y p u b l i s h e d h i - r e s d r a w i n gp r o g r a m s . " J o y s t i c k A r t i s t "( J u n e 1 9 8 4 ) i o n s u c h p r g r a m . A l s o , t h i s s c r e e n p r i n t p r g r a m w i l l w o r k w i t h " H i g hP e r f o r m a n c e T u r t l e " ( J u l y 1 9 8 5 )a n " G r a p h i c s D i s p l a y S y s t e m "( O c t o b e r 1 9 8 5 ) .

4

Page 52: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 52/73

F i n a n c i a l A s s i s t a n tC a l c u l a t i n g m o r t g a g e s , l o a n s a n i n v e s t m e n t s i

s n a p w i t h t h i s p r o g r a m .B S L e Z i e l e n

R U I R i g h0 6 4 ; 0 1 2 8 ( m C 6 4 m o d e )

H o m e F i n a n c e A i i s i m p l e t o p e r a t e . F r o m t h m e n u , j u s tp r e s s t h e a p p r o p r i a t e f u n c t i o nk e t s e l e c t t h e d e s i r e d c a l c ul a t i o n , a n t h e n f o l l o w t h p r o m p t s . I y o p r e s s a i n v a l i dk e y , y o u ' l l h e a r w h i t e n o i s e .P r e s s i n g v a l i d k e y s p r o d u c e st o n e . T h f u n c t i o n s p r o v i d e d a r d e s c r i b e d b e l o w :

D e t e r m i n e s t h p a y m e n t f o l o a n o r m o r t g a g e .

f C a l c u l a t e s t h e f u t u r e v a l u e o l u m p - s u m i n v e s t m e n t .

f C a l c u l a t e s t h e f u t u r e v a l u e o p e r i o d i c i n v e s t m e n t o t h

s a m e a m o u n t o m o n e y ( e . g . ,p a y r o l l d e d u c t i o n t c r e d i t

u n i o n a c c o u n t ) .f P r i n t s a i m a g e o t h e c u r r e n t

s c r e e n .E x i t s t h p r o g r a m .

I a l c a l c u l a t i o n s , t h i n t e r e s tr a t e , i n v e s t m e n t o r l o a n a m o u n ta n t h e t i m e p e r i o d a r e v a r i a b l e .D u r i n g t h c a l c u l a t i o n o f l o a np a y m e n t , i i a s s u m e d t h a t t h i t e r e s t a m o u n t i a p p l i e d a e a c hp a y m e n t i m a d e . F o i n v e s t m e n t s ,t h f r e q u e n c y o c o m p o u n d i n g i e n t e r e d a " I n t e r e s t P e r i o d s p e Y e a r . " F o e x a m p l e , t c o m p o u n di n t e r e s t q u a r t e r l y , e n t e r 4 T c o p o u n d d a i l y , u s 3 6 5 .

T h t i m e p e r i o d i e n t e r e d a d e c i m a l f o f r a c t i o n s o f y e a r

i r e s p o n s e t " N u m b e r o Y e a r s . " F o e x a m p l e , s p e c i f y 1 . f o 1 8 m o n t h s .

P r e s s i n g t h r e t u r n k e i r s p o n s e t p r o m p t w i l l r e t a i nt h l a s t v a l u e e n t e r e d f o t h p r o m p t . T h i s f e a t u r e i h a n d y f o m a k i n g c o m p a r i s o n s . F o i s t a n c e , t c o m p a r e t h c o s t o c a l o a n f o f o u r y e a r s v e r s u sf i v e , f i r s t e n t e r t h e d a t a f o t h l o a n f o f o u r y e a r s . T h e n p r e s s

4

Page 53: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 53/73

r a i - D e t e r w i n e P a y m e n t f o l o a nf i s h - C a l c u l a t e F u t u r e V a l u e o a I n v e s t m e n tf i r i - C a l e u l a t e F u t u r e V a l u e o a E q u a l P e r i o d i c I n v e s t m e n tf i r l - P r i n t H a r d c o p y I m a g e o C u r r e n t S c r e e nQ U - E n d

t h f k e t p e r f o r m t h c a c u l a t i o n a g a i n . T h i s t i m e , e n t e rf o " N u m b e r o Y e a r s " a n h i t h r e t u r n k e f o t h o t h e rp r o m p t s .

Y o c a u s t h f k e t r

t u r n t t h m e n u f r o m a n p r o m p t a n t h e f 6 k e t p r i n ta i m a g e o t h s c r e e n a f t e r a n c a l c u l a t i o n . T h f k e c a a l s ob u s e d t p r i n t t h m e n u o i n s t r u c t i o n s c r e e n .

4

Page 54: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 54/73

Page 55: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 55/73

D i s k M a s t e r w i l l c r e a t e a n m a i n t a i n a l n e c e s s a r y f i l e s o t h m a s t e r d i r e c t o r y d i s k .

F o t h p r o g r a m t f u n c t i o np r o p e r l y , y o u m u s t a l w a y s p l a c et h m a s t e r d i r e c t o r y d i s k i n t ot h d r i v e w h e n D i s k M a s t e r i s t a r t e d . I ' s u g g e s t t h a t y o n o p u a n o t h e r p r o g r a m s o n t h i sd i s k , s i n c e t h p r o g r a m a s s u m e st h a t t h e n t i r e d i s k i a v a i l a b l ef o s t o r i n g d i r e c t o r i e s .

W h e n e v e r t h p r o g r a m i r u n ,m e n u i d e n t i f i e s t h f i v e m a j o r

f u n c t i o n s a v a i l a b l e . T p e r f o r ms p e c i f i c f u n c t i o n , s i m p l y e n t e r t h i n d i c a t e d n u m b e r . E n t e r i n g z e r ow i l l t e r m i n a t e t h e p r o g r a m a n dr e t u r n y o t B a s i c .

F U N C T I O N D E T A I L S1 — U p d a t e m a s t e r d i r e c t o r y .

W h e n y o s e l e c t t h i s f u n c t i o n , y o r e m o v e t h m a s t e r d i r e c t o r y d i s kf r o m t h d r i v e a n i n s e r t t h d i s ky o w a n t c a t a l o g e d . T h e n y o p r e s s a n k e o t h k e y b o a r d .

T h p r o g r a m w i l l d i s p l a y t h d i s k I a n n a m e a s r e a d f r o mt h d i s k a n t h e n w a i t f o v e r i f ic a t i o n t h a t t h c o r r e c t d i s k w a a c t u a l l y i n s e r t e d . I i e n t e r e d ,t h p r o g r a m w i l l w a i t f o a n o t h e rd i s k t b i n s e r t e d . A f t e rr e s p o n s e , t h p r o g r a m w i l l p r c e e d t r e a d t h e d i s k d i r e c t o r ya n s o r t t h e f i l e n a m e s f o u n d i n t oa l p h a b e t i c a l o r d e r .

I t h d i s k I D h a a l r e a d y b e e n

c a t a l o g e d , b u w i t h d i f f e r e n td i s k n a m e , a w a r n i n g m e s s a g ew i l l b d i s p l a y e d . Y o t h e n c a e i t h e r a b o r t o c o n t i n u e t h c a a l o g u p d a t e f u n c t i o n . I e v e r yt h i n g i O K t h p r o g r a m w i l l a s y o t i n s e r t t h m a s t e r d i r e c t o r yd i s k b a c k i t h d r i v e a n p r e s sa n k e w h e n r e a d y .

D i s k M a s t e r w i l l t h e n u p d a t et h m a s t e r d i r e c t o r y a n t h c r o s s - r e f e r e n c e f i l e . O n c e t h i s i c o m p l e t e d , y o u c a n r e m o v e t h m a s t e r d i r e c t o r y d i s k a n i n s e r ta n o t h e r d i s k t b c a t a l o g e d .

I y o e n t e r w h e n t h p r g r a m i w a i t i n g f o d i s k t b i n s e r t e d a n c a t a l o g e d , t h p r g r a m w i l l t e r m i n a t e t h e u p d a t ef u n c t i o n a n r e t u r n t t h m a s t e rf u n c t i o n m e n u . H o w e v e r , b e f o r er e d i s p l a y i n g t h m a s t e r m e n u ,t h p r o g r a m w i l l r e m i n d y o t m a k e s u r e t h m a s t e r d i r e c t o r yd i s k i i n s e r t e d i t h d r i v e , a n i w i l l w a i t f o a n k e t b p r e s s e d b e f o r e p r o c e e d i n g .

Y o c a e a s i l y c a t a l o g a n n u m b e r o d i s k s b m e r e l y i s e r t i n g t h e m o n a f t e r a n o t h e r ,b u a l w a y s i a l t e r n a t i o n w i t h t h m a s t e r d i r e c t o r y d i s k t s a v e t h c a t a l o g i n f o r m a t i o n . I d i s k h a a l r e a d y b e e n c a t a l o g e d , t h n e d i r e c t o r y w i l l s i m p l y r e p l a c e t h eo l d e r e n t r y t u p d a t e t h m a s t e rd i r e c t o r y .2 — D e l e t e d i s k e n t r y f r o m m a t e r . T h i s f u n c t i o n a l l o w s y o t r e m o v e p a r t i c u l a r d i s k c o m -

5

Page 56: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 56/73

p l e t e l y f r o m t h m a s t e r d i r e c t o r y .I p e r f o r m s a l n e c e s s a r y h o u s ek e e p i n g b d e l e t i n g t h a p p r op r i a t e d a t a f i l e a n t h d i s k e n t r yi t h e c r o s s - r e f e r e n c e l i s t o d i s kI D a n n a m e s .

T h i s s h o u l d b t h o n l y m e t h o du s e d t r e m o v e a e n t r y f r o mt h m a s t e r d i r e c t o r y . D n o t r t d e l e t e t h d a t a f i l e o t h m a t e d i r e c t o r y d i s k m a n u a l l y . T h i n d i v i d u a l d i r e c t o r y f i l e s a r n a m e d b " D I R . " p l u s t h e t w o -c h a r a c t e r I f o t h c o r r e s p o n di n d i s k .

T h d i s k t b d e l e t e d i i d e nt i f i e d b i t d i s k I D o b i t n a m e . c r o s s - r e f e r e n c e o d i s kI D a n n a m e s e x i s t s s t h a t y o c a s p e c i f y e i t h e r . T e n t e r t h d i s k n a m e i n s t e a d o t h I D p r e s s t h r e t u r n k e a l o n e f o t h d i s k I a n t h e n e n t e r t h d s i r e d d i s k n a m e .

Y o c a n e v e n u s e a n a s t e r i s ka t h e n o t h d i s k n a m e t i n d i c a t e c h a r a c t e r - m a t c h i n g o t h c h a r a c t e r s e n t e r e d . T h p r g r a m w i l l d i s p l a y d i s k n a m ea n I D t h e n c h e c k t s e i t h e ya r c o r r e c t . I t h r e s p o n s e i N a n y o u u s e d a n a s t e r i s k f o c h a r a c t e r - m a t c h i n g , t h e n t h n e x t I D e n t r y i t h c r o s s - r e f e re n c e l i s t w i l l b d i s p l a y e d .

T h i s l e t s y o s e a r c h q u i c k l y f o t h e d e s i r e d d i s k i y o c a n ' t r m e m b e r t h I o f u l l d i s k n a m e .I y o e n t e r o n l y a a s t e r i s k f o t h d i s k n a m e , t h p r o g r a m w i l l

a u t o m a t i c a l l y s t e p t h r o u g h t h e n t i r e l i s t o d i s k s u n t i l y o i n d ic a t e t h a t t h c o r r e c t o n i f o u n d . Y o c a u s " ? " a sw i l d c a r d . " ? * " w i l l l i s t t h e n t i r ed i r e c t o r y .

P r e s s i n g t h e r e t u r n k e a l o n ef o t h d i s k n a m e w i l l e n t h f u n c t i o n a n r e t u r n y o t t h m a s t e r f u n c t i o n m e n u . I y o u e nt e d i s k I o n a m e t h a t d o e sn o e x i s t i t h m a s t e r d i r e c t o r y ,a e r r o r m e s s a g e w i l l b d i p l a y e d . S i m p l y p r e s s a n k e t c o n t i n u e ; t h e n e n t e r a n o t h e r d i s kI D o r n a m e .3 — D i s p l a y s e l e c t e d d i r e c t o r y .T h i s d i s p l a y s o p r i n t s t h d i r e ct o r y o a n d i s k t h a t h a b e e nc a t a l o g e d . T h s p e c i f i c d i s k m u s tb i d e n t i f i e d b i t I o n a m ei t h s a m e m a n n e r a i t h d e l e t e f u n c t i o n . O n c e t h c o r r e c td i s k i f o u n d , t h e d i s k d i r e c t o r yd i s p l a y e d o p r i n t e d w i l l i n d i c a t e :

t h d i s k n a m e , I a n f o r m a tt h n u m b e r o b l o c k s f r e ee a c h f i l e o t h d i s k , w i t h t h

n u m b e r o b l o c k s i t h f i l e a n t h f i l e t y p et h t o t a l n u m b e r o f i l e s o t h

d i s kW h i l e t h d i r e c t o r y i b e i n g d i

p l a y e d o p r i n t e d , h i t t i n g a n k e w i l l s u s p e n d t h e o p e r a t i o n u n t i l a o t h e r k e i h i t . I t h e n e x t k e y o h i i Q t h d i r e c t o r y w i l l b a b o r t e d a n y o u c a n s e l e c t a o t h e r d i s k t d i s p l a y . H i t t i n g t h r t u r n k e f o b o t h t h I a n d i s k

5

Page 57: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 57/73

n a m e w i l l t e r m i n a t e t h e f u n c t i o na n r e t u r n y o t t h m a s t e r f u n ct i o n - s e l e c t i o n m e n u .4 — F i n d s p e c i f i e d f i l e . T h i s f u n ct i o n p r o v i d e s m e t h o d o f i n d i n ga l c o p i e s o p a r t i c u l a r f i l e a n i n d i c a t e s w h a t d i s k s t h e y c a b f o u n d o n

A g a i n , y o u c a n u s c h a r a c t e r -m a t c h i n g w h e n e n t e r i n g t h e f i l en a m e b a d d i n g t r a i l i n g a s t e ri s k , b u a t l e a s t o n c h a r a c t e rm u s t p r e c e d e i t I a a s t e r i s k i n o u s e d , t h e n t h f i l e n a m e m u s tm a t c h e x a c t l y t b d i s p l a y e d o p r i n t e d . O t h e r w i s e , i t h s p e c if i e d n u m b e r o c h a r a c t e r s m a t c h ,t h f i l e w i l l b i n c l u d e d i t h l i s t .F o e x a m p l e , y o u c a n l i s t a l f i l e st h a t s t a r t w i t h t h w o r d D I S K b e n t e r i n g t h f i l e n a m e D I S K * .

E n t e r i n g r e t u r n a l o n e f o t h f i l e n a m e w i l l r e t u r n t h p r o g r a mt t h m a s t e r m e n u . W h i l e t h l i s t o f i l e s i b e i n g g e n e r a t e d ,h i t t i n g a n k e w i l l s u s p e n d t h o p e r a t i o n u n t i l a n o t h e r k e i p r e s s e d . I t h e n e x t k e y o h i i Q t h e o p e r a t i o n w i l l b t e m i n a t e d a n y o c a e n t e r a o t h e r f i l e t b s o u g h t .5 — L i s t d i s k I D a n n a m e s . T h i sf u n c t i o n p r o v i d e s v a r i o u s l i s t s o I D a n n a m e s f o t h d i s k s c u r e n t l y c a t a l o g e d . I d i s p l a y s a o t h e r m e n u t s e l e c t t h e d e s i r e dl i s t . W h i l e a n l i s t i b e i n g d i p l a y e d o p r i n t e d , h i t t i n g a n k e w i l l s u s p e n d t h o p e r a t i o n u n t i la n o t h e r k e i p r e s s e d .

I y o e n t e r Q t h e o p e r a t i o nw i l l b a b o r t e d , a n c o n t r o l w i l lr e t u r n t o t h l i s t - s e l e c t i o n m e n u .E n t e r i n g z e r o f o t h l i s t s e l e c t i o nw i l l r e t u r n y o t t h m a s t e r f u n ct i o n m e n u . T h v a r i o u s l i s t s p r v i d e d a r a f o l l o w s .T y p i n g 1 p r i n t s c h a r t s h o w i n g

a l d i s k I D c u r r e n t l y i u s a n c a t a l o g e d . T h i s i a b o u t t w o -p a g e l i s t , a n y o m u s t u s C o m m o d o r e p r i n t e r . I s h o w s a l I D c o n s i s t i n g o t h n u m b e r s0 - 9 a n d t h l e t t e r s A - i a n c o m b i n a t i o n .

I t ' s i n t e n d e d t b e u s e d a c h e c k s h e e t w h e n y o a s s i g nn e I D s . T h i s c h a r t u s e s t h P E g r a p h i c s , s i t ' l l p r o b a b l y n o p r i n t c o r r e c t l y w i t h n o n - C o m m od o r e p r i n t e r s .T y p i n g 2 d i s p l a y s o p r i n t s i

a l p h a b e t i c a l o r d e r q u i c k l i s t o a l I D c u r r e n t l y i u s e . O n l y t h I D a r g i v e n , a l o n g w i t h a i d i c a t i o n o t h t o t a l n u m b e r o I D s c a t a l o g e d .T y p i n g 3 d i s p l a y s o p r i n t s l i s t

o a l I D i u s e , a l o n g w i t h t h c o r r e s p o n d i n g d i s k n a m e . T h i sl i s t i p r i n t e d i a l p h a b e t i c a l o rd e r , a p e t h d i s k I D s .T y p i n g 4 d i s p l a y s o r p r i n t s l i s t

o a l c a t a l o g e d d i s k s , s h o w i n gt h I a n n a m e a n t h n u b e o f r e e b l o c k s o e a c h . T h p r o g r a m a l l o w s y o t s p e c i f yt h m i n i m u m n u m b e r o f r e eb l o c k s d i s k m u s t h a v e t b i n c l u d e d i t h l i s t .

5

Page 58: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 58/73

T h i s l e t s y o u , f o i n s t a n c e , i d i c a t e t h a t y o u w a n t l i s t o a l d i s k s w i t h a l e a s t 1 0 f r e eb l o c k s . T h d e f a u l t v a l u e i z e r o ,s e v e r y d i s k c u r r e n t l y c a t a l o g e dw i l l b l i s t e d i y o d o n ' t c h a n g et h v a l u e d i s p l a y e d .T y p i n g 5 : s i m i l a r t T y p i n g 4

e x c e p t t h a t i a s k s y o t s p e c i f ym a x i m u m n u m b e r o f r e e

b l o c k s f o p a r t i c u l a r d i s k t b i n c l u d e d i t h l i s t . T h i s a l l o w sy o u , f o e x a m p l e , t c a l l f o l i s to a l d i s k s w i t h n m o r e t h a n 1 f r e e b l o c k s . A a r b i t r a r y d e f a u l tv a l u e h a b e e n p r e s e t a 9 9 I y o e n t e r n e n u m b e r w i t hs i n g l e - d i g i t v a l u e , b s u r e t c l e a r t h l a s t d i g i t o t h d e f a u l t9 v a l u e .

5

Page 59: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 59/73

D o u b l e Y o u r B a s i c !H e r e ' s B a s i c 4 . 5 , p r o f e s s i o n a l - q u a l i t y e x t e n d e dB a s i c t h a t a d d s a l t h B a s i c 4 . c o m m a n d s t y o u rC - 6 4 ' s B a s i c , p l u s s p r i t e g r a p h i c s , m u s i c , w i n d o w sa n a d d i t i o n a l d i s k c o m m a n d s .B R o b e r t R o c k e f e l l e r

R U I R i g h tC - 6 4 ; G 1 2 8 ( i n G 6 4 m < k )

T h i s p r o g r a m i n c o r p o r a t e s a l t h B a s i c 4 . c o m m a n d s , a l l o wi n C - 6 4 o w n e r s t r u m u c h o t h e s o f t w a r e d e v e l o p e d f o t h P E T / C B M l i n e , a w e l l a s o m es p r i t e g r a p h i c s , m u s i c , w i n d o wi n a n a d d i t i o n a l d i s k c o m a n d s . T a c t i v a t e B a s i c 4 . 5 ,t y p e L O A D " B A S I C 4 . 5 " , 8 , 1 .T h e n t y p e S Y 6 4 7 3 8 .

S C R E E N - R E L A T E DC O M M A N D S

R E l e f t - m o s t c o l u m n ( 0 - 3 9 ) , t o r o ( 0 - 2 4 ) , w i d t h ( 1 - 4 0 ) , d e p t h( - 2 5 ) — r e v e r s e s e v e r y t h i n gw i t h i n t h d e f i n e d w i n d o w .I N l e f t - m o s t c o l u m n ( 0 - 3 9 ) , t o r o ( 0 - 2 4 ) , w i d t h ( 1 - 4 0 ) , d e p t h

( 1 - 2 5 ) — i n v e r s e s e v e r y t h i n gw i t h i n t h w i n d o w . T h i s c a r v e r s e t h R E c o m m a n d .R I G H T W l e f t - m o s t c o l u m n ( 0 3 9 ) , t o r o ( 0 - 2 4 ) , w i d t h ( 1 -4 0 ) , d e p t h ( 1 - 2 5 ) — s c r o l l s e v e r yt h i n g w i t h i n t h w i n d o w o n c o u m t t h r i g h t a n i n s e r t sc o l u m n o s p a c e s a t h l e f t - m o s tc o l u m n o t h w i n d o w .L E F T W l e f t - m o s t c o l u m n ( 0 - 3 9 ) ,t o r o ( 0 - 2 4 ) , w i d t h ( 1 - 4 0 ) ,d e p t h ( 1 - 2 5 ) — s c r o l l s e v e r y t h i n gw i t h i n t h w i n d o w o n c o l u m n t t h l e f t .U P l e f t - m o s t c o l u m n ( 0 - 3 9 ) , t o r o ( 0 - 2 4 ) , w i d t h ( 1 - 4 0 ) , d e p t h( 1 - 2 5 ) — s c r o l l s u o n r o w .D O W N W l e f t - m o s t c o l u m n ( 0 3 9 ) , t o r o ( 0 - 2 4 ) , w i d t h ( 1 -4 0 ) , d e p t h ( 1 - 2 5 ) — s c r o l l s d o w no n r o w .

5

Page 60: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 60/73

F L A S H # t i m e s ( 0 - 2 5 5 ) , s p e e d( 0 - 2 5 5 ) , l e f t - m o s t c o l u m n ( 0 - 3 9 ) ,t o r o ( 0 - 2 4 ) , w i d t h ( 1 - 4 0 ) ,d e p t h ( 1 - 2 5 ) — f l a s h e s t h d f i n e d w i n d o w .F I L L s c r e e n - c o d e v a l u e ( 0 - 2 5 5 ) ,c o l o r ( 0 - 1 5 ) , l e f t - m o s t c o l u m n( 0 - 3 9 ) , t o r o ( 0 - 2 4 ) , w i d t h ( 1 4 0 ) , d e p t h ( 1 - 2 5 ) — f i l l s w i n d o ww i t h c h a r a c t e r o t h s p e c i f i e dc o l o r . I m a b n e c e s s a r y t u s F i l l b e f o r e R E o I N i t h w i d o h a s p a c e s t h a t a r t h s a m e c o l o r a t h c u r r e n t s c r e e nc o l o r . I t h a t c a s e , r e v e r s e ds p a c e w o u l d n o b s e e n .B F L A S H # t i m e s ( 0 - 2 5 5 ) , s p e e d( 0 - 2 5 5 ) , c o l o r ( 0 - 1 5 ) , c o l o r( 0 - 1 5 ) — f l a s h e s t h b o r d e r i t h s p e c i f i e d c o l o r s .C E N T R E s t r i n g e x p r e s s i o n— c e n t e r s t h s t r i n g o t h s c r e e nr o w h e r e t h c u r s o r i l o c a t e d .I L E ( s t r i n g ) > 4 0 , t h e n t h a t i o n i l i k e t h P r i n t c o m m a n d .A n s t r i n g p a r a m e t e r u s a b l e b t h P r i n t c o m m a n d i a c c e p t e d .L O C A T E x - p o s i t i o n ( 0 - 3 9 ) , y - p o -s i t i o n ( 0 - 2 4 ) — m o v e s t h c u r s o rt t h s p e c i f i e d x , p o s i t i o n ; 0 , i t h u p p e r - l e f t c o r n e r . 3 9 , 2 4 i t h b o t t o m r i g h t .

D I S K C O M M A N D SA l t h d i s k c o m m a n d s , e x c e p t

R e c o r d , a c c e p t B a s i c 4 . 0 - t y p ep a r a m e t e r s t r i n g s . T h i s m e a n st h p a r a m e t e r s f o l l o w i n g c o

m a n d m a y b i a n o r d e r . E a m p l e — D L O A D " b a s i c p r o g r a m "( f i l e n a m e ) , D 0 ( d r i v e n u m b e r ) , U 9( d e v i c e n u m b e r ) a n D L O A DU 9 , D O , " b a s i c p r o g r a m " a r b o t hv a l i d c o m m a n d s . S e v e r a l p r a m e t e r t y p e s a r a l l o w e d . S o m ep a r a m e t e r s a r a l w a y s o p t i o n a l .

1 S o m e c o m m a n d s r e q u i r e t h a tf i l e n a m e b s p e c i f i e d . f i l e

n a m e m a b e l i t e r a l s t r i n g i q u o t e s , o s t r i n g e x p r e s s i o n o s t r i n g v a r i a b l e i b r a c k e t s . E x a m p l e s - ( R I G H T $ ( C C $ , 2 ) ) o ( A $ ) .2 d r i v e n u m b e r — D , f o l l o w e db y o 1 T h i s i u s u a l l y o p t i o n a l .T h d e f a u l t i d r i v e 0 3 d e v i c e ( u n i t ) n u m b e r — U ,f o l l o w e d b 4 - 3 1 . T h i s i a l w a y so p t i o n a l . T h d e f a u l t i u n i t 8 4 l o g i c a l f i l e n u m b e r — # , f o l o w e d b 1 - 2 5 5 .5 W h e n o p e n i n g n e f i l e f o w r i t i n g , D O P E N r e q u i r e s t h a tf i l e t y p e b s p e c i f i e d . T h i s m a b o n o t h f o l l o w i n g :

( a W i t h p a r a m e t e rs t r i n g i n d i c a t e s s e q u e n t i a l f i l ei b e i n g o p e n e d f o w r i t i n g .

( b L f o l l o w e d b 1 - 2 5 4 . A i n d i c a t e s r e l a t i v e f i l e i b e i n g

o p e n e d . T h f o l l o w i n g n u m b e r i t h e d e s i r e d r e c o r d l e n g t h . I n f i l e t y p e i s p e c i f i e d , R e a d F i l ei a s s u m e d .6 @ I a i t h f i r s t l e t t e ro t h f i l e n a m e , a S a v e w i t h R e

5

Page 61: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 61/73

p l a c e o a O p e n w i t h R e p l a c ec o m m a n d w i l l b e x e c u t e d . E a m p l e s — " © b a s i c p r o g r a m " o ( l < @ " n a m e $ ) .7 I f o l l o w e d b a n y t w o l e t t e r s .T h i s i o p t i o n a l i t h H e a d e rc o m m a n d . I i n d i c a t e s t h d s i r e d I . D . f o d i s k b e i n g f o m a t t e d . I i o m i t t e d , o n l y t h ed i r e c t o r y w i l l b e r a s e d .A P P E N D # l o g i c a l f i l e n u m b e r ( 1 2 5 5 ) , f i l e n a m e — c o m m a n d s t h d i s k t a p p e n d t t h e n o t h s p e c i f i e d f i l e a n d a t a s e n t t t h a t d i s k .C O N C A T s o u r c e - f i l e n a m e t d e s t i n a t i o n - f i l e n a m e — c o n c a t e na t e s o n f i l e t a n o t h e r f i l e .D O P E N # l o g i c a l f i l e n u m b e r , f i l en a m e , o p t i o n a l f i l e - t y p e s p e c if i e r — o p e n s f i l e .D C L O S E # f i l e n u m b e r — c l o s e st h f i l e s p e c i f i e d .D C L O S E — c l o s e s a l o p e n f i l e s .D C L O S E u n i t n u m b e r — c l o s e sa l f i l e s o p e n t t h s p e c i f i e dd e v i c e .R E C O R D # l o g i c a l f i l e n u m b e r ,r e c o r d n u m b e r ( 1 - 6 5 5 3 5 ) , o t i o n a l b y t e w i t h i n r e c o r d ( 1 2 5 4 ) — s e t s t h d i s k r e c o r dp o i n t e r t t h s p e c i f i e d r e c o r d .H E A D E R f i l e n a m e , D d r i v e n u b e r , o p t i o n a l I . D . — f o r m a t s d i s k .C O L L E C T — v a l i d a t e s d i s k .B A C K U P D s o u r c e - d r i v e t D d e s t i n a t i o n - d r i v e — b a c k s u

d i s k . T h i s c o m m a n d r e q u i r e sd u a l d r i v e s u c h a C o m m od o r e 4 0 4 0 o a M S s u p e r d i s k .C O P Y s o u r c e - f i l e n a m e t d e s t in a t i o n - f i l e n a m e — m a k e s c o p yo s e q u e n t i a l f i l e .D S A V E f i l e n a m e — s a v e s B a s i cp r o g r a m t d i s k .D L O A D f i l e n a m e — l o a d s B a s i cp r o g r a m .

C A T A L O G o p t i o n a l f i l e n a m e -l i s t s t h d i s k d i r e c t o r y o t h c u r e n t o u t p u t d e v i c e .R E N A M E o l d - f i l e n a m e t n e w -f i l e n a m e — r e n a m e s f i l e .S C R A T C H f i l e n a m e — d e l e t e sf i l e f r o m t h d i s k .D I R E C T O R Y o p t i o n a l f i l e n a m e -p e r f o r m s t h s a m e f u n c t i o n a d o e s C a t a l o g .E X E C # l o g i c a l f i l e n u m b e r , f i l en a m e — e x e c u t e s s e q u e n t i a l f i l eo d i s k . A n B a s i c p r o g r a m m a b l i s t e d t d i s k f i l e a n e x e c u t e dw i t h E X E C . T h e x c e p t i o n s a r e :

1 N f i l e s m a b o p e n e d o c l o s e d f r o m a n e x e c f i l e .

2 N G O T O s o G O S U B s a r a l l o w e d .

3 M a o n l y b e x e c u t e d i t h D i r e c t m o d e .M E R G E # l o g i c a l f i l e n u m b e r , f i l en a m e — m e r g e s t h f i l e f r o m d i s kw i t h t h p r o g r a m i m e m o r y .F i l e s m u s t b e c r e a t e d w i t h L i s t .E X E C a n M e r g e c a u s t h s a m e f i l e s .

5

Page 62: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 62/73

B A S I C 4 .

s i n p l i f i e s t h c o h p l e xw i n d o w , s p r i t e , a n s o u n d

. . d s u s e d b y t h e C - 6 4 .a s y - t o - r e n e H b e r k e y w o r d s

B L O A D f i l e n a m e , o p t i o n a l d e t i n a t i o n a d d r e s s . E x a m p l e —B L O A D ' ' M . L . " , P $ C 0 0 0 l o a d s t h e $ C 0 0 0 . B L O A D " M . L . " a l o n el o a d s t t h o r i g i n a l a d d r e s s .B S A V E f i l e n a m e , P s t a r t - a d d r e s st P e n d - a d d r e s s — s a v e s p o t i o n o m e m o r y . E x a m p l e —B S A V E " B A S I C 4 . 5 . " , P $ 8 0 0 0T P $ A 0 0 0 w i l l s a v e a c o p y o B a s i c 4 . t o d i s k .S E # l o g i c a l f i l e , f i l e n a m e —v i e w s a s e q u e n t i a l f i l e o d i s k .

A F F I X f i l e n a m e — l o a d s B a s i cp r o g r a m a t h e n o p r o g r a mt h a t ' s i m e m o r y .D C L E A R — i n i t i a l i z e s t h d r i v e .

M U S I C C O M M A N D SV T Y P E v o i c e # ( 1 - 3 ) , p u l ( 0 6 5 5 3 5 ) o t r o s a o n o i ; o t i o n a l s y n c o r i n g — s e t s t h v o i c e t y p e .V O ( 0 - 1 5 ) — s e t s v o l u m e .E N v o i c e * ( 1 - 3 ) , a t t a c k ( 0 - 1 5 ) ,

5

Page 63: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 63/73

d e c a y ( 0 - 1 5 ) , s u s t a i n ( 0 - 1 5 ) , r l e a s e ( 0 - 1 5 ) — s e t s e n v e l o p e .N O T E v o i c e # ( 1 - 3 ) , f r e q u e n c y( 0 - 6 5 5 3 5 ) , d u r a t i o n ( 0 - 2 5 5 ) —p l a y s o n n o t e .P L A Y v o i c e # ( 1 - 3 ) , b u f f e r - s t a r ta d d r e s s , b u f f e r l e n g t h o r O F F —I R Q - d r i v e n p l a y c o m m a n d ; p l a y sw h i l e p r o g r a m i r u n n i n g .V I B R A T O v o i c e # ( 1 - 3 ) O o O F F — t u r n s v i b r a t o o o o f f .

M I S C E L L A N E O U SM O N — b r e a k s t m o n i t o r . T h m o n i t o r i t h p u b l i c - d o m a i n S u p e r m o n b J i B u t t e r f i e l d .C O L O R b o r d e r ( 0 - 1 5 ) , s c r e e n( 0 - 1 5 ) , e x t e n d e d c o l o r ( 0 - 1 5 ) ,e x t e n d e d c o l o r ( 0 - 1 5 ) , e t e n d e d c o l o r ( 0 - 1 5 ) — s e t s t h i n d i c a t e d c o l o r r e g i s t e r s . A l v a u e a f t e r b o r d e r a r o p t i o n a l .

S P R I T E C O M M A N D SS C O L R s p r i t e # ( 1 - 8 ) , s p r i t ec o l o r ( 0 - 1 5 ) , o p t i o n a l m u l t i c o l o r

( 0 - 1 5 ) , m u l t i c o l o r ( 0 - 1 5 ) —s e t s t h c o l o r s f o t h i n d i c a t e ds p r i t e . E a c h s p r i t e c a n h a v e o n c o l o r t h a t i i n d e p e n d e n t l y s el e c t a b l e f o e a c h s p r i t e . T h l a s tt w p a r a m e t e r s d e m o n s t r a t e da b o v e a r o p t i o n a l . T h e y s h o u l db i n c l u d e d o n l y w h e n i i n e e s s a r y t s e o c h a n g e t h M u t i c o l o r m o d e c o l o r s . T h e s e t w c o l o r s a r t h s a m e f o a l s p r i t e s

a n c a n b e s e e n o n l y w h e ns p r i t e i p u i n t o M e d i u m - r e s ol u t i o n m o d e w i t h t h S M E D c o m a n d . E x a m p l e s :

S C O L R 1 7 — c h a n g e s s p r i t et y e l l o w w i t h o u t c h a n g i n g t h

t w c u r r e n t M u l t i c o l o r m o d ec o l o r s .

S M E D O S C O L R 1 2 , 4 ,5 — p u t s s p r i t e i M e d i u m - r e so l u t i o n m o d e , t h e n s e t s t h t h r e ec o l o r s ( r e d , c y a n a n p u r p l e ) t h a tc a b d i s p l a y e d b s p r i t e 1

S D U B L s p r i t e # ( 1 - 8 ) , a n d / o ro O F F — c a u s e s t h s p e c i f i e ds p r i t e t b d o u b l e d i s i z e a l o n gt h s p e c i f i e d a x e s o w i l l r e s t o r et h s p r i t e t n o r m a l s i z e . S o m ee x a m p l e s :

S D U B L 2 x — d o u b l e s t h s i z eo s p r i t e a l o n g t h x - a x i s .

S D U B L 3 y — d o u b l e s s p r i t ea l o n g t h y - a x i s .

S D U B L 4 x , y — d o u b l e s t h s i z e a l o n g b o t h a x e s .

S D U B L O F F — r e s t o r e s s p r i t et n o r m a l s i z e .

S B A C K s p r i t e # O o O F F -c a u s e s e i t h e r t h s p r i t e o t h b a c k g r o u n d t h a v e d i s p l a yp r e c e d e n c e . E x a m p l e s :

S B A C K O N — c a u s e s s p r i t et a p p e a r t p a s s b e h i n d o b j e c t so t h s c r e e n . T h i s c a b a n t y p e o c h a r a c t e r , h i - r e s o m e d -r e b i t m a p , a n s o n

5

Page 64: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 64/73

S B A C K O F F — c a u s e s s p r i t et p a s s o v e r c h a r a c t e r s o t h

s c r e e n .

S M E D s p r i t e # ( 1 - 8 ) , O o O F F —s e t s M e d i u m - r e s o l u t i o n m o d e o u n s e t . I s p r i t e H i g h - r e s o l u t i o nm o d e , e a c h s p r i t e c a d i s p l a y o n l yo n c o l o r . T h i s i s e t w i t h t h s e o n p a r a m e t e r o t h S C O L Rs t a t e m e n t . I M e d - r e s o M u l t i c o l o rm o d e , t w o t h e r c o l o r s c a a l s o b s e e n a t h c o s t o d e c r e a s e d r e o l u t i o n ( t h a t i s t h s p r i t e s a p p e a rc o a r s e r ) . E x a m p l e s :

S M E D O N — s p r i t e w i l l b i M e d - r e s m o d e .

S M E D O F F — p u t s s p r i t e i H i - r e s m o d e .

S P R I T E s p r i t e # ( 1 - 8 ) , O s p r i t e -s l o t # ( 0 - 2 5 5 ) o O F F — t u r n ss p r i t e o a n s e l e c t s t h s l o tf r o m w h i c h t h v i d e o c h i p g e t si t s p r i t e d a t a , o t u r n s s p r i t eo f f . T h V I C - I I c h i p i y o u r C - 6 4c a o n l y a c c e s s 1 6 ( 1 6 3 8 4b y t e s ) a t i m e , a n d , f o p u p o s e s o d i s p l a y i n g s p r i t e s , i d v i d e s t h i s 1 6 c h u n k o m e m o r yi n t o 2 5 s m a l l e r c h u n k s o 6 b y t e s e a c h ( 6 4 * 2 5 6 1 6 3 8 4 ) . I i n c o i n c i d e n c e t h a t i r e q u i r e se x a c t l y 6 b y t e s t d e f i n es p r i t e . B e l o w a r t w e x a m p l e s :

S P R I T E O 1 3 — t u r n s o ns p r i t e a n t e l l s t h v i d e o c h i pt g e t h d a t a i n e e d s t d i s p l a yt h s p r i t e f r o m s l o t 1 3

S P R I T E O F F — t u r n s o f s p r i t es i w o n ' t b d i s p l a y e d .

S P I C s p r i t e - s l o t # ( 0 - 2 5 5 ) , s t r i n gv a r i a b l e — a l l o w s s p r i t e d a t a t b s t o r e d i s t r i n g a r r a y s a n s t o r e di n t o s p e c i f i e d s p r i t e s l o t w h e nn e e d e d . S P I C i m n e m o n i c f o s p r i t e - p i c t u r e . E x a m p l e :

S P I C 2 0 0 , W A L K $ ( 7 ) - s t o r e st h f i r s t 6 b y t e s o t h s t r i n gW A L K $ ( 7 ) i n t o s p r i t e s l o t 2 0 0 . I W A L K $ ( 7 ) i s h o r t e r t h a n 6 b y t e s , o n l y g a r b a g e w i l l b s t o r e d i s l o t 2 0 0 .

S P O S s p r i t e # ( 1 - 8 ) , x - p o s i t i o n ( 0 5 1 1 ) , y - p o s i t i o n ( 0 - 2 5 5 ) — m o v e st h s p e c i f i e d s p r i t e t t h i n d i c a t e dx - y - p o s i t i o n . L o c a t i o n 0 , 0 i t h u p p e r - l e f t c o r n e r ; 5 1 1 , 2 5 5 i t h b o t t o m - r i g h t c o r n e r .

J O o 2 — r e a d s t h s p e c i f i e dj o y s t i c k . A f t e r e x e c u t i o n , t h r e ev a r i a b l e s c o n t a i n t h e i n f o r m a t i o nn e e d e d t m a n i p u l a t e o b j e c t s ,s u c h a s p r i t e s , w i t h j o y s t i c k .T h v a r i a b l e J c o n t a i n s t h x i n c r e m e n t , a n J c o n t a i n s t h y - i n c r e m e n t ; F w i l l b n o n - z e r oi t h f i r e - b u t t o n w a p r e s s e d .

J O r e p l a c e s f o u r o r f i v e l i n e so B a s i c c o d e . T h d e s i r e d i c r e m e n t i s e w i t h P o k e . I w o u l d h a v e b e e n p o s s i b l e t o s e tt h i n c r e m e n t a t h e t i m e t h j o s t i c k i r e a d , b u t h o u g h t t h i sw o u l d u n n e c e s s a r i l y s l o w t h i n g s

5

Page 65: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 65/73

d o w n ( f o r e x a m p l e , J O 1 i c r e m e n t ( 0 - 2 5 5 ) ) .

I m a b h a r d t u n d e r s t a n dh o J O w o r k s f r o m t h i s e x p l an a t i o n , s t r p l u g g i n g i j o s t i c k a n r u n n i n g t h f o l l o w i n gp r o g r a m s e v e r a l t i m e s w i t h d i f e r e n t i n c r e m e n t s .1 I N P U T " I N C R E M E N T " ; I N C : P O K E

3 8 8 1 9 . I N C2 J O ? " J X " J X " J Y = "

J Y " F B " F G O T O 2 0

M A K I N G L I F E E A S YI a d d i t i o n t a d d e d B a s i c

c o m m a n d s , o t h e r f e a t u r e s h a v eb e e n a d d e d t m a k e y o u r p r g r a m m i n g l i f e e a s i e r . S o m e o t h b u i l t - i n B a s i c c o m m a n d sh a v e b e e n i m p r o v e d . F o r i s t a n c e , R e s t o r e w i l l n o r e s e t t h d a t a p o i n t e r t a n s p e c i f i e d l i n en u m b e r , i n s t e a d o j u s t t t h s t a r t o t h p r o g r a m . ( S e e t h d e m o n s t r a t i o n p r o g r a m f o l l o w i n gt h i s a r t i c l e . )

T h L i s t c o m m a n d h a b e e ns l i g h t l y m o d i f i e d s t h a t i d o e sn o p r i n t R E A D Y a f t e r e x e c u t i o n .T h s i n g l e q u o t e c h a r a c t e r ( ' m a b s u b s t i t u t e d f o R E M , a n i i n o p o s s i b l e t e n t e r h e n u m b e r s b p r e c e d i n g t h e m w i t ha c h a r a c t e r .

I a d d i t i o n , m e t h o d o a d i n e v e n m o r e c o m m a n d s t B s i h a b e e n i m p l e m e n t e d .W h e n e v e r B a s i c 4 . 5 ' s e x e c u t i o nr o u t i n e e n c o u n t e r s t h c h a r

a c t e r a t h f i r s t c h a r a c t e r o B a s i c s t a t e m e n t , i p e r f o r m s a i n d i r e c t j u m p t h r o u g h v e c t o r a $ 0 3 3 4 , a d d r e s s 8 2 0 . B p l a c i n gt h a d d r e s s o y o u r o w r o u t i n ea $ 0 3 3 4 , w h o l e n e s e o c o m m a n d s c a n b e i m p l e m e n t e d .

E D I T I N G F U N C T I O N ST h C - 6 4 ' s b u i l t - i n s c r e e n e

i t o r h a a l s o b e e n e n h a n c e d w i t ht h f o l l o w i n g a d d i t i o n a l f u n c t i o n s .C T R L - B — e r a s e s f r o m t h c u r s o rp o s i t i o n t t h s t a r t o t h e c u rs o l i n e .C T R L - D — m o v e s t h c u r s o r t t h l o w e r - l e f t c o r n e r o t h s c r e e n .C T R L - L — e r a s e s t t h e n o t h l i n e .C T R L - O — e c h o e s s c r e e n o u t p u tt t h p r i n t e r . E v e r y t h i n g t h a t i s e n t t t h s c r e e n , i n c l u d i n gw h a t i t y p e d , w i l l b s e n t t t h p r i n t e r . T h i s a l l o w s t h C - 6 4 t b u s e d l i k e t y p e w r i t e r .

I y o a r g o i n g t u s y o u rc o m p u t e r l i k e t y p e w r i t e r , i i b e s t t d i s a b l e t h e r r o r - o u t p u tr o u t i n e . O t h e r w i s e , e v e r y t i m ec a r r i a g e r e t u r n i t y p e d o l i n ew i t h p r i n t i n g o i t t h c o m p u t e rw i l l g i v e y o S y n t a x e r r o r . D i a b l i n g t h e r r o r r o u t i n e r e q u i r e st w P o k e s :P O K E 7 6 8 , P E E K ( 7 7 0 )P O K E 7 6 9 , P E E K ( 7 7 1 )

6

Page 66: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 66/73

M a k e s u r e y o d t h i s a l o n o n e C T R L - P — d u m p s w h a t e v e r i o l i n e . E x e c u t e S Y 6 4 7 3 8 t r e t h s c r e e n t t h p r i n t e r ,s e t h c o m p u t e r w h e n y o a r C T R L - U — e r a s e s e v e r y t h i n g b e f i n i s h e d . l o a n ( j t t h r i g h t o t h c u r s o r .A n o t h e r u s f o C T R L - 0 i t C T R L - W - e r a s e s t h w h o l e l i n e ,o b t a i n p r o g r a m l i s t i n g s . T y p e * « . » ■C T R L - 0 L I S T C T R L - 0 t g e C T R L - X - e x . t s Q u o t e o I n s e r tl i s t i n g o t h p r i n t e r . C T R L - 0 m o d at o g g l e s E c h o m o d e o a n o f f .

6

Page 67: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 67/73

G r a p h M a k e r 6 T h i s p r o g r a m a l l o w s y o t c r e a t e a n s a v e c o l o r f u lv e r t i c a l b a g r a p h s , a n t p r i n t t h e m i y o w i s h . I a l s o i n c l u d e s t w r o u t i n e s t h a t l e y o l o a d y o u rg r a p h s i n t o o t h e r p r o g r a m s .B D o u g S m o a k

R U I R i g h tC 6 4 ; G 1 2 8 ( i n G 6 4 m < k )

1 5 4 1 d i s k d r i v e ; 1 5 2 5 p r i n t e r

G r a p h M a k e r d r a w s v e r t i c a lb a g r a p h s o y o u r s c r e e n , t h e na l l o w s y o t a d t i t l e s a n t e x ta n t e d i t t h s c r e e n . Y o c a t h e n s a v e y o u r g r a p h t d i s k a n p r i n t o u h a r d c o p y . O n c e s a v e d ,y o c a r e l o a d t h s c r e e n s t e d i to p r i n t o u a g a i n .

S E T T I N G U P T H E G R A P HW h e n y o r u t h p r o g r a m ,

y o u ' l l b e p r o m p t e d f o b a p r a m e t e r s o t h g r a p h . Y o m u s tf i r s t g i v e t h e m a x i m u m v e r t i c a ls c a l e . T h i s s h o u l d b a l e a s t t h s i z e o t h e h i g h e s t v a l u e t b g r a p h e d .

O c c a s i o n a l l y , y o m i g h t h a v e

o n v a l u e t h a t g r e a t l y e x c e e d st h r e s t o t h b a r s . T a v o i d

d i s p r o p o r t i o n a t e g r a p h , y o s h o u l d e n t e r v a l u e c l o s e r t t h s e c o n d h i g h e s t b a r . I t h i sc a s e , t h e l a r g e s t b a w i l l s t i l l a p e a r , r e a c h i n g t t h t o o t h s c r e e n . Y o c a t h e n u s t h T e x t m o d e t e n t e r t h a t h i g h e s tb a r ' s a c t u a l v a l u e .

T h s e c o n d p r o m p t w i l l r q u e s t t h n u m b e r o v e r t i c a l b a r sy o w a n t o t h s c r e e n . Y o m a h a v e f r o m t w t 3 6 c h o s e 3 a t h m a x i m u m b e c a u s e i i m o r e e v e n l y d i v i s i b l e b t h m o s tl i k e l y c h a r t e d i t e m s , s u c h a 1 m o n t h s ( u t t h r e e y e a r s ' w o r t h ) .

N e x t , y o w i l l b p r o m p t e d t l a b e l e a c h o t h b a r s a n t o l dh o w m a n y c h a r a c t e r s e a c h t i t l ec a p o s s e s s . I y o w a n t o n l yn u m b e r s b e n e a t h e a c h b a r , j u s th i t h r e t u r n k e y , a n G r a p h

6

Page 68: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 68/73

M a k e r w i l l a u t o m a t i c a l l y e n t e r t h n u m b e r f o t h a t b a a i t t i t l e .

A f t e r h a v i n g s e t h m a x i m u mb a h e i g h t , t h n u m b e r o b a r sa n t h e i r l a b e l s , t h f i n a l s t e p w i l lb t e n t e r t h v a l u e s f o e a c hb a r . Y o w i l l b p r o m p t e d f o t h v a l u e t b g r a p h e d , w i t h t h t i t l ea f t e r t h n u m b e r . T h e s e v a l u e sm u s t b e n t e r e d c a r e f u l l y t a v o i d h a v i n g t r e d o a l o t h i n p u t .

A f t e r a l t h d a t a h a b e e n e t e r e d , t h g r a p h i n g b e g i n s , t a

i n o n l y f e s e c o n d s f o e v e n3 6 - b a r c h a r t . T h e n , a t h b o

t o o t h s c r e e n , y o w i l l s e f l a s h i n g p r o m p t s h o w i n g t h

o p t i o n s a v a i l a b l e : T e x t , S a v e ,A b o r t , L o a d a n d P r i n t .

I y o h i f o A b o r t , t h p r g r a m w i l l r e r u n f r o m t h b e g i nn i n g a n w i p e o u w h a t h a b e e nd o n e u t t h a t p o i n t .

T H P R O G R A M ' S O P T I O N ST e x t m o d e w i l l g i v e y o

f l a s h i n g c u r s o r t h a t y o u c a n

6

Page 69: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 69/73

m o v e a b o u t t h s c r e e n t a d t i t l e s o n o t e s o t e d i t b a t i t l e s .J u s t u s t h c u r s o r c o n t r o l s t m o v e a b o u t a n t h e n t y p e i y o u r d e s i r e d c h a r a c t e r s . I y o w a n t r e v e r s e d c h a r a c t e r , y o m u s t f i r s t t y p e i i n o r m a l l y ; t h e ng b a c k a n p r e s s t h r e t u r n k e o v e r e a c h c h a r a c t e r y o u w a n th i g h l i g h t e d .

T c h a n g e c o l o r s i T e x t m o d e ,j u s t d i a y o n o r m a l l y w o u l d ,b s i m u l t a n e o u s l y p r e s s i n g t h C T R L a n c o l o r k e y s o t h C o m o d o r e a n c o l o r k e y s . W h e n y o h a v e f i n i s h e d w i t h T e x t m o d e , y o e s c a p e t C o m m a n d m o d e b p u s h i n g t h p o u n d k e ( £ ) . T h e ny o w i l l a g a i n g e t h f l a s h i n gp r o m p t .

I y o h i f o S a v e , t h f l a s hi n p r o m p t w i l l b r e p l a c e d w i t ha p r o m p t f o f i l e n a m e . T a b o r tt h i s o p t i o n , h i t h r e t u r n k e w i t h o u t e n t e r i n g a n a m e . A f t e re n t e r i n g t h f i l e n a m e , t h d r i v es h o u l d c o m e o a n t w s a v e sw i l l b e m a d e .

T h f i r s t f i l e i t h s c r e e n m e o r y , s a v e d r i g h t o f t h s c r e e na a p r o g r a m f i l e . T h s e c o n d( s a v e d a f i l e n a m e . C ) i t h s c r e e n - c o l o r m e m o r y , s a v e dr i g h t o u o m e m o r y a s e c o n dp r o g r a m f i l e .

W h e n y o h i f o L o a d , y o w i l l a g a i n b e p r o m p t e d f o y o u rf i l e n a m e . Y o e n t e r o n l y t h e f i l en a m e f o t h s c r e e n f i l e ; t h p r g r a m i t s e l f w i l l t h e n l o o k f o t h c o l o r f i l e w i t h t h s a m e n a m e .Y o c o u l d u s t h i s o p t i o n t m a k e r o u g h d r a f t s , s a v i n g t h e ma n t h e n l a t e r r e l o a d i n g t a d t e x t b e f o r e r e s a v i n g f i n a l v e s i o n s . T a b o r t t h e L o a d o p t i o n ,j u s t h i t h r e t u r n k e w i t h o u t e t e r i n g n a m e .

D o n ' t s a v e g r a p h s u n d e r t h s a m e n a m e , o y o u ' l l g e d i s ke r r o r . I t h c a s e o a n L o a do S a v e e r r o r s , y o w i l l g e f l a s h i n g m e s s a g e o t h b o t t o ml i n e o t h s c r e e n a n a o p o r t u n i t y t r e d o t h p r o c e d u r e .

I y o c h o o s e f o p r i n t o u to t h s c r e e n , y o m u s t h a v ep r i n t e r / i n t e r f a c e c o m b i n a t i o n t h a tw i l l s u p p o r t t h 6 4 ' s k e y b o a r dg r a p h i c s ; o t h e r w i s e t h e p r i n t o u tw i l l n o b u s a b l e . N o t e t h a t t h p r i n t o u t u s e s d o u b l e - w i d t h c h a ra c t e r s t m a k e c h a r t t h a t i 8 c o l u m n s w i d e . I y o u w a n t s m a l l e rc h a r t s ( 4 c o l u m n s ) , t h e n c h a n g eC H R $ ( 1 4 ) i l i n e 1 4 7 0 ( i t h p r i n to u r o u t i n e ) t C H R $ ( 1 5 ) .

6

Page 70: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 70/73

D o n ' t F o r g e t !H e r e ' s t h e p e r f e c t p r o g r a m f o p e o p l e w i t hb u s y s c h e d u l e a n b a m e m o r y . I l e t s y o c r e a t e a a p p o i n t m e n t f i l e a n h a b u i l t - i nc a l e n d a r a w e l lB R i c h a r d L o v e t t

R U I R i q h t

P r i n t e r ( o p t i o n a l )

I n s t a n t M e m o a l l o w s y o t e t e u t t h r e e r e m i n d e r m e m o sf o a n y d a y o t h y e a r , r e v i e wo c h a n g e t h e m , a n d , i y o h a v e

p r i n t e r , m a k e h a r d c o p y o o n o m o r e m o n t h s ' w o r t h o e n t r i e s .

T h p r o g r a m c a n a l s o d i s p l a ya a c c u r a t e c a l e n d a r f o a n m o n t h b e t w e e n t h y e a r s 1 7 0 0a n 3 0 9 9 . A n d a f o w h i c hy o u ' v e e n t e r e d m e m o w i l l b h i g h l i g h t e d i r e v e r s e v i d e o o t h c a l e n d a r , a n y o c a p r i n t

h a r d c o p y o t h c a l e n d a r i t s e l f .

G E T T I N G S T A R T E DW h e n y o r u I n s t a n t M e m o ,

y o w i l l f i r s t s e a i n t r o d u c t o r ym e n u a l l o w i n g y o t l o a d a n e x

i s t i n g f i l e f r o m d i s k o r t a p e , c r e a t en e f i l e o s i m p l y v i e w

m o n t h ' s c a l e n d a r . I y o c h o o s et h c a l e n d a r o p t i o n , y o w i l l b r e t u r n e d t t h i s m e n u a f t e r v i e wi n t h d e s i r e d m o n t h .

S e l e c t i n g t h " n e w f i l e " o p t i o ns e n d s y o u t t h m a i n I n p u t r o t i n e . H e r e y o u s p e c i f y d a y , a n t h e n v i e w , e n t e r o r d e l e t e a n d e s i r e d m e m o s f o t h a t d a t e .( M e m o s c a b u t 7 c h a ra c t e r s l o n g , a l t h o u g h t h e y w i l ld i s p l a y m o r e n e a t l y i k e p t u n d e r4 c h a r a c t e r s . D o n ' t u s e a n yc o m m a s , c o l o n s , s e m i c o l o n s o q u o t e m a r k s . ) T s e l e c t d a y ,y o f i r s t e n t e r t h m o n t h a n u m b e r b e t w e e n a n 1 2 t h e nt h d a t e a n y e a r . U s a l f o u rd i g i t s o t h y e a r .

A c t u a l l y , s p e c i f y i n g t h y e a rd o e s n o p r e v e n t m e m o e t e r e d f o r , s a y , J u l y 4 1 9 8 4 , f r o ma l s o b e i n g d i s p l a y e d i y o c a l lu J u l y o s o m e o t h e r y e a r .

6

Page 71: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 71/73

A U 6 U S T 1 9 8 5M O T U W

1 1 1 2 1 1

1 8 1 9 2 2 2 2 3 2

2 2 2 2 8 2 9 3

P R E S S R E T U R N F O M E N UI P R E S S F F O S C R E E N D U h P l

M a k i n g e a c h d a t e o s e v e r a ly e a r s e n t i r e l y s e p a r a t e w o u l dh a v e r e q u i r e d d i m e n s i o n i n g t h a r r a y s i l i n e 1 s e v e r a l t i m e sl a r g e r , t h u s q u i c k l y e x h a u s t i n gt h c o m p u t e r ' s m e m o r y . P u t t i n ga " 8 4 , " " 8 5 " o o t h e r d e s i g n at i o n a t t h e n o e n t r i e s f r o md i f f e r e n t y e a r s i a e a s y w a t o v e r c o m e a n c o n f u s i o n . E n t e r i n gt h y e a r d o e s g o v e r n w h e t h e r o

n o y o c a e n t e r o v i e w m e m of o F e b r u a r y 2 9 w h i c h o n l y o c u r s i l e a p y e a r s .

T h m a i n m e n u , a c c e s s i b l ef r o m m o s t o t h e r m o d e s o t h p r o g r a m , i n c l u d e s o p t i o n s t v i e w a m o n t h ' s e n t r i e s o t h s c r e e n , v i e w m o r e c a l e n d a rp a g e s o s a v e t h f i l e t t a p eo d i s k . E l

6

Page 72: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 72/73

P l e a s e s e n d m b a c k i s s u e s o R e R U NV o l . C - 6 4 C a s s e t t e v e r s i o n ( s ) a $ 1 1 . 4 7 *V o l . I V I C - 2 0 D i s k v e r s i o n ( s ) a $ 2 1 . 4 7 *S p r i n g E d i t i o nG a m e p a kS u m m e r E d i t i o nF a l l E d i t i o n

P a y m e n t E n c l o s e d M V I S A A

C a r d f

S i g n a t u r eN a m eA d d r e s sC i t y

R e R U N 8 P i n eP r i c e s i n c l u d e $ 1 . 5 0 p o s t a g e a n h a n d l i n g .U . S . b a n k s o n l y .

E x p . D a t e

S t a t e Z i pS t r e e t P e t e r b o r o u g h , N 0 3 4 5 8F o r e i g n A i M a i l p l e a s e a d a a d d i t i o n a l $ 1 . 5 0 p e i t e m . U . S . f u n d s d r a w n o

B E A T T H R U S H —O r d e r t h n e x t e d i t i o n n o w !

P l e a s e s e n d m t h R e R U N W i n t e r E d i t i o n :C a s s e t t e V e r s i o n ® a $ 1 1 . 4 7 e a . ' D i s k v e r s k m f s ) a t $ 2 1 . 4 7 e a . '

P r i c e i n c l u d e s p o s t a g e h a n d l i n g . F o r e i g n A i M a i l p l e a s e a d $ 1 . 5 0 p e r H e m . U . S . l u n d s d r a w n o U . S . b a n k s o n l y .

W i n t e r E d i t i o n ( a v a i l a b l e i n D e c e m b e r ) r u n s o C - 6 4 a n C - 1 2 8 o n l y .

P a y m e n t E n c l o s e d M V I S A A

C a r d U

S i g n a t u r e

N a m eA d d r e s sC i t y

R e R U N 8 P i n e S t r e e t

E x p . D a t e

S t a t e Z i P e t e r b o r o u g h , N 0 3 4 5 8

Page 73: Re-Run Productivity Pak I

8/6/2019 Re-Run Productivity Pak I

http://slidepdf.com/reader/full/re-run-productivity-pak-i 73/73

E v e r y t h i n g y o u ' l l n e e d -o o n d i s k :

► D a t a b a s eS p r e a d s h e e t *

► W o r d P r o c e s s o r *► T e l e c o m m u n i c a t i o n s *► H o m e F i n a n c i a l M a n a g e r *► S c r e e n P r i n t e r

G r a p h M a k e r► A p p o i n t m e n t C a l e n d a r► E n h a n c e d B a s i c► D i s k D i r e c t o r } ' F i l e r *

A n M o r e !* N e w P r o g r a m R e l e a s e s !

I a n m a n u f a c t u r i n g d e f e c t b e c o m e s a p p a r e n t , t h e d e f e c t i v e d i s k w i l l b r e p l a c e d f r e e o c h a r g e i r e t u r n e db p r e p a i d m a i l w i t h i n 3 d a y s o p u r c h a s e . S e n d i t w i t h l e t t e r s p e c i f y i n g t h e d e f e c t , t o

R e R U N 8 P i n e S t r e e t P e t e r b o r o u g h , N 0 3 4 5 8

R e p l a c e m e n t s w i l l n o b m a d e i t h e d i s k h a s b e e n a l t e r e d , r e p a i r e d o r m i s u s e d t h r o u g h n e g l i g e n c e , o i i s h o w s s i g n s o e x c e s s i v e w e a r o i d a m a g e d b e q u i p m e n t .

T h p r o g r a m s i R e R U N a r t a k e n d i r e c t l y f r o m l i s t i n g s p r e p a r e d t a c c o m p a n y a r t i c l e s i R U m a g a z i n e .