Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1971 | lev | 1 | |
2 | byte UrlHistory[6000]; |
||
3 | void AddUrl(); |
||
4 | void GoBack(); |
||
5 | dword CurrentUrl(); |
||
6 | }; |
||
7 | |||
8 | |||
9 | |||
10 | |||
11 | { |
||
12 | j = strlen(#UrlHistory); |
||
13 | WHILE(UrlHistory[j] <>'|') && (j > 0) j--; |
||
14 | IF (j > 0) UrlHistory[j] = 0x00; |
||
15 | WHILE(UrlHistory[j] <>'|') && (j > 0) { |
||
16 | copystr(#UrlHistory[j], #URL); |
||
17 | j--; |
||
18 | } |
||
19 | UrlHistory[j] = 0x00; |
||
20 | WB1.Load(#URL); |
||
21 | } |
||
22 | |||
23 | |||
24 | { |
||
25 | IF (strlen(#UrlHistory)>6000) copystr(#UrlHistory+5000,#UrlHistory); |
||
26 | copystr("|", #UrlHistory + strlen(#UrlHistory)); |
||
27 | copystr(#URL, #UrlHistory + strlen(#UrlHistory)); |
||
28 | } |
||
29 | |||
30 | |||
31 | |||
32 | { |
||
33 | EAX=#UrlHistory + find_symbol(#UrlHistory, '|'); |
||
34 | }>> |
||
35 |