$editboxhistory » History » Version 1
Per Amundsen, 03/17/2016 06:31 PM
| 1 | 1 | Per Amundsen | _Added in 2.3_ |
|---|---|---|---|
| 2 | |||
| 3 | *$editboxhistory(window,N)* |
||
| 4 | |||
| 5 | Returns the Nth Editbox history item for the window. |
||
| 6 | |||
| 7 | |||
| 8 | *Parameters* |
||
| 9 | |||
| 10 | window - The window to retrieve Editbox history from. |
||
| 11 | N - If N = 0, number of history items, otherwise the Nth item. |
||
| 12 | |||
| 13 | *Example* |
||
| 14 | |||
| 15 | <pre> |
||
| 16 | ; Print number of Editbox history items for the active window. |
||
| 17 | //echo -ag $editboxhistory($active, 0) |
||
| 18 | |||
| 19 | ; Print the first Editbox history item for the active window. |
||
| 20 | //echo -ag $editboxhistory($active, 1) |
||
| 21 | </pre> |