JOYExplanatory file in Locoscriptfor reading with ARRAYS.LOC & ARRAYS.LST (read this first!)  .ÿŒÿ�„� '¹H€ UH€ U€ ”È‚‰ Ȉ†ÜŠȆÖ‰!žƒARRAYS.LOC�‚�by�K.M.�Simons„.ˆ†ÜŠ B†(This�is�the�file�"NOTE_ARR.LOC"�and�contains�instructions�for�use�of�the�Š �†xprogram�on�this�disc�named�as�above.��The�program�itself�is�a�highly�Š h†Pcomplex�LOCOMAIL�program�written�using�LOCOSCRIPT�1.��Only�experienced�Š V†<programmers�will�actually�understand�the�next�three�paragraphs�‚�please�ˆ†skip�them�if�you�want�to�make�use�of�this�very�useful�program.ˆ†ÜŠȆ‰$ÚTechnical�Description.ˆ†ÜŠ.†In�fact,�ARRAYS.LOC�is�so�complex�I�am�not�sure�that�I�understand�what�it�Šj†Pdoes�myself...�even�though�I�wrote�it!��The�basic�idea�is�to�merge�the�Š T†<program�with�an�address�list�(or�any�other�suitable�file�for�LOCOMAIL's�Š †purposes),�and�to�have�then�stored�in�the�computer's�memory�the�information�Š i†Pcontained�in�that�file.��This�information�can�then�be�read�back�into�a�Š †document�without�ever�having�to�leave�the�document�for�the�disc�management�ŠU†<screen...�and�each�record�can�be�called�up�in�any�order�you�like.��(For�Š T†<anyone�who�is�lost�already�in�what�I�am�saying...�LOCOMAIL�usually�only�Š,†allows�you�to�insert�a�record�in�the�order�it�comes�in�the�form�file�when�Š.†you�are�merging.��If�you're�still�lost�‚�skip�a�few�paragraphs.��I'll�get�Š ‘†xmore�practical�and�perhaps�very�useful�a�little�later�on.��I�want�to�ˆ†€explain�how�this�is�done�before�doing�it!).ˆ†ÜŠ †Of�course,�LOCOMAIL�does�not�provide�this�facility.��To�accomplish�it,�you�Іhave�to�store�the�information�in�variables�as�you�come�to�it.��This�itself�Š -†cannot�be�done,�as�it�would�require�arrays�to�work�effectively.��LOCOMAIL�ˆ†üdoes�not�provide�arrays.ˆ†ÜŠ Ά´ARRAYS.LOC�overcomes�these�problems�by�making�its�own�arrays.��It�Іconcaterates�(i.e.�joins)�to�the�end�of�a�variable�name�a�number.��Then�it�Šj†Puses�concateration�to�make�a�macro�(but�to�do�this,�I�have�to�nest�the�Š A†(macro‚making�part�inside�another�macro).��If�you�are�a�better�programmer�ˆ€ H € ”È‚‰ ÈŠU†<than�I�am,�you�may�want�to�take�advantage�of�these�points�and�produce�a�Š@†(program�which�is�easier�to�use�and�to�understand!��Well,�I�told�you�this�Іwould�be�complex.��Now�to�use�the�thing,�and�you'll�find�it�easier�reading�ˆ†((I�hope).ˆ†ÜŠȆ:‰&Using�the�program.ˆ†ÜŠ †You�need�LOCOMAIL�to�use�this�program.��From�the�disc�management�screen�in�Š †LOCOSCRIPT,�move�over�the�file�ARRAYS.LOC.��Press�the�letter�M,�then�press�Š “†x[ENTER].��Then�move�over�the�file�ARRAYS.LST�which�is�a�hypothetical�ˆ†´address�list�with�a�little�more�information.��Press�[ENTER]�twice.ˆ†ÜІYou�will�see�some�of�the�text�on�the�screen�disappear,�then�there�will�be�a�Š †few�seconds�pause,�then�a�prompt�will�appear�"ENTER�REFERENCE".��This�is�a�Š †request�for�you�to�type�in�some�of�the�information�in�the�data�file.��Try:�Š Q†<Hughes,�Bloggs,�Jones,�Smith�or�Johnson.��Then�press�[ENTER].��The�form�Š j†Pwill�fill�with�the�details�from�the�file�ARRAYS.LST�of�the�appropriate�Š †person.��Select�"Discard�Result"�from�the�menu.��Then�repeat,�in�any�order�ˆ€ �€ ”È‚‰ ÈŠ†you�fancy.��(Or�try�any�part�of�their�names/addresses).��Each�time�it�will�ˆ†àbe�filled�correctly,�but�not�reading�from�the�disc.ˆ†ÜŠȆb‰(*Practical�Use.ˆ†ÜŠ=†(Firstly�be�warned.��There�is�a�file�length�limit�(about�15K)�on�the�form�Š@†(file�for�this�program.��If�you�go�over�it,�you�will�never�get�the�"ENTER�Š †REFERENCE"�prompt.��Locomail�will�just�sit�for�a�while�(give�up�after�about�Š †a�minute),�waiting�for�you�to�press�[STOP]�two�or�three�times,�and�Abandon�ˆ†(Locomail.ˆ†ÜŠ B†(Secondly,�Edit�the�ARRAYS.LST�file�to�your�requirements.��You�can�change�Š U†<the�seperators�(currently�colons)�to�whatever�you�like,�but�don't�alter�Š B†(anything�after�the�record�which�says�"zz".��Don't�alter�the�names�in�the�ˆ†¼first�page�either�(i.e.�name,yref�etc.).ˆ†ÜŠ V†<Thirdly,�edit�the�ARRAYS.LOC�file�with�caution.��Don't�alter�any�of�the�Š ~†dprogramming�statements.��Remove�all�my�text.��If�you�want�to�use�some�Š †LOCOMAIL�of�your�own,�keep�it�well�away�from�mine.��(Especially,�don't�put�Š’†xit�in�the�middle�of�mine!).��You�can�move�or�repeat�the�parts�of�the�Š ¤†Œprogram�which�type�up�the�final�text�if�you�want�(i.e.�the�bottom�4�ˆ†(LOCOMAIL�statements),�but�make�sure�they're�below�the�main�block�of�code.ˆ†ÜŠ.†Finally,�merge�the�files.��(P.S.�‚�I�hope�you�copied�the�files�before�you�ˆ†,began�altering�them�‚�just�in�case�you�did�mix�up�the�code!)ˆ†ÜŠȆþ‰#ÆDistribution�Conditions:ˆ†ÜŠ †You�take�all�responsibility�for�consequences�arising�from�the�use�or�misuse�Š †of�this�program.��It�may�be�distributed�provided�that�no�distribution�takes�Š @†(place�with�a�view�of�profit�(small�copying�fee�permitted).��Copyright�is�ˆ†retained�by�the�author:ˆ†Üˆ†œKeith�M.�Simons,ˆ†ÄCheadle�Hulme,ˆ†tCheadle,�Cheshire.ˆ†PSK8�5HPˆ†Üˆ†P¤�1990.ˆ€