home *** CD-ROM | disk | FTP | other *** search
- SlideShow:
-
- $filename = "photo0" ,x, ".bmp"
- display element $filename
-
- mouse mode OFF
-
- win_msg = 0
- while win_msg != WM_KEYDOWN && win_msg != WM_RBUTTONDOWN && x <= y
- peek message win_msg, wpm, x_parm, y_parm
-
- switch win_msg
-
- case WM_LBUTTONDOWN
- x = x + 1
- if x <= y
- undisplay element $filename
- $filename = "photo0" ,x, ".bmp"
- display element $filename
-
- mouse mode ON
- return
-
- CheckSound:
-
- if (SOUND_DEVICE)
- goto screen "leader"
- else
- goto screen "leader no sound"
-