Easy-to-use loop first command:
Call format: <no return value> Number of first integer cycles in a count loop, [variable with variable cycles recorded])-system core support library-> Process Control
English name: counter
Execute this command to repeat the commands in the loop body for a specified number of times. The value of the provided integer parameter determines the number of repeated executions. This command is a basic command.
The parameter <1> is named "number of cycles" and the type is "integer int )". This value specifies the number of times that all commands in the body are executed for the Count loop. The value must be greater than or equal to zero.
The parameter <2> is named "cyclic count record variable" and the type is "integer int)". It can be omitted. Only variables can be provided when parameter data is provided. This numeric variable is used to record the number of times that the current loop has been started from 1), the program can directly use the value in this variable.
Operating System Requirements: Windows, Linux, and Unix
Corresponding command:
Call format: <no return value> end of the count loop)-system core support library-> Process Control
English name: CounterLoop
This command has been hidden.
If the number of cycles in the count loop is not reached, the execution of this command will return to the corresponding "first count loop" command to continue the loop. Otherwise, the next command will be executed sequentially to exit the Count loop. This command is a basic command.
Operating System Requirements: Windows, Linux, and Unix
Easy language information box command:
Call format: general-purpose prompt information in the "integer" information box, integer button, [text window title])-system core support library-> system processing
English name: MsgBox
The information is displayed in the dialog box. Wait for the user to click the button and return an integer to tell the user which button to click. This integer is one of the following constant values: 0, # confirmation button; 1, # cancel button; 2, # discard button; 3, # Retry button; 4, # ignore button; 5. # yes; 6. # No. If the "cancel" button exists in the dialog box, pressing the ESC key has the same effect as clicking the "cancel" button. This command is a basic command.
The parameter <1> is named "prompt information" and its type is "general purpose all )". The prompt information can only be text, numeric, logical value, or datetime. If the prompt message is text and contains multiple lines, you can use a carriage return ("character (13)") or line feed ("character (10)") between the lines )") or enter a combination of line breaks (that is, "character (13) character (10)") to separate.
The parameter <2> is named "button" and the type is "integer int". The initial value is "0 ". The parameter values are composed of the following groups of constant values. When these constant values are used to generate the parameter values, each group of values can only use one number and the fifth group ):
The type and number of buttons displayed in the first set of descriptions dialog box ):
0, # confirmation button; 1, # confirmation cancel button; 2, # discard retry ignore button; 3, # cancel button; 4, # Whether button; 5, # retry cancel button
The second group describes the icon style ):
16. # error icon; 32. # inquiry icon; 48. # warning icon; 64. # information icon
The third group specifies which button is the default value ):
0, # default button 1; 256, # default button 2; 512, # default button 3; 768, # default button 4
The fourth group decides how to wait for the message box to end ):
0, # program waiting; 4096, # system waiting
Group 5 others ):
65536, # At the front end; 524288, # Right-aligned text
The parameter <3> is named "window title" and the type is "text". It can be omitted. The parameter value specifies the text displayed in the title bar of the dialog box. If omitted, the default value is "information :".
Operating System Requirements: Windows
Address: http://www.jinqiuxin.cn/post/35.html