Skip to content
bergsma edited this page Sep 26, 2014 · 3 revisions

#pexec

###Execute a stream of PROMIS tokens.

Syntax

result = pexec tokenStream ;

Arguments

  1. str tokenStream

A stream of tokens, separated by spaces or comma's.

Return Value

list result
  • lastLine : The last line that PROMIS outputed after executing the token stream.

The STATUS variable is set to $ACKNOWLEDGE

list result
  • lastLine : The last line that PROMIS outputed after executing the token stream.

The STATUS variable is set to $ACKNOWLEDGE

Exceptions

  • %ARGUMENT: Invalid arguments. Usage: result = pexec tokenStream ;

  • %BOUNDS: Subscript is out of bounds in pexec()

Description

  • None

Examples

puts "Create an example for the function 'pexec'" ;

Related Links

None

Clone this wiki locally