Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Clipper Version #

Status
Not open for further replies.

unit512

MIS
Mar 12, 1999
233
US
There is a way to load a clipper compiled executable with a parameter that will tell the user what version of clipper was used.<br><br>Does anyone know what this parameter is?<br><br>ie.<br><br>xxx.exe /???
 
This works in Clipper 5.3b. I have no idea of other versions, since I do not own them.<br><br>xxx.exe //info<br><br>As stated in manuals and NG database Clipper 5.3 &gt;&gt; Utilities under environment -&gt; SET CLIPPER<br> <p>Wouter Dijkslag<br><a href=mailto: > </a><br><a href= My site</a><br>
 
Please Tranalate:

Si lo que quiewres es pasar un parametro a algun sistema en de clipper, lo que tiens que hacer es compilarlo con la opcion /n:

/*
Prog1.prg

*/

//defines
//publics
//etc

Function Main(cpar1, cpar2)
//local vars
//etc
? cpar1 //display de first parameter
? cpar2 // ande second parameter
Return

//functions user defines

//end of program

Una vez creado el ejecutable puedes uarlos asi:

c:\Sistemas\Util\Prog1 valor1 valor2


ramonzea@yahoo.com [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top