DictionaryForumContacts

 france3

link 1.06.2010 20:08 
Subject: Block repeat / block to be repeated.
Block repeat / block to be repeated.- ?

4.7 Block repeat
Syntax RPT .label1, .label2, repeats
Description The RPT instruction executes the instructions between .label1 and .label2 a number of
times equal to the value indicated in the repeats parameter.
.label1 Name of the label that defines the beginning of the block
Indicates the name of the label that defines the beginning of the block to
be repeated.
It must be above label2.
.label2 Name of the label that defines the end of the block
Indicates the name of the label that defines the end of the block that
must be repeated.
Must be below label1.
Repeats Number of block executions
Indicates how many times the block must be executed.
It is advisable to define the block to repeat and to enter the RPT instruction
immediately after the block, even though different programming is also allowed.
If this method is used, remember that the block is executed once in sequential mode
before the RPT instruction is interpreted and is then repeated for the number of times
determined by the third parameter.
If a block must be repeated 10 times, it is therefore necessary to specify 9 in the repeats
field.
Several nested RPT instructions can be used but the blocks defined by the labels must
not cross each other.

 VCNG123

link 2.06.2010 1:10 
может быть... повторение программного блока - некоей части алгоритма.

 

You need to be logged in to post in the forum