Syntax 2: For variables
Description
Provides the datatype of a variable.
Syntax
|
1 |
ClassName ( variable ) |
|
Argument |
Description |
|---|---|
|
variable |
The name of the variable for which you want to know its |
Return value
String. Returns the name of variable. Returns the empty string
(“”) if variable is an enumerated datatype or if an error occurs. If
variable is null, ClassName returns null.
Usage
ClassName cannot determine the datatype if variable is an
enumerated datatype. In this case, ClassName returns the empty
string.
Examples
If gd_double is a global double variable, ClassName sets varname
to double:
|
1 2 |
string varname varname = ClassName(gd_double) |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest