Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
7738 leency 1
 
2
	collection anchor_name;
3
	collection anchor_position;
4
	void add();
5
	int get_anchor_pos();
6
} anchors;
7
8
 
9
{
10
	anchor_name.add(_name);
11
	anchor_position.add(itoa(_pos));
12
}
13
14
 
15
{
16
	dword pos_name = anchor_name.get_pos_by_name(_get_name);
17
	if (pos_name==-1) return -1;
18
	return atoi(anchor_position.get(pos_name));
19
}
20