Larken Repair Program

See all articles from Sinc-Link v6 n3
Author(s): George Chambers, Stephen Gunhouse
Publication: Sinc-Link
Pub Details: Sinc-Link v6 n3 (Volume 6, Issue 3)
Date: May/June 1988
Pages: 10

One of our members, Stephen Gunhouse, Windsor, Ont. has come up with some suggestions for improving the program “repair.B1”, which was in a recent issue.

To quote part of his letter:

“I noticed about 3 things in the program that could be done better and faster. If it is of interest, change the following lines.

 600 CLS
620 IF b$<>c$(m) THEN NEXT m
630 CLS
640 IF m>e THEN LET e=m: LET c$(e)=b$: PRINT AT 16,11;b$
650 CLS
675 PRINT AT 13,0;d$;AT 14,0;"Placing names and tracks in directory"
685 CLS
720 LET F=11
730 FOR k=1 TO d
740 IF c$(e)=a$(k) THEN POKE name+f,k+128: LET f=f+1
750 NEXT K
760 POKE name+f,249
770 LET name=name+34
780 PRINT AT 16,11;c$(e)
790 NEXT n

DELETE 800 to 850

“I no longer use the variable trackno, I am referring to name instead.

“I know some of the changes are considered bad practice in other computers; Sinclair BASIC does not require you to properly terminate FOR-NEXT loops. Removing the extra loop in 680-850 should speed up the process quite a bit, as should shortening the track loop now in 730.


MOLASSES IN JANUARY

This seems to be an apt description of Larken Electronics response time, based on member’s experience. Whether it be inquiries, orders, service, or repairs it seems to take forever to get a reply. Come on, Larry, your customers deserve better.


If you want a response from Larry, it’s best to phone him directly.

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