Dialogue "Editing of the scenario" |
The dialogue window consists of three parts: - window of the text directly of scenario. In this window the string marked // (as the comments) are set by the italic type, the error strings are highlighted by red color; - window of errors; - window of scenario commands. The scenario command can be entered manually in the window of text entering or automatically by double mouse click in string of the command name in the commands window. To edit the command it is possible also manually or by double mouse click in the string of the necessary command in the window of scenario text entering. To test commands regularity it is possible, having clicked the Control button. Thus the following sorts of control will be realized: admissibility of commands, absence of objects of building (there are no commands INIT or STAFF), absence of object's codes in the classifier, desequencing of commands, inadmissibility of plotting ways, query of the nonexistent data from memory (mismatch of commands - MEMOPOINT and REMEMBERPOINT), absence of number for commands having a numerical field, absence of the pair command (STAFFON and STAFFOFF), absence of the semantics code in the classifier. If there are errors in the scenario text, about these errors the information in the errors window will be given. Otherwise there will be a message "No errors". At the double mouse click on the string with an error name the error string will be marked in the window of the scenario text.
|