Vu-Calc as Petty Cash

See all articles from CATS v5 n1
Author(s): Akin Olowofoyeku
Publication: CATS Newsletter
Pub Details: CATS v5 n1 (Volume 5, Issue 1)
Date: April 1987
Pages: 8

Our own Akin Olowofoyeku has been working on a number of interesting applications for the 2068’s VuCalc. If you like this one, be happy! There are several more yet to come. How about the rest of you? Do you have some unique uses for VuCalc that you can share? Or how about some Archive applications from you QL users? Send them in, the editor is hungry for material!

Anyway, here is Akin’s use of VuCalc as a petty cash register.

Location: Instruction
a1: #f,a,1
f1: "=======
f2: #r,f1,f2:f12
f14: #r,f1,f14:f18
e5: "PETTY CASH
e7: "REGISTER
e12: #f,12,r
e12: "1986 (or current year)
e15: "EXPENSE REGISTER
g1: "VOUCH#
g2: "DATE
g3: "CODE
g4: "DESCRIPTION
g8: "PAYMENT
g10: "RECEIPT
g12: "BALANCE
g14: "POSTAGE
g16: "DELIVERY
g18: "MISC.
h4: "BALANCE FORWARD
i3: #f,3,i,1
i3: 0
j3: #r,i3,j3:av3
i8: #f,8,$,r
i8: 0
j8: #r,i8,j8:av8
i10: #f,10,$,r
i10: 0
j10: #r,i10,j10:av10
h12: #f,12,$,r
h12: 0
Location: Instruction
i12: h12+i10-i8
j12: #r,i12,j12:av12
aw1: "-------
aw2: #r,aw1,aw2:aw12
aw14: #r,aw1,aw14:aw18
ax6: "TOTALS
ax8: &i8:av8
ax10: &i10:av10
ax12: av12
i14: #f,14,$,r
i14: (i3=1)*i8
j14: #r,i14,j14:av14
f14: "1
i16: #f,16,$,r
i16: (i3=2)*i8
j16: #r,i16,j16:av16
f16: "2
i18: #f,18,$,r
i18: (i3=3)*i8
j18: #r,i18,j18:av18
f18: "3
ax14: &i14:av14
ax16: &i16:av16
ax18: &i18:av18
a1: "Petty Cash Journal >#g,g1
b1: "Expense Record >#g,e14
d1: "Save,#s :Load,#l :Print,#q
e1: "Petty Cash Check Code=0
a6: "AKO ENTERPRISES
b6: "1613 DAYTON ROAD
c6: "ADELPHI, MD 20783
Petty Cash Journal >#g,g1        AKO ENTERPRISES
Expense Record >#g,e14           1613 DAYTON ROAD
                                 ADELPHI, MD 20783
Save,#s :Load,#l :Print,#q
Petty Cash Check Code=0   PETTY CASH   REGISTER                    1986       EXPENSE   REGISTER
=================================================================================    ===============================
VOUCH# DATE   CODE  DESCRIPTION            PAYMENT     RECEIPT     BALANCE    POSTAGE     DELIVERY       MISC.
                    BALANCE FORWARD                                   0.00          1            2           3
500    1:1    0     Established Fund          0.00      100.00      100.00       0.00         0.00        0.00
100    1:2    1     Postage for sales         8.00        0.00       92.00       8.00         0.00        0.00
101    1:4    1     Telegraph                 8.00        0.00       84.00       8.00         0.00        0.00
102    1:8    2     Taxi fare                10.00        0.00       74.00       0.00        10.00        0.00
103    1:10   3     Coffee for O/T            4.00        0.00       70.00       0.00         0.00        4.00
104    1:15   1     Stamps                   18.00        0.00       52.00      18.00         0.00        0.00
105    1:26   3     Window cleaning          12.00        0.00       40.00       0.00         0.00       12.00
              0                               0.00        0.00       40.00       0.00         0.00        0.00
501    2:1    0     Replenished Fund          0.00       60.00      100.00       0.00         0.00        0.00
              0                               0.00        0.00      100.00       0.00         0.00        0.00

              0                               0.00        0.00      100.00       0.00         0.00        0.00
---------------------------------------------------------------------------------    -------------------------------
                         TOTALS              60.00      160.00                  34.00        10.00       16.00

Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.