passing a variable in filePro to the OS (SCO v 6) for use

Rkreiss@verizon.net] rkreiss at verizon.net
Mon Oct 11 14:27:14 PDT 2010


John,

A senior moment.

Richard

-----Original Message-----
From: John Esak <john at valar.com>
Sent: Monday, October 11, 2010 1:54 PM
To: filepro-list at lists.celestial.com
Subject: RE: passing a variable in filePro to the OS (SCO v 6) for use

Thank you Scott... 

Of course... How stupid of me...


The command is obviously putenv()


(no parents, they are just for designating it as a function I guress...

Sorry,
 John
 

> -----Original Message-----
> From: Scott Walker [mailto:ScottWalker at RAMSystemsCorp.com] 
> Sent: Monday, October 11, 2010 12:27 PM
> To: john at valar.com; sparker at abccompuserve.com
> Cc: filepro-list at lists.celestial.com
> Subject: RE: passing a variable in filePro to the OS (SCO v 6) for use
> 
> John,
> 
> Do mean putenv NOT putvar?
> 
> Regards,
> 
> Scott
> 
> 
> -----Original Message-----
> From:
> filepro-list-bounces+scottwalker=ramsystemscorp.com at lists.cele
stial.com
> [mailto:filepro-list-bounces+scottwalker=ramsystemscorp.com at li
sts.celestial.
> com] On Behalf Of John Esak
> Sent: Monday, October 11, 2010 11:58 AM
> To: sparker at abccompuserve.com
> Cc: filepro-list at lists.celestial.com
> Subject: RE: passing a variable in filePro to the OS (SCO v 6) for use
> 
> The thing you want is 
> 
>     putvar exp,exp
> 
> Where the expression on the left is the varname, case is 
> sensitive. The
> falue on the right is the value to assign to this varname.
> 
>  
> 	putvar "pages","44"
> 
> There is no SYSTEM call needed to exedcute the above command 
> .  From the
> point in the prc table where it gets executed,  any 
> successive SYSTEM call
> will use the variable at that value.  In fact anywhere else 
> in the table
> will use it at that value also.
> 
> 
> Putvar is one of the extremely valuable filePro functions.
> 
> 
> John Esak
> 


[The entire original message is not included]


More information about the Filepro-list mailing list