home *** CD-ROM | disk | FTP | other *** search
- /*
- $VER: UpdateAmibench 1.0 (29.11.2000)
- by Neil Bothwick
-
- Updates the data files of the AmiBench tool
- */
-
- options results
- address command
-
- 'rxset UAcheck `RequestChoice "Update AmiBench" "You must be online to run this.*NAre you online?" "Yes|No"`'
- Proceed = getclip('UAcheck')
- call setclip('UAcheck')
- if ~Proceed then exit
-
- ports = ' 'show('P')
- if pos(' AMIBENCH.',ports) = 0 then do
- 'Run >NIL: ADD:AmiBench'
- do until RC = 0; address command 'waitforport AMIBENCH.1'; end
- ABport = 'AMIBENCH.1'
- address value ABport
- end
-
- else do
- ABport = word(substr(ports, pos(' AMIBENCH.',ports) + 1), 1)
- address value ABport
- 'SHOW'
- end
-
- 'APPREADY'
- 'UPDATEDATA'
- 'UPDATEMOTD'
-
-