Language and System Changes in Maple 9 - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : System : Information : Updates : Maple 9 : updates/Maple9/language

Language and System Changes in Maple 9

  

Maple 9 includes the following language and system changes.

 

Type System

verify

Type System

• 

A new type character recognizes single-character strings.

type( "a", 'character' );

true

(1)

type( "abc", 'character' );

false

(2)
• 

The new types std and stdlib allow you to identify procedures, packages, and other modules that are part of the standard library shipped with your Maple installation. The type stdlib applies to objects saved in the library, while type std also includes the built-in (kernel) procedures.

type( 'sin', 'stdlib' );

true

(3)

type( 'sin', 'std' );

true

(4)

type( 'op', 'stdlib' );

false

(5)

type( 'op', 'std' );

true

(6)

p := proc( x, y ) 2 * x - y end proc:

type( 'p', 'stdlib' );

false

(7)

type( 'p', 'std' );

false

(8)

verify

• 

The new verification verify/range compares ranges.

verify({1..2,3.00000002..4.00000001}, {3..4,1..2}, set(range(float(100))));

true

(9)

See Also

Index of New Maple 9 Features

type/character

type/std

type/stdlib

verify/range