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

*SetMacro

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

*SetMacro

Use

This *Command assigns an expression to a system variable. The expression is evaluated each time the variable is used.

Syntax

*SetMacro var_name macro

Parameters

var_name Variable name, or a wildcarded specification for a single variable name
macro String value to assign to specified system variable

Notes

Unlike the *Set command, the macro value is not converted using OS_GSTrans before it is assigned. Instead, it is GSTrans’d each time the variable is read.

For a comprehensive list of expressions that can be used with this command see the Expression page.

See also

  • Expression
  • OS_SetVarVal
  • *Set
  • *SetEval
  • *Unset
Revised on January 22, 2010 23:13:13 by Andrew Hodgkinson (6) (127.0.0.1)
Edit | Back in time (2 revisions) | See changes | History | Views: Print | Source | Linked from: *Commands - Sorted By Name, *Set, *SetEval, *Show, *Unset, *Key

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2011 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