Contents:

 

 

Introduction


News blog


What is Servoy?


Getting Started


Comparison Servoy/VFP


Performance


How-To's

 

Code Reference

 

VFP2Servoy Toolkit

 

 

Contact / feedback

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TRANSFORM() - globals.TRANSFORM()



Returns a character string from an expression. In VFP the TRANSFORM() function also supports passing many formatcodes to format various types of data. In this (first) implementation only the conversion to a character string is supported.

 

VFP code example


? TRANSFORM(34.56)  && returns: "34.56"
? TRANSFORM(DATE()) && returns: "12-4-2011"
? TRANSFORM(.T.)    && returns: ".T."
? TRANSFORM(.NULL.) && returns: ".NULL."

 

Servoy code example


globals.TRANSFORM(34.56);       // returns: "34.56"
globals.TRANSFORM(new Date());  // returns: "12-4-2011"
globals.TRANSFORM(true);        // returns: "true"
globals.TRANSFORM(null);        // returns: "null"



Note: TRANSFORM() 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