🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #34070

argc and argv with gem

#34070
From: COCHRANE JIM T
Date: Wed, 14 Sep 1988 21:12
9 lines
836 bytes


How does one go about writing a GEM program that will accept arguments to
main via argc and argv?  I'm using Mark Williams C and when I try to use
argc and argv with a GEM program the program bombs.

Thanks for any help,
Jim Cochrane
Technical Details
Message-ID: <3441@boulder.Colorado.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ames!ncar!boulder!spot!cochrane
References: <358@island.uu.net> <626@mace.cc.purdue.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ames!ncar!boulder!spot!cochrane
From: cochrane@spot.Colorado.EDU (COCHRANE JIM T)
Newsgroups: comp.sys.atari.st
Subject: argc and argv with gem
Summary: using command line args in a GEM program
Keywords: MWC, argc, argv, GEM, commands.
Message-ID: <3441@boulder.Colorado.EDU>
Date: 14 Sep 88 21:12:39 GMT
References: <358@island.uu.net> <626@mace.cc.purdue.edu>
Sender: news@boulder.Colorado.EDU
Reply-To: cochrane@spot.Colorado.EDU (COCHRANE JIM T)
Organization: University of Colorado, Boulder
Lines: 8