Skip to content

syntax for "last returned value" #3133

Description

@mrjbq7

It might be useful to have syntax that means "the last returned value", which in Factor might refer to the data stack, positionally

SYNTAX: _1 ;
SYNTAX: _2 ;
SYNTAX: _3 ;
SYNTAX: _n ;

These would probably have to be consistent to the stack at the start of the computation, not looking when they are executed as the stack may change.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions