home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 15 / CDACTUAL15.iso / cdactual / program / basic / PICULATE.ZIP / PICULATE.TXT < prev   
Encoding:
Text File  |  1992-08-31  |  30.5 KB  |  1,737 lines

  1.  
  2. TABLE OF CONTENTS
  3. ■───────────────────────────────────────────────────────────────■
  4.  
  5. CHAPTER 1
  6.   Introduction to PICKULATOR
  7.     Licensing
  8.     Installation
  9.     Cabling requirements
  10.     Host settings
  11.     Terminal definition
  12.  
  13. CHAPTER 2
  14.   PICKULATOR Basics
  15.     Getting started
  16.     Entry and Exit
  17.     Using PICKULATOR routines
  18.     Syntax and conventions
  19.  
  20. CHAPTER 3
  21.   Graphics Reference
  22.     TCL verbs
  23.     Basic subroutines
  24.  
  25. CHAPTER 4
  26.   Mouse Reference
  27.     TCL verbs
  28.     Basic subroutines
  29.  
  30. CHAPTER 5
  31.   Files and Definitions
  32.     GRAPH-FILE
  33.     BUTTONS
  34.     CHARS
  35.     CHARS,0X
  36.     CHARS,1X
  37.  
  38. CHAPTER 6
  39.   Bundled Graphic Charts
  40.     Bar graph chart
  41.     Pie graph chart
  42.     Printing charts to the printer
  43.  
  44. CHAPTER 7
  45.   Full Screen Editor
  46.     Accessing the editor
  47.     Using the editor
  48.  
  49.  
  50.  
  51.  
  52. ■───────────────────────────────────────────────────────────────■
  53.                                                  CONTENTS      1
  54.  
  55.  
  56. TABLE OF CONTENTS
  57. ■───────────────────────────────────────────────────────────────■
  58.  
  59. APPENDIX A
  60.   Programming Examples - Graphics Operation
  61.     PAINT.TEST
  62.     LINE.TEST
  63.     DRAW.TEST
  64.     CIRCLE.TEST
  65.     COLOR.TEST
  66.  
  67. APPENDIX B
  68.   Programming Examples - Mouse Operation   
  69.  
  70. APPENDIX C
  71.   Error Messages
  72.  
  73. APPENDIX D
  74.   Support
  75.  
  76. APPENDIX E
  77.   Trademarks
  78.  
  79. INDEX
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106. ■───────────────────────────────────────────────────────────────■
  107.                                                  CONTENTS      2
  108.  
  109.  
  110. CHAPTER 1 - INTRODUCTION TO PICKULATOR
  111. ■───────────────────────────────────────────────────────────────■
  112.  
  113.  
  114. LICENSING
  115.  
  116. INSTALLATION
  117.  
  118. CABLING REQUIREMENTS
  119.  
  120. HOST SETTINGS
  121.  
  122. TERMINAL DEFINITION
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160. ■───────────────────────────────────────────────────────────────■
  161.                                               INTRODUCTION     3
  162.  
  163.  
  164. CHAPTER 1 - LICENSING
  165. ■───────────────────────────────────────────────────────────────■
  166.  
  167. IMPORTANT-PLEASE READ CAREFULLY BEFORE OPENING THE SEALED DISK
  168. PACKAGE(S).
  169.  
  170. NOTIFICATION OF COPYRIGHT
  171.  
  172. This software program package ("SOFTWARE") is a proprietary product
  173. of MULTISYSTEMS DEVELOPMENT INC. ("MSDINC") and is protected by
  174. copyright laws and international treaty. You must treat the
  175. software like any other copyrighted material, except that you may
  176. either make one copy of the software solely for backup or archival
  177. purposes, or you may place the software on a single hard disk,
  178. provided that you keep the original software solely for backup or
  179. archival purposes. Copyright laws prohibit making additional copies
  180. of the software for any other reason. You may no copy the written
  181. materials accompanying the software.
  182. ■───────────────────────────────────────────────────────────────■
  183. SOFTWARE LICENSE AGREEMENT
  184.  
  185. Read this license agreement carefully before opening the sealed
  186. disk package. This agreement is a legal contract between you, the
  187. end user, and MULTISYSTEMS DEVELOPMENT INC. governing your use of
  188. the software. Opening the sealed disk package indicates your
  189. acceptance of this agreement. This agreement shall also be binding
  190. on any subsequent, authorized licensee. If you do not wish to agree
  191. to the terms of this agreement, promptly return the complete
  192. software program package, with the disk package(s) unopened, to the
  193. dealer from whom you obtained this product. You will receive a full
  194. refund provided (i) you return the full software package, and (ii)
  195. the disk package(s) are unopened. If you have any questions
  196. concerning this agreement, contact MULTISYSTEMS DEVELOPMENT INC.,
  197. Attn. NEW PRODUCT SERVICES, 2437 Bay Area Blvd. #177, Houston,
  198. Texas, 77058, or call (713) 326-4820.
  199.  
  200. LICENSE
  201.  
  202. 1. MSDINC grants you the right to use one copy of the SOFTWARE on
  203. a single user-user computer, or on a single terminal or workstation
  204. of a multi-user computer. Each workstation or terminal on a multi-
  205. user computer or network must be seperatly licensed by MSDINC. If
  206. the software package contains more than one tupe of media, you are
  207. licensed to use only a single set of media for your single-user
  208. computer, terminal or workstation; you are not licensed to use the
  209. other sets of media.
  210.  
  211. 2. You may not sublicense, rent or lease the SOFTWARE, but you may
  212. permanently transfer your license to use the SOFTWARE package,
  213. including the title page of the manual, and by simultaneously 
  214. ■───────────────────────────────────────────────────────────────■
  215.                                                  LICENSING     4
  216.  
  217.  
  218. CHAPTER 1 - LICENSING
  219. ■───────────────────────────────────────────────────────────────■
  220.  
  221. destroying all copies of the SOFTWARE and accompanying materials in
  222. your possesion. Such transfer terminates your license to use the
  223. SOFTWARE. The new recipient of the SOFTWARE and accompanying
  224. materials accepts this Agreement and is licensed under the terms of
  225. this Agreement upon initially using the SOFTWARE.
  226.  
  227. 3 MSDINC further grants you the right to make a backup/archival
  228. copy of the software media as set forth in the Notification of
  229. Copyright, above. You may not decompile, disassemble, reverse
  230. engineer, copy, transfer, or otherwise use the SOFTWARE except as
  231. stated in this Agreement.
  232.  
  233. LIMITED WARRANTY/LIMITATION OF REMEDIES
  234.  
  235. MSDINC will replace, at no charge, defective media that are
  236. returned within 90 days of the original date of purchase. MSDINC
  237. warrants that the SOFTWARE will perform in substantial compliance
  238. with the written materials accompanying the SOFTWARE. If you
  239. report, in writing, a significant defect to MSDINC, and MSDINC is
  240. unable to correct it within 90 days of the date that you report the
  241. defect, you may return the SOFTWARE and accompanying materials, and
  242. MSDINC will refund the purchase price. By opening the sealed disk
  243. package, you agree that the only remedy available to you will be a
  244. refund of the purchase price of this software program package.
  245.  
  246. SUCH WARRANTIES ARE IN LIEU OF OTHER WARRANTIES, EXPRESS OR
  247. IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  248. MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE WITH RESPECT
  249. TO THE SOFTWARE AND THE ACCOMPANYING WRITTEN MATERIALS. IN NO EVENT
  250. WILL MSDINC BE LIABLE TO YOU FOR DAMAGES ARISING OUT OF YOUR USE OF
  251. OR INABILITY TO USE THE PROGRAM, EVEN IF MSDINC OR AN AUTHORIZED
  252. REPRESENTATIVE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
  253. MSDINC WILL NOT BE LIABLE FOR ANY SUCH CLAIM BY ANY OTHER PARTY.
  254.  
  255. This limited warranty gives you specific legal rights. Some states
  256. provide other rights, and some states do not allow excluding or
  257. limiting implied warranties or limiting liability for incidental or
  258. consequential damages. As a result, the above limitations and/or
  259. exclusions may not apply to you. Futhermore, some jurisdictions
  260. have statutory consumer provisions which may supercede this section
  261. of the Agreement.
  262.  
  263. GENERAL
  264.  
  265. If any provision of this Agreement shall be unlawful, void, or for
  266. any reason unenforceable, then that provision shall be deemed
  267. severable from this Agreement and shall not affect the validity and
  268. ■───────────────────────────────────────────────────────────────■
  269.                                                  LICENSING     5
  270.  
  271.  
  272. CHAPTER 1 - LICENSING
  273. ■───────────────────────────────────────────────────────────────■
  274.  
  275. enforceability of the remaining provisions of this Agreement. This
  276. Agreement is governed by the laws of the State of Texas.
  277.  
  278. U.S. GOVERNMENT RESTRICTED RIGHTS
  279.  
  280. The SOFTWARE and accompanying materials are provided with
  281. Restricted Rights. Use, duplication, or disclosure by the
  282. Government is subject to restrictions as set forth in subparagraph
  283. (b)(3)(ii) of The Rights in Technical Data and Computer Software
  284. clause at 242.227-7013. Contractor/manufacturer is MULTISYSTEMS
  285. DEVELOPMENT INC., 2437 Bay Area Blvd. #177, Houston, Texas, 77058.
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322. ■───────────────────────────────────────────────────────────────■
  323.                                                  LICENSING     6
  324.  
  325.  
  326. CHAPTER 1 - INSTALLATION - Computer Workstation
  327. ■───────────────────────────────────────────────────────────────■
  328.  
  329. Put the diskette labeled PICKULATOR WORKSTATION in the appropriate
  330. drive. Change the drive specification to the drive that contains
  331. this diskette.
  332.  
  333. EXAMPLE - Diskette in Drive B
  334.  
  335. C>b:
  336. B>
  337.  
  338. If you will be running your workstation from a floppy drive,
  339. execute the following steps:
  340.  
  341. B>installf
  342.  
  343. If you will be running your workstation from a Hard Disk, execute
  344. the following steps:
  345.  
  346. B>installh
  347.  
  348. Once either of the above procedures is executed the workstation
  349. installation will be complete.
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376. ■───────────────────────────────────────────────────────────────■
  377.                                               INSTALLATION     7
  378.  
  379.  
  380. CHAPTER 1 - INSTALLATION - Host Computer - R83 Implementation
  381. ■───────────────────────────────────────────────────────────────■
  382.  
  383. Put the diskette labeled PICKULATOR HOST PROGRAMS in the
  384. appropriate drive. Attach the tape ro the drive that contains this
  385. diskette.
  386.  
  387. EXAMPLE - Diskette in Drive B
  388.  
  389. >SET-FLOPPY (S,B
  390.  
  391. >T-ATT
  392.  
  393. To install the HOST PROGRAMS to the PICK machine execute the
  394. following steps:
  395.  
  396. >T-LOAD MD
  397.  
  398. >PK-INSTALL
  399.  
  400. The above instructions will restore an account called PICKULATOR
  401. which contains files, functions and subroutines used by both the
  402. host and the workstation.
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430. ■───────────────────────────────────────────────────────────────■
  431.                                           R83 INSTALLATION     8
  432.  
  433.  
  434. CHAPTER 1 - INSTALLATION - ULTIMATE Implementation
  435. ■───────────────────────────────────────────────────────────────■
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471.  
  472.  
  473.  
  474.  
  475.  
  476.  
  477.  
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484. ■───────────────────────────────────────────────────────────────■
  485.                                      ULTIMATE INSTALLATION     9
  486.  
  487.  
  488. CHAPTER 1 - INSTALLATION - GENERAL AUTOMATION Implemenatation
  489. ■───────────────────────────────────────────────────────────────■
  490.  
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538. ■───────────────────────────────────────────────────────────────■
  539.                            GENERAL AUTOMATION INSTALLATION    10
  540.  
  541.  
  542. CHAPTER 1 - INSTALLATION - NCR ADDS Implementation
  543. ■───────────────────────────────────────────────────────────────■
  544.  
  545.  
  546.  
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592. ■───────────────────────────────────────────────────────────────■
  593.                                      NCR ADDS INSTALLATION    11
  594.  
  595.  
  596. CHAPTER 1 - INSTALLATION - SEQUOIA Implementation
  597. ■───────────────────────────────────────────────────────────────■
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616.  
  617.  
  618.  
  619.  
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646. ■───────────────────────────────────────────────────────────────■
  647.                                       SEQUOIA INSTALLATION    12
  648.  
  649.  
  650. CHAPTER 1 - INSTALLATION - PRIME INFORMATION Implementation
  651. ■───────────────────────────────────────────────────────────────■
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  
  669.  
  670.  
  671.  
  672.  
  673.  
  674.  
  675.  
  676.  
  677.  
  678.  
  679.  
  680.  
  681.  
  682.  
  683.  
  684.  
  685.  
  686.  
  687.  
  688.  
  689.  
  690.  
  691.  
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700. ■───────────────────────────────────────────────────────────────■
  701.                             PRIME INFORMATION INSTALLATION    13
  702.  
  703.  
  704. CHAPTER 1 - INSTALLATION - MONOLITH Implementation
  705. ■───────────────────────────────────────────────────────────────■
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.  
  737.  
  738.  
  739.  
  740.  
  741.  
  742.  
  743.  
  744.  
  745.  
  746.  
  747.  
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754. ■───────────────────────────────────────────────────────────────■
  755.                                      MONOLITH INSTALLATION    14
  756.  
  757.  
  758. CHAPTER 1 - INSTALLATION - UNIVERSE Implementation
  759. ■───────────────────────────────────────────────────────────────■
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.  
  798.  
  799.  
  800.  
  801.  
  802.  
  803.  
  804.  
  805.  
  806.  
  807.  
  808. ■───────────────────────────────────────────────────────────────■
  809.                                      UNIVERSE INSTALLATION    15
  810.  
  811.  
  812. CHAPTER 1 - INSTALLATION - ADVANCED PICK Implementation
  813. ■───────────────────────────────────────────────────────────────■
  814.  
  815.  
  816.  
  817.  
  818.  
  819.  
  820.  
  821.  
  822.  
  823.  
  824.  
  825.  
  826.  
  827.  
  828.  
  829.  
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862. ■───────────────────────────────────────────────────────────────■
  863.                                 ADVANCED PICK INSTALLATION    16
  864.  
  865.  
  866. CHAPTER 1 - INSTALLATION - ADVANCED PICK/UNIX Implementation
  867. ■───────────────────────────────────────────────────────────────■
  868.  
  869.  
  870.  
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.  
  887.  
  888.  
  889.  
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897.  
  898.  
  899.  
  900.  
  901.  
  902.  
  903.  
  904.  
  905.  
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.  
  915.  
  916. ■───────────────────────────────────────────────────────────────■
  917.                            ADVANCED PICK/UNIX INSTALLATION    17
  918.  
  919.  
  920. CHAPTER 1 - CABLING REQUIREMENTS
  921. ■───────────────────────────────────────────────────────────────■
  922.  
  923. CABLING DIRECT CONNECTIONS
  924.  
  925.   The following pinout is required to connect your PICKULATOR
  926. workstation to your host computer.
  927.  
  928.   DB25 (25pin serial connection, required on both host and
  929. workstation.)
  930.   
  931.    1■────────────■1
  932.    2■──────┐  ┌──■2
  933.         ┌──┼──┘
  934.    3■───┘  └─────■3
  935.    4■─┐        ┌─■4 
  936.    5■─┘        └─■5
  937.    6■─┐        ┌─■6
  938.    7■─┼────────┼─■7
  939.    8■─┤        ├─■8
  940.   20■─┘        └─■20
  941.  
  942.  
  943.  
  944.  
  945.  
  946.  
  947.  
  948.  
  949.  
  950.  
  951.  
  952.  
  953.  
  954.  
  955.  
  956.  
  957.  
  958.  
  959.  
  960.  
  961.  
  962.  
  963.  
  964.  
  965.  
  966.  
  967.  
  968.  
  969.  
  970. ■───────────────────────────────────────────────────────────────■
  971.                                                   CABLING     18  
  972.  
  973. CHAPTER 1 - HOST SETTINGS
  974. ■───────────────────────────────────────────────────────────────■
  975.  
  976. In order for your PICKULATOR workstation to "talk" with the host
  977. computer some basic settings are required.
  978.  
  979.  
  980.                     Baud Rate   = 19200
  981.  
  982.                     Parity      = N
  983.  
  984.                     Data Bits   = 8
  985.  
  986.                     Stop Bits   = 1
  987.  
  988.                     Protocol    = None
  989.  
  990.  
  991. In addition to these settings the TERM settings should be adjusted
  992. as follows:
  993.  
  994. >TERM 79,24,0,0
  995.  
  996. This sets your PICKULATOR workstation for the appropriate display
  997. definition.
  998.  
  999. ** NOTE **
  1000.  
  1001. You should update the DICT ACC item if applicable on your machine
  1002. to make these settings active on the port that your PICKULATOR
  1003. workstation is connected to so that the settings will be
  1004. implemented each time that you logon to your HOST computer.
  1005.  
  1006.  
  1007.  
  1008.  
  1009.  
  1010.  
  1011.  
  1012.  
  1013.  
  1014.  
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020.  
  1021.  
  1022.  
  1023. ■───────────────────────────────────────────────────────────────■
  1024.                                                  SETTINGS     19
  1025.  
  1026.  
  1027. CHAPTER 1 - TERMINAL DEFINITION
  1028. ■───────────────────────────────────────────────────────────────■
  1029.  
  1030. In order for your PICKULATOR workstation to function properly the
  1031. appropriate terminal definition should be selected.  There is no
  1032. choice on the type of terminal definition. However the terminal
  1033. definition NAME and CODE are left up to you to decide.
  1034.  
  1035. Terminal Definitions available
  1036.  
  1037. Definitions are included for the host computers listed below. If
  1038. your computer is not listed, please make a modem available for
  1039. dialup and call (713) 326-4820 and a support representative will
  1040. create the appropriate definition for you.
  1041.  
  1042. EXISTING TERMINAL DEFINITIONS
  1043.  
  1044.      R83
  1045.  
  1046.      GENERAL AUTOMATION
  1047.  
  1048.      ULTIMATE
  1049.  
  1050.      PRIME
  1051.  
  1052.  
  1053. To utilize an existing terminal definition, log into the SYSPROG
  1054. account, and execute the following instructions.
  1055.  
  1056. >SET-FILE PICKULATOR PK-TERMDEF
  1057.  
  1058. >COPY QFILE  PK-R83  (PK-manufacturer id)
  1059. TO:(CURSOR           (file where terminal definitions are stored)
  1060.  
  1061. Once these instructions have been completed, you may edit the TERM
  1062. TYPE or the ITEM ID for the terminal definition.
  1063.  
  1064. ** CAUTION  **
  1065. Any other changes to this item can and will cause failure of your
  1066. PICKULATOR workstation.
  1067.  
  1068. Upon completion of the desired changes, you must initialize the
  1069. terminal definition prior to using it.
  1070.  
  1071. ** NOTE **
  1072. Remember the TERM TYPE, it will be required to make any of your
  1073. PICKULATOR programs function properly.
  1074.  
  1075.  
  1076.  
  1077. ■───────────────────────────────────────────────────────────────■
  1078.                                      TERMINAL DEFINITION     20
  1079.  
  1080.  
  1081. CHAPTER 2 - PICKULATOR BASICS
  1082. ■───────────────────────────────────────────────────────────────■
  1083.  
  1084. GETTING STARTED
  1085.  
  1086. ENTRY AND EXIT
  1087.  
  1088. DOS SHELL
  1089.  
  1090. USING PICKULATOR ROUTINES
  1091.  
  1092. SYNTAX AND CONVENTIONS
  1093.  
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099.  
  1100.  
  1101.  
  1102.  
  1103.  
  1104.  
  1105.  
  1106.  
  1107.  
  1108.  
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128.  
  1129.  
  1130.  
  1131. ■───────────────────────────────────────────────────────────────■
  1132.                                                     BASICS    21
  1133.  
  1134.  
  1135. CHAPTER 2 - GETTING STARTED
  1136. ■───────────────────────────────────────────────────────────────■
  1137.  
  1138. If you were successful in the installation procedure of both the
  1139. host and workstation portions, you are ready to get started.
  1140.  
  1141. To get an idea of the kinds of things that you will be able to do
  1142. with your PICKULATOR workstation, see APPENDIX A, Programming
  1143. Examples - Graphics Operation and APPENDIX B, Programming Examples
  1144. - Mouse Operation. These examples are fully functional and contain
  1145. the source code, so that you can further understand how to produce
  1146. graphic screens and utilize mouse operations using PICK basic and
  1147. your PICK host computer.
  1148.  
  1149. The main feature of your PICKULATOR workstation is that all of the
  1150. data resides on your PICK host, and all of the programs that you
  1151. create are written using the PICK basic language. This allows you
  1152. to create graphic images and utilize mouse operations that were
  1153. heretofore only available to DOS programmers and end-users.
  1154.  
  1155. In addition, the programs that you write are your programs, you can
  1156. produce and offer for sale programs that have PICKULATOR specific
  1157. subroutines and functions as a portion of your programs. 
  1158.  
  1159. The PICKULATOR System package is required on each individual PICK
  1160. Host to enable the PICKULATOR Workstation.
  1161.  
  1162. The PICKULATOR Workstation package is required to enable your
  1163. programs to run on individual ports.
  1164.  
  1165. Your PICKULATOR system is in its most basic form an interpreter
  1166. between your PICK host and your PICKULATOR workstation. The
  1167. Workstation package allows interpretation of graphics and mouse
  1168. operations and makes them available to your PICK host and your PICK
  1169. programs.
  1170.  
  1171. ** NOTE **
  1172. Be sure to see Chapter 7 - Bundled Graphic Charts, included with
  1173. the PICKULATOR System package, which allows you to generate both
  1174. Bar Graph and Pie Graph charts from your PICK database. There is no
  1175. programming required to use these charts, they are fully functional
  1176. programs, the only thing you need to add is data!
  1177.  
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185. ■───────────────────────────────────────────────────────────────■
  1186.                                            GETTING STARTED    22  
  1187.  
  1188. CHAPTER 2 - ENTRY AND EXIT 
  1189. ■───────────────────────────────────────────────────────────────■
  1190.  
  1191. To gain access to your PICK host from your PICKULATOR workstation,
  1192. execute the following instruction from the drive specified in the
  1193. workstation implementation section.
  1194.  
  1195. EXAMPLE
  1196.  
  1197. B>PKEMULAT
  1198.  
  1199. Once this instruction has been issued a screen simular to the
  1200. following should be displayed:
  1201.  
  1202.       
  1203. ┌───────────────────────────────────────────────────────────────┐
  1204. │                                                               │
  1205. │                                                               │
  1206. │                                                               │
  1207. │                                                               │
  1208. │                                                               │
  1209. │                                                               │
  1210. │                                                               │
  1211. │                                                               │
  1212. │                                                               │
  1213. │                                                               │
  1214. │                                                               │
  1215. │                                                               │
  1216. │                                                               │
  1217. │                                                               │
  1218. │                                                               │
  1219. │ Pickulator - (c)1991 Multisystems Development Inc.            │
  1220. └───────────────────────────────────────────────────────────────┘
  1221.  
  1222.  
  1223.  
  1224. To exit the emulation, simply press the ALT key, hold it down and
  1225. press Q. Use this option when you have completed use of the
  1226. emulation program.
  1227.  
  1228. To enter DOS, simply press the ALT key, hold it down and press D.
  1229. Use this option when you want to temporarily go into DOS and return
  1230. to the emulation program. When you have completed work in DOS type
  1231. EXIT and press return to gain re-entry into the emulation program.
  1232.  
  1233.  
  1234.  
  1235.  
  1236.  
  1237.  
  1238. ■───────────────────────────────────────────────────────────────■
  1239.                                              ENTRY AND EXIT   23
  1240.  
  1241.  
  1242. CHAPTER 2 - USING PICKULATOR ROUTINES
  1243. ■───────────────────────────────────────────────────────────────■
  1244.  
  1245. There are 2 ways to access the features of your PICKULATOR
  1246. workstation. The first way is through FUNCTIONS, and the other is
  1247. through SUBROUTINES. 
  1248.  
  1249. Functions should be used at the TCL (Terminal Control Language)
  1250. level, the other should be used when writing basic routines.
  1251.  
  1252. The difference between the two options is, Functions return error
  1253. messages to the display. Subroutines return error messages through
  1254. subroutine arguments which are not displayed.
  1255.  
  1256. EXAMPLE - Turn the Mouse ON
  1257.  
  1258. 1 FUNCTION
  1259.  
  1260. >MOUSE-ON
  1261.  Mouse Enabled.
  1262.  
  1263. 2 SUBROUTINE
  1264.  
  1265. 001 CALL MOUSE("ON",MSG)
  1266.  
  1267. In the first example MOUSE-ON is keyed at TCL and the message
  1268. "Mouse Enabled." is displayed. In the second example the subroutine
  1269. MOUSE is called with the first argument begin "ON" and the variable
  1270. MSG would contain 1 signifying that the mouse has been enabled.
  1271.  
  1272. The reason for having FUNCTIONS and SUBROUTINES is, you do not want
  1273. error messages coded inside basic programs to be displayed; however
  1274. you do want error messages from FUNCTIONS executed at TCL to be 
  1275. displayed.
  1276.  
  1277. In many cases where a basic SUBROUTINE command is documented, there
  1278. is a corresponding FUNCTION for that same command.
  1279.  
  1280.  
  1281.  
  1282.  
  1283.  
  1284.  
  1285.  
  1286.  
  1287.  
  1288.  
  1289.  
  1290.  
  1291.  
  1292. ■───────────────────────────────────────────────────────────────■
  1293.                                  USING PICKULATOR ROUTINES    24
  1294.  
  1295.  
  1296. CHAPTER 2 - SYNTAX AND CONVENTIONS
  1297. ■───────────────────────────────────────────────────────────────■
  1298.  
  1299. SUBROUTINES
  1300.  
  1301. Basic subroutines are very simple to utilize
  1302.  
  1303. CALL PROGNAME(argument,[argument],,,,)
  1304.  
  1305.      PROGNAME - The name of the subroutine being called.
  1306.  
  1307.      argument - When specified alone, must be present
  1308.     
  1309.    [argument] - When specified with brackets is optional; however 
  1310.                 the argument must be in the call, otherwise a basic 
  1311.                error related to the mismatch of arguments will    
  1312.                occur
  1313.  
  1314. FUNCTIONS
  1315.  
  1316. TCL functions also are simple to utilize
  1317.  
  1318. >FUNCNAME opt1 (keyword) [opt2] etc... (addopt1,[addopt2] etc...
  1319.  
  1320.      FUNCNAME - The name of the function being executed.
  1321.  
  1322.      opt1     - This option is required
  1323.     
  1324.     (keyword) - This is a keyword identifier ie. (BY, WITH etc...) 
  1325.   
  1326.      [opt2]   - This option is not required, if not desired, omit
  1327.  
  1328.      (addopt1 - This additional option is required
  1329.  
  1330.    ([addopt2] - This additional option is not required, if not    
  1331.                 desired omit
  1332.     
  1333.  
  1334.  
  1335.  
  1336.  
  1337.  
  1338.  
  1339.  
  1340.  
  1341.  
  1342.  
  1343.  
  1344.   
  1345.  
  1346. ■───────────────────────────────────────────────────────────────■
  1347.                                     SYNTAX AND CONVENTIONS    25
  1348.  
  1349.  
  1350. CHAPTER 3 - GRAPHICS REFERENCE
  1351. ■───────────────────────────────────────────────────────────────■
  1352.  
  1353.  
  1354. Basic Subroutines
  1355.   .CIRCLE
  1356.   .COLOR
  1357.   .DRAW
  1358.   .GET
  1359.   .PAINT
  1360.   .PALETTE
  1361.   .PCOPY
  1362.   .PRESET
  1363.   .PSET
  1364.   .PMAP
  1365.   .POINT
  1366.   .PUT
  1367.   .SCREEN
  1368.   .VIEW
  1369.   .VIEWPRINT
  1370.   .WIDTH
  1371.   .WINDOW
  1372.  
  1373. TCL Verbs
  1374.   .COLOR
  1375.   .PALETTE
  1376.   .SCREEN
  1377.   .WIDTH
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395.  
  1396.  
  1397.  
  1398.  
  1399.  
  1400. ■───────────────────────────────────────────────────────────────■
  1401.                                                  REFERENCE    26
  1402.  
  1403.  
  1404. CHAPTER 3 - GRAPHICS REFERENCE
  1405. ■───────────────────────────────────────────────────────────────■
  1406.  
  1407. CIRCLE Statement
  1408.  
  1409. Purpose: Draws a circle on the screen with center (x,y) and       
  1410.          radius (r).
  1411.  
  1412. SYNTAX
  1413.  
  1414. Subroutine: .CIRCLE(xpos,ypos,radius,[color,[start,end],[aspect]])
  1415.    
  1416.   Function: Not Available
  1417.  
  1418. ■───────────────────────────────────────────────────────────────■
  1419. DEFINITION
  1420.  
  1421.      xpos,ypos - These are the coordinates (in pixels) of the     
  1422.                  center of the circle. 
  1423.  
  1424.         radius - The radius (major axis) of the circle in points
  1425.  
  1426.          color - A numeric value that chooses a color attribute   
  1427.                  from the current palette setting
  1428.  
  1429.      start,end - These are angles in radians and can range from   
  1430.                  -2*PI to 2*pi, where PI=3.141593
  1431.  
  1432.         aspect - A numeric expression
  1433.  
  1434.  
  1435.  
  1436.  
  1437.  
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454. ■───────────────────────────────────────────────────────────────■
  1455.                                                     CIRCLE    27
  1456.  
  1457.  
  1458. CHAPTER 3 - GRAPHICS REFERENCE
  1459. ■───────────────────────────────────────────────────────────────■
  1460.  
  1461. CIRCLE Statement - Continued
  1462.  
  1463. EXPLANATION
  1464.  
  1465. start and end specify where the drawing of the circle will begin
  1466. and end. The angles are positioned in the standard mathamatical
  1467. way, with 0 to the right and going counterclockwise.
  1468.  
  1469. If the start or end of the angle is negative (-0 is not allowed),
  1470. the circle is connected to the center point with a line, and the
  1471. angles are treated as if they were positive (this is not the same
  1472. as adding 2*PI). The start angle can be greater or less than the
  1473. end angle. 
  1474.  
  1475. aspect affects the ratio of the x-radius to the y-radius. The
  1476. default for aspect varys (5/6, 5/12 etc..) with the SCREEN mode
  1477. enabled prior to the use of the CIRCLE statement.
  1478.  
  1479. If aspect is less than 1, then radius is the x-radius. That is, the
  1480. radius is measured in points in the horizontal direction. If aspect
  1481. is greater than 1, then radius is the radius.
  1482.  
  1483. In many cases, an aspect of 1 results in nicer-looking circles
  1484. under certain SCREEN modes. It also causes the circle to be drawn
  1485. somewhat faster.
  1486.  
  1487.  
  1488.  
  1489.  
  1490.  
  1491.  
  1492.  
  1493.  
  1494.  
  1495.  
  1496.  
  1497.  
  1498.  
  1499.  
  1500.  
  1501.  
  1502.  
  1503.  
  1504.  
  1505.  
  1506.  
  1507.  
  1508. ■───────────────────────────────────────────────────────────────■
  1509.                                                     CIRCLE    28
  1510.  
  1511.  
  1512. CHAPTER 5 - FILES AND DEFINITIONS                                
  1513. ■───────────────────────────────────────────────────────────────■
  1514.  
  1515.  
  1516. GRAPH-FILE
  1517.  
  1518. BUTTONS
  1519.  
  1520. CHARS
  1521.  
  1522. CHARS,0X
  1523.  
  1524. CHARS,1X
  1525.  
  1526.  
  1527.  
  1528.  
  1529.  
  1530.  
  1531.  
  1532.  
  1533.  
  1534.  
  1535.  
  1536.  
  1537.  
  1538.  
  1539.  
  1540.  
  1541.  
  1542.  
  1543.  
  1544.  
  1545.  
  1546.  
  1547.  
  1548.  
  1549.  
  1550.  
  1551.  
  1552.  
  1553.  
  1554.  
  1555.  
  1556.  
  1557.  
  1558.  
  1559.  
  1560.  
  1561.  
  1562. ■───────────────────────────────────────────────────────────────■
  1563.                                       FILES AND DEFINITIONS   99
  1564.  
  1565.  
  1566. CHAPTER 5 - FILES AND DEFINITIONS
  1567. ■───────────────────────────────────────────────────────────────■
  1568.  
  1569. GRAPH-FILE
  1570.  
  1571.   The GRAPH-FILE is a file used to build and display both bar and
  1572. pie type graphs. The information in this section only defines and
  1573. explains the use of this file and not the use of the programs
  1574. themselves. For further information on the programs, see CHAPTER 6
  1575. - Bundled Graphics Charts.
  1576.  
  1577. DICT, GRAPH-FILE
  1578.  
  1579.   The following information identifies and explains the information
  1580. contained in the dictionary of the GRAPH-FILE.
  1581.  
  1582. DICT, GRAPH-FILE COLOR.XREF
  1583.  
  1584.   This item contains a cross reference of COLOR NAMEs matched with
  1585. COLOR NUMBERs. When using the GRAPH-FILE item to produce a graph,
  1586. and you wish to select the colors for the graph, then you will need
  1587. to insert either COLOR NAMEs or COLOR NUMBERs to identify them.
  1588.  
  1589.   It would be better to use the COLOR NUMBERs rather than the COLOR
  1590. NAMEs for the most efficient use of the file item; however, this
  1591. option is left to the user rather than to the maker of the
  1592. software.
  1593.  
  1594.   The structure of this item is as follows:
  1595.  
  1596.   ITEM KEY=COLOR.XREF
  1597.  
  1598.   001 COLOR NAMEs, multivalued
  1599.   002 COLOR NUMBERs, multivalued
  1600.  
  1601.   EXAMPLE
  1602.  
  1603.   001 RED]BLUE]YELLOW]GREEN]PINK]WHITE]HIGHWHITE
  1604.   002 1]2]3]4]5]6]7
  1605.  
  1606.   In the above example, you can see that it is left up to the user
  1607. to identify the names of the colors that are desired. In one of the
  1608. later appendices, one can find the color numbers associated with
  1609. the color name to determine how to create this item.
  1610.  
  1611.  
  1612.  
  1613.  
  1614.  
  1615.  
  1616. ■───────────────────────────────────────────────────────────────■
  1617.                                                 GRAPH-FILE    99
  1618.  
  1619.  
  1620. CHAPTER 5 - FILES AND DEFINITIONS
  1621. ■───────────────────────────────────────────────────────────────■
  1622.  
  1623. GRAPH-FILE continued
  1624.  
  1625. DICT, GRAPH-FILE DEFAULT.COLORS
  1626.  
  1627.   This item contains a list of default colors to use when they are
  1628. not previously selected in the GRAPH-FILE item to be displayed. 
  1629. The format of the item is the same as an item setup to display a
  1630. graph, with the exception that there is no data in the item, only
  1631. COLOR NAMES or COLOR NUMBERS.
  1632.  
  1633.     ITEM KEY=DEFAULT.COLORS
  1634.  
  1635.     001 
  1636.     002 
  1637.     003
  1638.     004
  1639.     005
  1640.     006
  1641.     007 15
  1642.     008 15
  1643.     009 15
  1644.     010 1
  1645.     011 7
  1646.     012 15
  1647.  
  1648.   The example above shows the colors that are already setup when
  1649. you receive your software. Notice that attributes one through six
  1650. are NULL and seven through twelve contain numbers. The following
  1651. information describes the effect of the COLOR NUMBERS to the graph
  1652. when it is displayed.
  1653.  
  1654.     007 - Heading Color
  1655.     008 - Vertical Color
  1656.     009 - Horizontal Color
  1657.     010 - Background Color
  1658.     011 - Default Text Color
  1659.     012 - Outline Color
  1660.  
  1661. ** NOTE ** 
  1662.  
  1663.   All colors are optional and can be either the name of the color
  1664. or the COLOR NUMBER.
  1665.  
  1666.  
  1667.  
  1668.  
  1669.  
  1670. ■───────────────────────────────────────────────────────────────■
  1671.                                                  GRAPH-FILE   99
  1672.  
  1673.  
  1674. CHAPTER 5 - FILES AND DEFINITIONS
  1675. ■───────────────────────────────────────────────────────────────■
  1676.  
  1677. GRAPH-FILE continued
  1678.  
  1679.   The contents of the GRAPH-FILE are very simple and easy to use.
  1680. Data is the only requirement to make use of the PIE and/or BAR type
  1681. charts. The following information defines and explains the data
  1682. required in the GRAPH-FILE.
  1683.  
  1684.     ITEM KEY=User Defined
  1685.   
  1686.     001 Headings ;Multivalued (x3 max)
  1687.     002 reserved
  1688.     003 Horizontal Name
  1689.     004 Element Values ;Multivalued
  1690.                        ;Subvalue a "1" in this attribute, signifies
  1691.                         to pull a piece of the PIE when using
  1692.                         a PIE type chart.
  1693.     005 Element Text   ;Multivalued
  1694.     006 Element Colors ;Multivalued
  1695.     007 Heading Color
  1696.     008 Vertical Color
  1697.     009 Horizontal Color
  1698.     010 Background Color
  1699.     011 Default Text Color
  1700.     012 Outline Color
  1701.  
  1702.  
  1703.  
  1704.  
  1705.  
  1706.  
  1707.  
  1708.  
  1709.  
  1710.  
  1711.  
  1712.  
  1713.  
  1714.  
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720.  
  1721.  
  1722.  
  1723.  
  1724. ■───────────────────────────────────────────────────────────────■
  1725.                                                  GRAPH-FILE   99
  1726.  
  1727.  
  1728.  
  1729.  
  1730.  
  1731.  
  1732.  
  1733.  
  1734.  
  1735.  
  1736.  
  1737.