xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

LtoN()

Converts a logical value to a numeric value.

Syntax

LtoN( [<lLogic>] ) --> nLogic

Arguments

<lValue>
This is a logical value. It defaults to .F. (false).

Return

The function returns One for .T. (true) and Zero for .F. (false).

Info

See also:CtoN()
Category: CT:NumBits , Numbers and Bits
Source:ct\lton.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe