Defining structure elements using DATA statements

Defining structure elements using DATA statements

I defined a somewhat complicated structure and I use DATA statements to define each element of the structure. I am having a strange problem, as follows:

If I use a statement of the form
DATA EXPERT(1)%FREQ(2)%SIG%b1 / 0.278 /
it compiles properly and the debugger indicates that the values are being defined properly.

On the other hand, if I use "." instead of "%" in the data statement (which should be equvalent), I get the following errors:
Error: Syntax error, found '.' when expecting one of: ( :: , ; ) % . / = =>
DATA EXPERT(1).FREQ(2).SIG.b1 / 0.278 /
----------------------------^
Error: Syntax error, found END-OF-STATEMENT when expecting one of: ( ...
DATA EXPERT(1).FREQ(2).SIG.b1 / 0.278 /

Is this a bug in the compiler, or am I doing anyhing wrong? Executable statements using the dot notation, and data statements for elements of the form EXPERT(1).FREQ(2).CASE(1).c1, seem to work OK. BTW, I am using CVF 6.6A

Thanks,

Gabriel

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Probably a bug - we've had similar issues in the past. Please report it to vf-support@compaq.com

Steve

Steve - Intel Developer Support

Leave a Comment

Please sign in to add a comment. Not a member? Join today