Views
4 months ago

Variables Guide

2 • STRINGS IN ARENA

2 • STRINGS IN ARENA Chr function Chr(Character Code)—ASCII Character. The Chr function returns a single byte character string corresponding to the specified ASCII Character Code (0-255). The Character Code argument may be specified as an expression truncated to an integer. Examples: Character Code Returns 34 “ 96 ` 94 ^ 65 A 66 B Eval function The Eval function is used to evaluate a simulation expression contained in a string argument. Eval(String Expression)—Evaluate String Expression. Evaluates the simulation expression contained in the string argument String Expression and returns the result. Examples: EVAL Expression Returns EVAL("2+2+2") 6 The value of the simulation expression, 2+2+2. EVAL("TNOW") The value of the simulation expression, TNOW. EVAL(StrDestStation) The value of the simulation expression, Station 1. where StrDestStation is a string attribute with current value "Station 1" 73

ARENA VARIABLES USER’S GUIDE EVAL Expression Returns EVAL("StrDestStation") "Station 1" where StrDestStation is The value of the simulation expression, StrDestStation. a string attribute with current value “Station 1" EVAL("NSYM(" + The value of the simulation expression, NSYM(Station 1). StrDestStation + ")") where StrDestStation is a string attribute with current value “Station 1” EVAL("""Hello"" + ""World""") "HelloWorld" The value of the simulation expression, "Hello" + "World". Mid function The Mid function is used to return a sub-string from a string expression. Mid(String Expression, Start[, Length]) – Return sub-string from string expression. Returns a sub-string from String Expression, starting at Start, of length Length. If Length is not specified, the sub-string is taken to the end of String Expression. Examples: MID Expression Returns Comments MID ("Fred",2) "red" Starting at the second character in the string "Fred", the MID function returns three characters, that is "red." MID ("Fred", LEN ("Fred") - 1) "ed" The expression LEN ("Fred") - 1 returns 3. Thus, starting at the third character in the string "Fred", the MID function returns two characters, that is "ed." 74

Consolidation of Variable Interest Entities: A ... - Securitization.Net
Consolidation of Variable Interest Entities
A Step by Step Guide for SPSS and Exercise Studies
Variable Resources in Capacity Markets - American Clean Skies ...
RECENT TRENDS AND VARIABILITY IN PRICES OF SELECfED ...
Variable ND Filter Guide-2 - Steadicam
Dazzler User Guide - GestureTek
U.S. Variables - Senior College and University Commission
Investigation of hydrologic variability on the Colorado River using ...
FIN 46 -- Consolidation of Variable Interest Entities - Securitization.Net
User Guide for PrintShop Mail - English - Objectif Lune
FME® Transformer Reference Guide - 1Spatial
FUZE_BASIC_Reference_Guide
Mantle-Programming-Guide-and-API-Reference
Consolidation of Variable Interest Entities: A Roadmap to - IAS Plus
Pocket Guide to Transportation - Research and Innovative ...
Level 3 Routing Registry Guide (2012) - NETS
Discrete & Continuous Random Variables - Statistics
2013 Pocket Guide To Transportation - Research and Innovative ...
journal of transportation and statistics - Research and Innovative ...
Pocket Guide to Transportation - Usinfo.org
Bronze Edition Guide - True BASIC