contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
operator   system-call    
Sample Code   Related Syntax   Related Concepts  

Summary   Numeric

The numeric value of the command from the system.

 

Syntax

  system-call string-expression


Purpose

Allows an operating-system-specific command to be executed in an OmniMark program.This operator must be followed by a string expression that contains a system-specific command. system-call invokes that command and returns the numeric result code returned by that command when it completes its task.

Because the system-call operator returns a numeric value, it must be used in a context where a numeric expression is required. The string expression contains the name of the program to run, as well as any command-line arguments that are being passed to it.

The function being provided by system-call and the value it returns depends on the system on which OmniMark is running. The built-in stream #platform-info can supply some of this information.

Sample Code  
   System-calls
 
Related Syntax
   #platform-info
 
Related Concepts
   OmniMark: running other programs from
   Security considerations
 
----  

Top [CONTENTS] [CONCEPTS] [SYNTAX] [LIBRARIES] [SAMPLES] [ERRORS] [INDEX]

Generated: April 21, 1999 at 2:01:20 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © OmniMark Technologies Corporation, 1988-1999.