%index
noteget
Read a line
%group
String commands
%prm
p1,p2
p1=variable : buffer that receives read data
p2=0- (0) : read index
%inst
This command read the specified line from the buffer of Memory Notepad.
This command can read a optional line.
^
Index number begin from 0. Take care about it.
p1 must be allocated sizes enough to read.
And p1 is changed to string type by force.
^
notesel command must be run earlier than other Memory Notepad commands
(noteget, noteadd, notedel, notemax).
%href
notesel
%sample
a="idx0\nidx1\nidx2"
notesel a
noteget b,1
mes b
stop