fixed

Syntax fixed (value)

Params value is the object whose datatype you wish to coerce to be a fixed-point value.

Action Coerces the datatype of value to be fixed-point if possible.

Returns The fixed value produced by the coercion if it is successful; otherwise an error

Examples fixed (3)

   » 3.0

fixed ("23.51")

   » 23.0

Errors If value is a number outside the range -32768-32767, or otherwise can't be coerced to a fixed-point number, an error will be generated.

Notes This is an advanced Frontier verb of primary interest to implementers and advanced scripters. It is not necessary to understand it to use Frontier effectively for most tasks.

This is most useful in dealing with Macintosh-specific IAC situations where a fixed value is required by one of the programs involved in the IAC process.

Discuss