vTopLevelList:=Create menu

If I try to compile the structure without explicitly typing the variable 
vTopLevelList, the complains that the result of the function is not compatible 
with the expression.

If I type the variable…

         C_TEXT(vTopLevelList)

The compiler then complains when I try to append to the list saying “Changing 
the type of vTopLevelList from type text to type Real. 

A menu ref is supposed to be a text variable.

What am I missing.

Is anyone else getting a bit annoyed at the changes in typing behavior in the 
latest R release? I am getting many syntax errors in interpreted mode that I 
did not get in prior versions. SET QUERY DESTINATION(Into 
Variable;$foundCount), for example will throw a runtime error in interpreted 
mode if $foundCount is not explicitly typed.

john



John Baughman
Kailua, Hawaii
(808) 262-0328
[email protected]





**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to