RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

*Spool (changes)

Showing changes from revision #3 to #4: Added | Removed | Changed

Programmer's Reference Manuals
» Part 17 - *Commands
» *Spool*Commands - Sorted By Name?
» *Spool

*Spool

Use

This *Command is to sends the VDU commands appearing on the screen to the specified file.

Syntax

*Spool [filename]

Parameters

filename Valid pathname specifying a file

Notes

The spooling of data to a file is managed internally by OS_BPut. If OS_BPut generates an error, the spool file will be closed, and the error is then returned from OS_WriteC.

If no filename is given, the current spool file is closed.

The outputting of data continues until either a *Spool or *SpoolOn command (with or without a filename) is issued.

It is possible to temporarily disable the spool file without closing it by issuing OS_Byte 3.

See also

  • OS_Byte 3
  • OS_Byte 199
  • OS_BPut
  • OS_WriteC
  • *SpoolOn
Revised on November 24, 2016 10:54:06 by Alan Robertson (52) (58.110.70.190)
Edit | Back in time (3 revisions) | Hide changes | History | Views: Print | Source | Linked from: OS_Byte 199, *Commands, SystemDevices Technical Details, *SpoolOn, VDU Save Area

Search the Wiki

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2018 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys