print_stack

Gamma: Version 4.0
Prev |  | Next

# `print_stack`

`print_stack` -- prints a Gamma stack.

## Syntax

    print_stack (file?, stack)

## Arguments

`file`

  The name of a file.

`stack`

  The stack you wish to print.

## Returns

t if successful, else nil.

## Description

This function causes Gamma to print a stack, such as `_error_stack_`, `_eval_stack_`, `_jump_stack_`, or `_unwind_stack_`. See Predefined Symbols for more details about these.

## Example

        Gamma> try (2 + nil); catch print_stack(_eval_stack_);
        trap_error + print_stack
        t
        Gamma>

## See Also

Predefined Symbols

Prev | Home | Next
`parent_class` | Up | `properties`

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.