Browse Subversion Repository
Diff of /trunk/installer/release/random.ttl
Parent Directory
| Revision Log
| Patch
1 |
; sample macro of Tera Term |
; sample macro of Tera Term |
2 |
; |
; |
3 |
; File: random.ttl |
; File: random.ttl |
4 |
; Description: generate the random value |
; Description: generate the random value |
5 |
; Environment: generic |
; Environment: generic |
6 |
; Update: 2006/2/11 |
; Update: 2006/2/11 |
7 |
; Author: Yutaka Hirata |
; Author: Yutaka Hirata |
8 |
|
|
9 |
connect '192.168.1.2 /2 /ssh /auth=password /user=yutaka /passwd=yutaka' |
connect '192.168.1.2 /2 /ssh /auth=password /user=yutaka /passwd=yutaka' |
10 |
pause 5 |
pause 5 |
11 |
|
|
12 |
|
|
13 |
val = 0 |
val = 0 |
14 |
|
|
15 |
while 1 |
while 1 |
16 |
random val 100 |
random val 100 |
17 |
call show_step |
call show_step |
18 |
pause 2 |
pause 2 |
19 |
endwhile |
endwhile |
20 |
|
|
21 |
exit |
exit |
22 |
|
|
23 |
|
|
24 |
:show_step |
:show_step |
25 |
int2str s val |
int2str s val |
26 |
statusbox s 'random value' |
statusbox s 'random value' |
27 |
return |
return |
|
Legend:
Removed from v.3226 |
|
changed lines |
|
Added in v.3227 |
|
|
|