[comp.databases] ESQL preprocessor in Informix.

lincoln@aut.UUCP (Philip Lincoln) (05/18/89)

Does anyone know why the ESQL preprocessor in Informix converts all
types and variable names in a host variable declaration to lower
case?
e.g. after preprocessing   $char  GREEN;
     comes out as           char  green;

This can (has) caused a few problems, C being case sensitive and all
that. Is there a way to get around it?

Thanks.
 	

bgolden@infmx.UUCP (Bernard Golden) (05/19/89)

In article <583@aut.UUCP> lincoln@aut.UUCP (Philip Lincoln) writes:
>Does anyone know why the ESQL preprocessor in Informix converts all
>types and variable names in a host variable declaration to lower
>case?
>e.g. after preprocessing   $char  GREEN;
>     comes out as           char  green;
>
>This can (has) caused a few problems, C being case sensitive and all
>that. Is there a way to get around it?
>
>Thanks.
> 	

Unfortunately, there is no way around it.  However, the next release of the
software will no longer do this downshifting.  It will be important for
users to make sure that their programs use the same case arrangement 
throughout their programs (i.e., don't declare it as GREEN but reference
it as Green -- that will work today, but won't work in the future).

Hope this helps.

-b