| Language \ Environment \ Comparison |

| Index

| The Processing 1.0 _ALPHA_ Reference is a work in progress. If you see any errors or have any comments, please write to: reas at groupc.net

Name |  | ### param()
Examples |  |
    // Read the value "51" from the following text embedded in an HTML page:
    // <applet code="param_" archive="param_.jar" width=100 height=100>
    // <param name="back" VALUE="51">
    // </applet>

    String bs= param("back");
    int bi = Integer.parseInt(bs);
    background(bi);
Description |  | Reads the value of a param. Values are always read as a String so if you want them to be an integer or other datatype they must be converted. The param() function will only work in a web browser.
Syntax |  |
    param(s)
Parameters |  |
s |  | String: name of the param to read
Returns |  | String
Usage |  | Web

| © 2004 - 2001 Massachusetts Institute of Technology and Interaction Design Institute Ivrea |
| Processing is an open project initiated by Ben Fry and Casey Reas |