Jsbool Js_Valuetodouble(); Jsbool Js_Valuetoboolean() - MACROMEDIA FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY Manual

Flash javascript dictionary
Hide thumbs Also See for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY:
Table of Contents

Advertisement

JSBool JS_ValueToDouble()

Usage
JSBool JS_ValueToDouble(JSContext *cx, jsval v, double *dp);
Description
Method; extracts a function argument from a
possible), and passes the converted value back to the caller.
Arguments
JSContext *cx
The
argument is the opaque
cx
The
argument is the
v
The
argument is a pointer to an 8-byte double. This function stores the converted value
dp
in
.
*dp
Returns
A Boolean value:

JSBool JS_ValueToBoolean()

Usage
JSBool JS_ValueToBoolean(JSContext *cx, jsval v, JSBool *bp);
Description
Method; extracts a function argument from a
possible), and passes the converted value back to the caller.
Arguments
JSContext *cx
The
argument is the opaque
cx
The
argument is the
v
The
argument is a pointer to a
bp
value in
.
*bp
Returns
A Boolean value:
,
,
jsval v
double *dp
JSContext
structure from which the double is to be extracted.
jsval
indicates success;
JS_TRUE
,
,
jsval v
JSBool *bp
JSContext
structure from which the Boolean value is to be extracted.
jsval
JSBool
indicates success;
JS_TRUE
structure, converts it to a double (if
jsval
pointer that passed to the JavaScript function.
indicates failure.
JS_FALSE
structure, converts it to a Boolean value (if
jsval
pointer that passes to the JavaScript function.
Boolean value. This function stores the converted
indicates failure.
JS_FALSE
The C-level API
379

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents