home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: OtherApp
/
OtherApp.zip
/
stwtv113.zip
/
Script
/
Sample2.STS
< prev
next >
Wrap
Text File
|
1999-10-18
|
620b
|
24 lines
/* Sample2.STS */
/* Shows the names of all defined stations */
/* Enumerate all stations into Station */
NumStations=StWTVEnumStations(Station)
/* Retreive handle of current station */
CurStation=StWTVGetStation('HANDLE','CURRENT')
rc=RxMessageBox(CurStation,"Actual station")
/* Loop over all stations */
Do i=1 To Station.0
/* Retreive name for station */
Name=StWTVGetStation('NAME',Station.i)
/* Switch to the station */
rc=StWTVActivateStation(Station.i)
/* Show station name */
rc=RxMessageBox(Name,'Sendername')
End
/* Restore old station */
rc=StWTVActivateStation(CurStation)