fmoore0001
Programmer
Guys, I am getting an error in a program I maintain that I cannot quite figure out. The codes is:
#ifdef _COMIX_
xindex on (cIndexKey) tag temp for (cIndexFor) to ;
&cFileName
#else
index on &cIndexKey tag temp for &cIndexFor to ;
&cFileName
#endif
The program is bombing with a SYNTAX error where the &
is used, but not the (). In fact, looking at the code I thought & and () would work the same. What am I missing?
Frank
#ifdef _COMIX_
xindex on (cIndexKey) tag temp for (cIndexFor) to ;
&cFileName
#else
index on &cIndexKey tag temp for &cIndexFor to ;
&cFileName
#endif
The program is bombing with a SYNTAX error where the &
is used, but not the (). In fact, looking at the code I thought & and () would work the same. What am I missing?
Frank