Location: Symbol Reference > Functions > JwCreateToString Function
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
JwCreateToString Function
Pascal
function JwCreateToString(const Values: array of const): String;
Parameters 
Description 
const Values: array of const 
Contains a single value or tuples for the output. Each value in this parameter can be an Integer, Boolean, Int64, Ansi-&WideString and ShortString; other types are output to '??'. All entries must have a second entry (a so called tuple) 

JwCreateToString creates a comma separated string (compatible to TStringList.CommaText) with names and values. This string is used in toString() methods of JWSCL classes for property output. 

 

The following example shows the usage

   result := JwCreateToString(
    ['aString','', //simple string
     'Hash',123, //name='Hash', value=GetHashCode

The output looks like:

aString,Hash=123
Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc.
What do you think about this topic? Send feedback!