View previous topic :: View next topic |
Author |
Message |
Dibakar Advanced
![](images/avatars/gallery/cartoons/WB70.gif)
Joined: 02 Dec 2002 Posts: 699 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 |
|
![](templates/subSilver/images/spacer.gif) |
kolusu Site Admin
![Site Admin Site Admin](images/ranks/adminpic.jpg)
Joined: 26 Nov 2002 Posts: 12369 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 |
|
![](templates/subSilver/images/spacer.gif) |
Dibakar Advanced
![](images/avatars/gallery/cartoons/WB70.gif)
Joined: 02 Dec 2002 Posts: 699 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 |
|
![](templates/subSilver/images/spacer.gif) |
|
|