🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.pc
Article #8675

error in my message on argv(0)

#8675
From: lowey
Date: Fri, 31 Oct 1986 03:30
14 lines
1077 bytes
In my previous article about how to get ARGV(0) in turbo pascal, I
erroneously stated in a few places that there were three bytes between
the end of the environment table (denoted by two nul characters) and
the start of the argv(0) (path and name of the file being executed).

There are actually only two bytes. A control-A and a null.  Sorry for
any confusion this may have caused.  The program still works, only the 
documentation is wrong.                         

Kevin Lowey
University of Saskatchewan

bitnet : lowey@sask
uucp   : ...!alberta!sask!lowey
Technical Details
Message-ID: <481@sask.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!sri-spam!sri-unix!hplabs!tektronix!uw-beaver!ubc-vision!pembina!sask!lowey

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!sri-spam!sri-unix!hplabs!tektronix!uw-beaver!ubc-vision!pembina!sask!lowey
From: lowey@sask.UUCP
Newsgroups: net.micro.pc
Subject: error in my message on argv(0)
Message-ID: <481@sask.UUCP>
Date: Thu, 30-Oct-86 22:30:17 EST
Article-I.D.: sask.481
Posted: Thu Oct 30 22:30:17 1986
Date-Received: Mon, 3-Nov-86 22:37:21 EST
Distribution: net
Organization: University of Saskatchewan, CANADA
Lines: 14