(anonymous IP: 18.216.42.122,352) | ||||||||||||||
| ||||||||||||||
Audio (96) Datatype (15) Demo (50) Development (247) Document (62) Driver (19) Emulation (62) Game (529) Graphics (224) Library (22) Network (62) Office (21) Utility (250) Video (18) Total files: 1677 Full index file Recent index file Part of aros exec |
[Show comments] [Show snapshots] [Show videos] [Show content] [Replace file] Program: Request Author: Peter Hutchison How to use REQUEST REQUEST is an ASK command replacement. All it does it display a requestor with a question and gadgets saying YES or NO. The question can be upto 35 characters long. The format of the command is as follows:- REQUEST "prompt" if the user selects YES the WARN flag is set otherwise if NO is selected the condition flag is not set (0) and can be tested with the IF command. For example, REQUEST "Do you want to format a boot disk?" IF WARN FORMAT DRIVE df1: NAME "Boot" INSTALL DRIVE df1: ENDIF An example called REQTEST is included to Execute to test this command. This program is freely distributable along with this document. |
Copyright © 2005 - 2024 The AROS Archives All Rights Reserved |