Navigation:  Reference > Functions >

ConvertToLogical()

Print this Topic Previous pageReturn to chapter overviewNext page

 

CTOL(1)

 

PURPOSE

This function converts an A (character string) or B (byte) type field to a L (logical) type field.

 

PARTS

 

1 f/c/eRequired - The A or B type field that is to be converted.

 

RETURN TYPE - L

 

EXAMPLE

define x type l

x = ctol('Y')

// x = .T.

 

SEE ALSO

DATE()   Convert to time CTOT()   TIME GET SET  Convert time to record  TTOR() Covert time to number TTOF() Convert time to string  TTOC()

TIME() YEAR() Date Command Date to Record DTOR() Convert date to Character  DTOC() Days in month DAY_IN_MONTH

Increment the Month INC_MONTH DayMonthyear DMY() Month Day Year MDY()

Convert to Date CTOD() Charicter of month CMNTH()  Charicter to day of week CDOW()

 

 


Page url: http://www.cassoftware.com/tas/manual/converttological().htm