|  | 
 | ||||
|        | |||||
|  | |||||
| Related Syntax | Related Concepts | ||||
| built-in variable | #current-output | ||||
Purpose
 Represents OmniMark's current output, a collection of output destinations.
        
  process
     put #current-output "Hello, World!%n"
          
is thus equivalent to:
          process
     output "Hello, World!%n"
          
      
 This isn't very useful in itself, but it allows you to add an item to the current set of destinations:
        
  global stream s
  
  process
     local stream t
  
     open s as buffer
     open t as file "t.txt"
  
     output-to s
     put #current-output & t "Hello, World!%n"
     using output as #current-output & t
        output "Salut, Monde!%n"
          
    
| Related Syntax | Related Concepts | 
Copyright © Stilo International plc, 1988-2010.