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

Page "Build FAQ/versions/25" does not exist. Please create it now, or hit the "back" button in your browser.

OS_EvaluateExpression

Programmer's Reference Manuals
» Part 15 – SWI Calls
» OS
» OS_EvaluateExpression

OS_EvaluateExpression

(SWI &2D)
Entry
R0 Pointer to string
R1 Pointer to buffer
R2 Length of buffer
Exit
R0 Preserved
R1 0 if integer returned, else preserved
R2 Integer if R1=0, else length of string

Use

The purpose of this call is to evaluate a string and return the value into a given buffer as either a string or integer.

Notes

This SWI takes a string, evaluates it, and places result in given buffer. Type of the result is given in R1 :

0 Integer returned in R2
Not 0 Pointer to string, length in R2
Revised on November 26, 2010 12:40:49 by Trevor Johnson (329)? (127.0.0.1)
Edit | Back in time (1 revision) | See changes | History | Views: Print | Source | Linked from: Error Generators, OS SWI Calls, OS_ReadArgs Syntax String, OS_ReadVarVal Variable Types, *Eval

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