Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 1191

Developing applications
Hide thumbs Also See for 38043740 - ColdFusion Standard - Mac:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Using Web Elements and External Objects
3
The
tag prints the new value of the foo variable.
cfoutput
Using methods with return values
Use CORBA methods that return values as you would any ColdFusion function; for example:
IDL
double method(out double a);
CFML
<cfset foo=3.1415>
<cfset ret=handle.method("foo")>
<cfoutput>#ret#</cfoutput>
Using IDL types with ColdFusion variables
ColdFusion supports specific CORBA data types and converts between CORBA types and ColdFusion data.
IDL support
The following table shows which CORBA IDL types ColdFusion supports, and whether they can be used as parameters
or return variables. (NA means not applicable.)
CORBA IDL type
constants
attributes
enum
union
sequence
array
interface
typedef
struct
module
exception
any
boolean
char
wchar
string
wstring
octet
short
long
float
General support
No
Yes (for properties)
Yes (as an integer)
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Last updated 1/20/2012
As parameters
No
NA
Yes
No
Yes
Yes
Yes
NA
Yes
NA
NA
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
As return value
No
NA
Yes
No
Yes
Yes
Yes
NA
Yes
NA
NA
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
1186

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents