Skip to content

_system

bergsma edited this page Sep 26, 2014 · 3 revisions

#system

###Execute a system shell command.

Syntax

status = system command ;

Arguments

  1. str command

The command to execute.

Return Value

list status
  • $ACKNOWLEDGE : The command was executed.

The STATUS variable is set to $ACKNOWLEDGE

list status
  • $ACKNOWLEDGE : The command was executed.

The STATUS variable is set to $ACKNOWLEDGE

Exceptions

  • %ARGUMENT: Invalid arguments. Usage: status = system command ;

  • %IO: Command string to long.

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

Description

  • None

Examples

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

Related Links

None

Clone this wiki locally