RISC OS Open
Safeguarding the past, present and future of RISC OS for everyone
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

*Run

Programmer's Reference Manuals
» *Commands
» *Run

*Run

Use

This *Command loads and executes a file, optionally passing a list of parameters to it.

Syntax

*Run filename [parameters]

Parameters

filename Valid pathname specifying a file
parameters Command Line tail

Notes

The given pathname is searched for in the directories listed in the System Variable Run$Path. If a matching object is a directory then it is ignore, unless it contains a !Run file. The valid first match is used.

  • If the file has no filetype, then the file’s load and execution addresses are used.
  • If the filetype is &FF8 (Absolute) it is loaded at address &8000.
  • For any specified filetype, the corresponding Alias$@RunType_nnn variable is looked up to determine how the file should be loaded
    • If there is no corresponding Alias$@RunType_nnn variable, then a error is generated.

See also

  • *Load
  • *SetType
Revised on November 24, 2016 10:12:52 by Alan Robertson (52) (58.110.70.190)
Edit | Back in time (3 revisions) | See changes | History | Views: Print | Source | Linked from: File Types, OS_UpCall 256, Service_NewApplication, *Opt 4, FileSwitch Use Of File Types, *Commands, *Obey, FileSwitch *Commands, File Types (français)

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