update internals 5

Documentation Version for Comments and Changes

You are invited to make any changes...add any comments.

Changes will `eventually` be merged into the offical documentation.

Leave any commnents here...

...

... back to index page OE documentation



<internal> object MAKE_INT( signed int x ) </eucode>

Returns

an object with the same value as x. x must be with in the integer range of a legal Euphoria integer type.

MAKE_UINT

<internal> object MAKE_UINT( unsigned int x ) 
Returns

an object with the same value as x.

Assumption

x must be an unsigned integer with in the integer range of a C unsigned int type.

Example

MAKE_UINT(4*1000*1000*1000) will make a Euphoria value of four billion by creating a double.

MAKE_SEQ

<internal> object MAKE_SEQ( struct s1 * sptr ) 
Returns

an object with an argument of a pointer to a 'struct s1' The pointer is encoded into a range for sequences and returned.

NewString

<internal> object NewString(char *s) 
Returns

an object representation of a Euphoria byte string s. The returned encoded pointer is a sequence with all of the bytes from s copied over.

MAKE_DBL

<internal> object MAKE_DBL( struct d * dptr ) 
Returns

an object with an argument of a pointer to a 'struct d' The pointer is encoded into a range for doubles and returned.

NewDouble

<internal> object NewDouble( double dbl ) 
Returns

an object with an argument a double dbl. A struct d is allocated and dbl is assigned to the value part of that structure. The pointer is encoded into the range for doubles and returned.

DBL_PTR

<internal> struct d * DBL_PTR( object o )
Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu