Initializing help system before first use

deltext

deltext


Purpose
Delete a part of a text.
Synopsis
procedure deltext(txt:text, i1:integer, i2:integer)
procedure deltext(txt:text, ta:textarea)
Arguments
txt 
A text object
i1 
Starting position of the region to delete
i2 
End position of the region to delete
ta 
A text area object
Example
The following:
t:=text("abcdefgh")
deltext(t,3,7)
writeln(t) 
produces this output:
abh
Related topics
Module