# Quick Start

Inheriting from `ST_FORMATTING_ROUTINES` adds the feature `format` to the current class. `format` takes two arguments: a string containing formatting specifications and an array of parameters. This array must be an array of references. For example `ARRAY` [`BOOLEAN`] does not work with SmartEiffel. Because `BOOLEAN` does not conform to `ANY` is SmartEiffel 2.1, we need to use `ARRAY` [`DS_CELL` [`BOOLEAN`]] in that case.

`format` returns a `STRING` where all formatting specifications have been replaced by their corresponding formatted parameters.

    class TEST

    inherit

        ST_FORMATTING_ROUTINES

    creation

        make

    feature -- Initialization

        make is
            do
                print (format ("$s $i", <<"hello", integer_cell (2)>>))
            end

    end