AMOSi:Edit ASCII

From Amiga Coding
Revision as of 02:45, 17 November 2007 by Spellcoder (talk | contribs) (Extracted from the AMOSPro V2.00 helpfile)
Jump to: navigation, search

an example can be found on AMOSPro_Tutorial:Tutorials/Interface/Editing_Zones.AMOS


Creates a text editing zone which lets you enter your text on the screen, and edit it directly with the cursor keys. Hitting Return will enter the value into memory. It can now be read using the RDIALOG$ function from your Basic program.


ED zone number,x,y,width,maxlength,'default',paper,pen


zone number = the number of your zone.


x,y hold the coordinates of the start of your zone ralative to the BAse point. x will be rounded down to the nearest 16.


width enters the width of your zone in CHARACTERS, rounded to the nearest EVEN number.


maxlength sets the maximum number of characters which can be entered into your string.


'default' is a string which will be returned as a default.


paper,pen are the colours of your text and background respectively