The current specification for the extend statement states that the rate of the extend statement is the rate of the expression parameter, or the rate of the guarding expression containing the statement, or the rate of the opcode containing the statement, whichever is fastest. Therefore, if an extend statement is inside an arate while loop the rate of the statement will be the arate. For example, consider the following Saol instrument:
intr i1()
{
asig a1;
a1 = 0;
while ( a1 < 10 ) {
extend (a1);
a1 = a1 + 1;
}
}
In this case both saolc and sfront generates an error. This is not consistent with the standard. Is the standard right?
Thanks,
Robert Sherry
This archive was generated by hypermail 2b29 : Mon Jan 28 2002 - 12:11:07 EST