Hi, i'Ve stumbled over the following command:
TmpCatGroups := temporary;
where TmpCatGroups is some Table with the Propertie Temporary = YES. But that's no difference.
If you insert this code with any var before the :=, you get by compilation the error
"A Value or an expression was expected" with examples.
Normaly, Navision should respond a
"You have specified an unknown variable".
because "temporary" is similar to the popertie for temp-tables, i tried a
TmpCatGroups := dimensions;, because dimensions is also a propertie for Var's. But here Navision results the right error.
If i write just the "Command" temporary in one line, navision results this must not be the first word in a sentence
This means, temporary in the c/side code has to be something like an Statement. But what is it doing?
0
Comments
The one thing that I notice is that it has not been capitalised. Therefore it cannot be a command or other C/AL keyword.
What object have you found this in?
IF (tmprec = TEMPORARY) THEN; //this results in 'a value or expression expected'
tmprec := TEMPORARY; //this results in 'a value or expression expected'
MESSAGE(TEMPORARY); //this results in 'a value or expression expected'
TEMPORARY := 1; //this results in 'this must not be the first word in a sentence'.
It is used in the variables to indicate that a record is used as a temporary table.
So my guess is that the Navision compiler expects that it is used in this way.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!