View previous topic :: View next topic |
Author |
Message |
Dibakar Advanced
Joined: 02 Dec 2002 Posts: 700 Topics: 63 Location: USA
|
Posted: Fri Nov 03, 2006 1:12 am Post subject: argc and parms in SASC |
|
|
Hi,
Following is my code to display number of arguments |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Sun Nov 05, 2006 6:26 pm Post subject: |
|
|
Dibakar,
Try this
Code: |
int
main(argc, argv)
int argc; /* Count of arguments received */
char *argv[]; /* Array of arguments received */
|
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
Dibakar Advanced
Joined: 02 Dec 2002 Posts: 700 Topics: 63 Location: USA
|
Posted: Sun Nov 05, 2006 11:53 pm Post subject: |
|
|
Don't know how could I do this, I missed a comma before 'PARM'.
Kolusu, I didn't have to try you suggestion but still thanks for your time.
Regards,
Diba. |
|
Back to top |
|
|
|
|