home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 16
/
CD_ASCQ_16_0994.iso
/
news
/
4611
/
fw16d.ins
/
SOURCE
/
FUNCTION
/
WQOUT.PRG
< prev
next >
Wrap
Text File
|
1994-01-16
|
809b
|
40 lines
#define CRLF chr(13) + chr(10)
//---------------------------------------------------------------------------//
function WQout( aParams )
local cOut := ""
if valtype( aParams ) == "A"
AEval( aParams, { | c | cOut := cOut + CRLF + cValToChar( c ) } )
nMsgBox( cOut )
endif
return nil
//----------------------------------------------------------------------------//
function uCharToVal( cValue, uType )
local cType := ValType( uType )
local uResult
do case
case cType == "C"
uResult = cValue
case cType == "N"
uResult = Val( cValue )
case cType == "D"
uResult = CToD( cValue )
case cType == "L"
uResult = ( cValue == ".T." )
endcase
return uResult