🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc
Article #41179

Clipper - DOS variable help needed.

#41179
From: Sunil S. Desai
Date: Wed, 10 Jan 1990 19:08
20 lines
1167 bytes
Hi!
This is for Clipper programmers.  How do you access DOS variable from
Clipper application?

I am writing a network application that need to know the user name for
certain operations.  What I am trying to do is use DOS SET command to 
SET USER=SUNIL from NetWare login script and then read USER variable from
Clipper to do some operations.

I have Funcky and NetLib clipper libraries.  Funcky does not have any
functions to access DOS variables.  NetLib has a Whoami function that
can return the user's login name but I am trying to avoid extra overhead
of linking NetLib library for just one function. 

Any suggestions or pointers to such utility are most welcome.

Thanks in advance.

sunil
~~~~~
Technical Details
Message-ID: <Jan.10.14.08.52.1990.10441@elbereth.rutgers.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!hellgate.utah.edu!cs.utexas.edu!uwm.edu!psuvax1!rutgers!elbereth.rutgers.edu!ssdesai

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!hellgate.utah.edu!cs.utexas.edu!uwm.edu!psuvax1!rutgers!elbereth.rutgers.edu!ssdesai
From: ssdesai@elbereth.rutgers.edu (Sunil S. Desai)
Newsgroups: comp.sys.ibm.pc
Subject: Clipper - DOS variable help needed.
Keywords: Clipper, DOS
Message-ID: <Jan.10.14.08.52.1990.10441@elbereth.rutgers.edu>
Date: 10 Jan 90 19:08:57 GMT
Organization: Rutgers Univ., New Brunswick, N.J.
Lines: 20