%OP%JUY %OP%PL64 %OP%AMM %OP%TM1 %OP%HM2 %OP%FM2 %OP%BM1 %OP%LM5 %CO:A,5,70%%C%%H2%BARCHART.DOC %JL%The accompanying Basic program "barchart" (Z196B), when input with %JR%the required information, can produce an immediate print-out of the %JL%required chart. At first, and until you are familiar with the %JR%program, you should select T rather than P at the first question so %JL%that it will not produce an immediate print. But, whether Testing or %JR%Printing, a file called BARCHART.PDR will be created in RAM. This %JL%can be loaded into Pipedream, as plain text, for examination and %JR%printing out from there. The printouts obtained from Pipedream and Basic are identical. %JR%Either way, the barchart can be printed on an empty sheet. If it has %JL%to fit in with text, and of course have other, typed information %JR%added then it is better done from the Pipedream file. If it is first %JL%loaded into Pipedream and then saved as a marked block it can be inserted into another file, just like any text, at any time. %JL%The barchart always occupies 20 lines. It has a maximum width of 45 %JL%spaces, centred on the page. It is possible to have 20 bars, each %JR%two spaces wide. If you have only two or three bars they will have a %JL%maximum of 10 spaces for each bar. More bars will share a maximum of forty spaces. Values of the bars are shown at the left side. %JL%If, when the barchart is scrolling up on the screen, it stops before %JL%completion it is because you have selected to have an immediate %JR%printout BUT you haven't prepared the printer. Just switch it on and %JL%all will be well. I could have had an error trap for this eventuality but no matter. %JL%Just an aside, but you may be interested to know that I spent many %JR%hours with books and other people's Basic programs trying to discover %JL%how to copy what was going on the screen into a Pipedream file. I %JR%almost gave up but finally the penny dropped - at page 8-26 of the Reference Manual. %JL%Only two lines are required for my purpose, 110 and 190. Look at my program lines 60 and 320. %JR%I hope I haven't forgotten anything. If you have a problem then call me on 0926 812884 or drop me a line - - Jack Lawrie (4635) 15 Sycamore Grove, Southam, Leamington Spa, CV33 0EY %CO:B,5,69% These are the questions that have to be answered - %CO:C,64,54% %JL%Test or Print? Covered above; use T until you are confident - saves a lot of paper too! How many bars? Up to 20. %JR%Top value? Whatever you like but it must be more %JL%than your highest input and divisible by 20. (It may be useful to take it to the next hundred). %JL%Bottom value? Can be zero but doesn't have to be. It must be divisible by 20 to avoid a difficult scale. %JR%Values of bars? Starting from the left-hand bar you %JL%enter the figure for each bar, integers of course. %JL%Where a value is between those given in the scale the level will be at the nearest value. %CO:D,12,36%%CO:E,12,24%%CO:F,12,12%