The CONSTANT signature

Used to define abstract constants whose value will be determined after certain phases of code generation have been performed.


Synopsis

signature CONSTANT

Interface

type const
val toString : const -> string
val valueOf : const -> int

Description

type const
An abstract type representing a delayed constant.

toString co
Converts the constant co to a string. This is useful when generating assembly code and for debugging.

valueOf co
Returns the value of the constant co.



  Submit a comment on this page  

[ INDEX | TOP | Parent | Root ]

Author: Lal George
Last Modified: October 10, 1996
Copyright © 1996 Bell Laboratories