INSERTS THE ITEM T AFTER THE LINE L IN THE SYSTEM OBJECT NUMBER N
ACTION
The command ITEM_INSERT N,L,T adds the text T as line (item) after the line number L in the system object designated by its number N.
The system object is : MEMO, MEMO_RICH, COMBO, LIST, DLIST, SYNEDIT.
Remark: the first line has the number 1.
SYNTAX:
ITEM_INSERT N,L,T
USE ERROR EXAMPLE
rem create a LIST
list 1:width 1,150
rem fill the LIST with 2 lines
item_add 1,"This is line 2"
item_add 1,"This is line 3"
rem wait for 1 second
wait 1000
rem insert a line at first position
item_insert 1,1,"This is first line"
ITEM_INSERT
ITEM_INSERT N,L,T
SEE ALSO
MEMO
MEMO_RICH
COMBO
LIST
DLIST
SYNEDIT
FILE_ADD
ITEM_ADD
ITEM_DELETE
ITEM_SELECT
ITEM_INDEX$()
ITEM_INDEX()
ITEM_INDEX$()
ITEM_READ$()
COUNT()