Help In creating a Struct in a .ec file
Posted in 1992
Hi, I am looking for some help in creating a Global structure in a share.h file. If I create the struct in a module ie $struct test{ int num; char str[5]; }; $struct test *try; This works fine. But If I move this struct into an .h file I can't get it to compile. If I try the above syntax when I compile I get "share.h", line 13: this declaration has no storage class or type specifier $struct test{ And If I leave off the "$" then it compiles but when I try to define one in the module: $struct test *try; it fails on finding test. Any Help?? Thanks -- ------------------------------------------------------------------------ |--------------| # -------------------------------| | Randy Paries | ____/| _______| b8!turq!randy | | x6191 cr041| \\ oO| / | uunet!ingr!b8!turq!randy | |--------------| ## | ~|_/ ## | randy@turq.b8.ingr.com | #### `-U' #### |Intergraph, Huntsville Alabama| \\\\ || // ================================ TEAM "CATS" \\/ \\/ ples exuse al speln mstaks "Smells like team spirit" | | ------------------------------------------------------------------------