Pascal --> C question

Mike Light mlight at hpiacla.HP.COM
Wed Mar 9 05:03:05 AEST 1988


> Is there a C equivalent for the Pascal declaration:
>	SinWave: packed array[0..255] of char;
>
> Is the C equivalent simply:
>	char SinWave[256];

You guessed it!
Almost any pascal-ism has an equivalent in C (but not necessarily
the other way around).  Many translators abound, and if you are
looking specifically for one which handles HP Standard Pascal,
the folks at CLL (Compiler Language Lab) can help you out.

-- Mike Light    hpda!hpiacla!mlight



More information about the Comp.lang.c mailing list