Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - 4803 invalid parameter declaration in main() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 4803                Invalid parameter declaration in main()
------------------------------------------------------------------------------
 Description
   This error occurs when the main() function is declared with incorrect
   parameters. The main() function must be declared as either a procedure
   or a function returning an int. The parameters to main() should either
   be left undeclared, or declared as a const char, with an optional width
   specifier of 128. Examples:

   func int main                     // the most correct declaration
   param const char( 128 ) cCmdLine

   proc main                         // acceptable
   param const char cCmdLine

   proc main                         // acceptable


   proc main                         // error
   param value char cCmdLine


 Solution
   Redeclare the main() function to conform the above rules.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson