The #Dim preprocessor directive allows to write, for instance:

    #dim x as %Integer = 2

However, this has a hidden consequence of generating an additional statement in the code, even though this is a preprocessor directive. The above is in fact equivalent to:

    #dim x as %Integer
    set x = 2