Code: Select all | Expand
#include "FiveWin.ch"
function Main()
Local aParams := hb_aParams() //recuperamos parametros
xbrowse(aParams)
return nil
Code: Select all | Expand
#include "FiveWin.ch"
function Main()
Local aParams := hb_aParams() //recuperamos parametros
xbrowse(aParams)
return nil
Code: Select all | Expand
#include "FiveWin.ch"
function Main(cParam)
Local aParams := hb_aParams() //recuperamos parametros
xbrowse(aParams)
return nil
Code: Select all | Expand
Function Main(a, b, c)
msginfo(a)
msginfo(b)
msginfo(c)
Code: Select all | Expand
#include "FiveWin.ch"
function Main( ... ) // OJO AQUI
Local aParams := hb_aParams() //recuperamos parametros
xbrowse(aParams)
return nil
Code: Select all | Expand
// C:\FWH\SAMPLES\PARAMS.PRG
#include "FiveWin.ch"
FUNCTION Main()
TestApars( 'PARAM1', 'PARAM2', 'PARAM3', 'PARAM4', 'PARAM5' )
RETURN NIL
PROCEDURE TestApars( PA1, PA2, PA3, PA4, PA5 )
LOCAL nParam
LOCAL aParams := hb_AParams()
// ? PA1, PA2, PA3, PA4, PA5
/*
FOR nParam := 1 TO Len( aParams )
? nParam, aParams[ nParam ]
NEXT
*/
XBROWSE( aParams )
RETURN
// FIN / END