Is TEMPORARY a undocumented C/Side Command?
rthsw
Member Posts: 73
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?
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
-
This is interesting.
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?0 -
I noticed that command the other day as well when I was doing something. This is what I found from a report. I don't know what the command is used for.
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'.0 -
I searched exported objects as textfile. And I did find the keyword "TEMPORARY" in it.
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.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 323 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions