Rem with a bit of imagination, you can do anything!
Rem
Rem And all with humble AMOS.
Rem
Rem Before, you could tell a serious AMOS program a mile away
Rem because of the disgusting interface AMOS provided.
Rem Now you can even conform to Commodore's interface guidelines!
Rem And best off all, no one can tell your program is written in AMOS!
Proc INITIALISE : Rem ** Opens a screen and defines colours etc.
Rem ** This line draws a demo requester message
Proc REAL3DMESSAGE[170,71,305,80,True,20,25,"An example message","You can create all sorts of ","messages and requesters that ","look just like the real ","thing, and no nasty DOS calls!","","","","Ok",""]
Rem --- Main Loop, controls button checking and stuff ---
Repeat
If Mouse Key=1 and Mouse Zone=1 : Rem ** Wait for the OK box to be clicked on
Proc CLICKBOX[(305-40)/2+170,80+71-17,40,13,True,"Ok",0,False] : Rem ** Draw it embossed
Repeat : Until Mouse Key=0 : Rem ** Wait for the user to release the mouse button
Rem ** Draw over the window in grey so it goes away
Ink 2
Bar 170,71 To 170+305,71+80
Proc EXAMPLEWINDOW : Rem ** Draw the screenmode requester
Repeat : Until Mouse Key=1 : Rem ** Wait for user to click mouse button
End : Rem ** Then, end.
End If
Until False
Rem --- This is an example of the kind of thing you can produce