Navigation:  MCL Reference > Conversion Functions >

QStr( )

Print this Topic Previous pageReturn to chapter overviewNext page

The QStr( ) function converts a value to a character string in proper quoted formats. The value can be of any data type.

 

Value

Proper format

Example of string returned

Numeric

No quotes

18

Text or Character or String

Quoted with one of the following pair of quotes:

" "

' '

[ ]

"18"

'18'

[18]

Date

Quoted with {^ and } in format {^yyyy/mm/dd}. The Year ¡V Month - Day sequence will be followed

{^2001/03/12}

Logical

.T. for true, .F. for false

.T.

 

Syntax

QStr(Value)

 

Returns

Character (proper quotes, if any, will be included)

 

Example

HrAverage('HrRating( )',,'For HrDate( )>'+QStr(HrDate( )-365))

 

 


Page url: http://www.racematenet.com/english/help/index.html?qstr.htm