Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Artful Two for Clipper 5.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

Syntax

BLANK( pMemvar )

Purpose

Manufactures a blank variable from an expression of any type.

Arguments

     pMemvar -- expression of any type

Setup

None.

Example

     LOCAL f
     USE CUSTOMER
     f = FIELD( 1 )               && returns "ACCOUNT_NO"
     ? "|" + BLANK( f ) + "|"     && returns SPACE(5)

Returns

A value corresponding to an empty pMemvar. If numeric, 0; if date,
CTOD( "  /  /  " ); if logical, .F.; if character, SPACE( LEN( pMemvar
) ); and if memo, SPACE( 10 ).

Side Effects

None.

Artful Calls

None.

Source File

AA_BLANK.PRG

Notes

None.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson