Contents:

 

 

Introduction


News blog


What is Servoy?


Getting Started


Comparison Servoy/VFP


Performance


How-To's

 

Code Reference

 

VFP2Servoy Toolkit

 

 

Contact / feedback

 

 

 

 

 

 

 

 

 

 

 

 

 

 

EMPTY() - globals.EMPTY()



Determines whether an expression evaluates to empty.

 

VFP code example

name = "Smith"
? EMPTY(name)                      // Returns .F.
? EMPTY("    ")                    // Returns .T.
number = 0
? EMPTY(number)                    // Returns .T.
date = DATE()
? EMPTY(date)                      // Returns .F.
bool = .T.
? EMPTY(bool)                      // Returns .F.
 

 

Servoy code example

var name =  "Smith";             
globals.EMPTY(name);      // returns false
globals.EMPTY("  ");      // returns true
var number =  0;
globals.EMPTY(number);    // returns true
var date = new Date();
globals.EMPTY(date);      // returns false
var bool = true;
globals.EMPTY(bool);      // returns false


Note: EMPTY() is a function of the VFP2Servoy Toolkit

 

 

External resources:

 

vfp plugin

 

ServoyWorld 2012 pics

 

Official Servoy website

 

Ken Levy on Servoy

 

Servoy info

 

Servoy Forum

 

Servoy Documentation

 

VisualFoxpro.com © 2010-2012 • All rights reserved • Contact: info@visualfoxpro.com