pawn@wpi.wpi.edu (Kevin Goroway) (10/14/89)
Is Lattice 5.0 supposed to be able to handle this? int main(void); void testfunction(float); main() { testfunction(640.0); } testfunction(float num) <---- this in particular { printf("it was %f\n",num); } because it doesn't. But testfunction(num) float num; { works just fine. If it isn't supposed to handle it, then why doesn't it complain? -- +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= | Worcester Polytechnic Institute | "It happens sometimes, people just | | Pawn@wpi.wpi.edu Pawn@wpi.bitnet | explode, natural causes."-Repo Man | +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=