John Carpenter (53B) sent in 10 veryshort utilities and an instruction fileI have joined all the utilitiestogether into one program to savefilenames on the DFS version of thisissue. You may find it useful to print outthis instruction file using the printout option from the software menu. Youcan then read the info as you examinethe program. The text is written by John Carpenter. After each routine name I have added apair of line numbers. These numbersare the first and last line numbers ofthat routine in the program "utils". To experiment with each of the routinesload in "utils", delete all the linesbefore the first number and all thelines after the second number. For example. To examine the CHECKroutine type: LOAD "utils" DELETE 0,190 DELETE 280,2000 You can then read the associatedparagraph in the instructions to seewhat that particular routine will do. By John Carpenter. All these basic programs are littleroutines that I find quite useful. FNcase(A$) 10]190 By me. This converts (eg) "hElLo" into"HELLO",(ie into upper case). PROCcheck(z$) 200]270 By Gary Davies (I THINK!) This is quite useful. What it willdo is check a string for anotherstring. EG check P$ to see if itcontains A$. INSTRUCTIONS!!..first create Z$ (eg Z$="HELLO") then..if you want to check it for a$type PROCcheck(a$) and it creates avariable check$. If Z$ contains a$ thencheck$=a$ otherwise check$=Z$ PROCcon 300]350 By me This is very simple indeed and is justa PROCcon (turns cursor on) and PROCcoff (turns cursor off) PROCesccode 400]580 By Chris Reeve Is for online use only and contains arough list of all escape codes.. PROCfkeys 600]640 By me This makes F0 : solid block F2 : double height F3 : single height F6 : black background F7 : new background. FNinput(length%) 700]820 By Gary Davies This is similar to the usual INPUTbasic command except you can specify alength for the string.. eg a$=FNinput(10) It will allow you to input a 10chararacter maximum into "a$". FNlen(len$,len%) 900]960 By me This is useful!! Try : a$=FNlen(10) This would make LEN(a$)=10..ie if a$was "HELLO" it would make it: "HELLO " and if a$="1234567890123" it would make a$="1234567890" ..it is quite useful for storing thingsinto a datafile.. I often use it withFNinput. FNpassword(length%) 1000]1090 By Gary Davies Similar to the above except it is usedto input a password. It is entered as*s instead of normal characters. Youcan use it like: IF FNpassword(10)="PASSWORD" THEN.etc..PROCreturn 1100]1180 By me Is just a fancy way of "PRESS RETURN"ing.. PROCmoveto(xpos%,ypos%) 1200]1280 By Gary Davies This does a PRINTTAB. To use it: PROCTAB(x,y) Which moves the cursor to co-ordinates(x,y). This is useful because you canuse it online (ie with a modem becausePRINTTAB doesn't work like that..!!) PROCwrite`text(file%,string$) 1300]1370By Gary Davies This is a text file display procedure (like DISPLAY).. Editor: This procedure writes a stringto an already opened file.