Go to the previous, next section.

Using Constant Values and Literals

In the builder, constant values and literals can be used by creating a block using that value. Whenever a block defining a constant or a literal is used, the builder will introduce a SUIF load constant (in_ldc) instruction to load the corresponding value. See section Values and Literals for a detailed description on using constant values and literals in the builder.

        block int100(100);                    Integer value 100. 
        block strtst("This is a test");       strtst is the string. 
        block root3(sqrt(3.0));               the square root of 3. 
        int i = ...;
        block i_val(i);                       value of i at this time.

Go to the previous, next section.