12-28Creating A Script FileDIALOGUESyntax: DIALOGUE [ ]This command enables you to display a simple dialog box with a specified title,containing two buttons (Ok and Cancel) and a single line text box with a specifiedcaption, where is the text to be displayed in the title bar of the dialog box, as specifiedby a string delimited by double quotes or a string variable. is the text that will appear to the left or above the text box, as specifiedby a string delimited by double quotes or a string variable. is a previously defined string variable (see var) which is used to storethe text entered in the text box by the user, but only if the Ok button ispressed, otherwise the variable is set to NULL. Text stored in thisvariable will be displayed in the text box by default when the dialog isviewed again later. specify the horizontal and vertical position of the top left corner of thedialog box in relation to the top left corner of the screen in pixels.These can be integers or variables.The following example will display a dialog box titled User containing a text boxwith the prompt Enter your name:, and cause the text entered in the text box by theuser to be stored in the string variable name when the Ok button is pressed.dialogue "User" "Enter your name: " name 100 100The Error Numbers section lists the possible error numbers for this command.DIRFIRSTSyntax: DIRFIRST [ ]This will get the first entry in the working directory and place it in the previouslydefined string variables, where is a previously defined string variable (see var) which will store thename of the file. This is the only variable that must be specified, theothers are optional. is a previously defined string or integer variable which will store thesize of the file. is a previously defined string variable which will store the mode. is a previously defined string variable which will store the time of thelast modification. is a previously defined string or integer variable which will store theuser name (UNIX only).