Title Page

Ana Scripting Guide.PNG



Analytica Scripting Guide
Release 3.0
October, 2003


Lumina
Decision Sytems


Copyright notice

Information in this document is subject to change without notice and does not represent a commitment on the part of Lumina Decision Systems, Inc. The software program described in this document is provided under a license agreement. The software may be used or copied only in accordance with the terms of the agreement. It is against the law to copy the software on any medium except as specifically allowed in the license agreement. No part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or information storage and retrieval systems, for any purpose other than the licensee's personal use, without the express written consent of Lumina Decision Systems.

This document is © 1998-2003 Lumina Decision Systems, Inc. All rights reserved. The software program described in this document, Analytica, is copyrighted © 1998-2003 Lumina Decision Systems, Inc., all rights reserved Analytica is based on Demos, which is licensed from Carnegie Mellon University exclusively to Lumina Decision Systems, Inc., and includes software proprietary to Lumina Decision Systems, Inc. Carnegie Mellon University and Lumina Decision Systems, Inc., make no warranties whatsoever, either express or implied, regarding this product, including warranties with respect to its merchantability or its fitness for any particular purpose.

Lumina Decision Systems, Inc.
26010 Highland Way, Los Gatos, CA 95033
Tel: (650) 212-1212, Fax: (650) 240-2230,
Internet:: support@lumina.com


Acknowledgments

Analytica Scripting Guide was written by Richard Sonnenblick and Hugh Silin


Contents

1. Introduction

The Typescript Window
To Open the Typescript window from within Analytica
To Use Typescript from a program making use of ADE
Conventions used in this guide

2. Objects and Their Attributes

Creating New Objects
Attributes That are Longer Than One Line
Object classes
Class Hierarchy
Identifiers of Objects
Abbreviations of Identifiers
User-Specified Attributes
Computed Attributes
User Interface Attributes
Inspecting Objects
Current Objects
Modifying Attributes
Deleting Objects
List Command
Objects and Attributes: Summary

3. Files and Editing

Module Files
Format of ‘Regular’ Module Files 25
Editing 27
Adding Modules 30
Updating an Existing Model 31
Data Files 33
Models and Editing: Summary 34

4. Arrays 35

The Table Function 35
The Array Function 37
Size of a Dimension 38
Selecting Parts of an Array 39
The Slice Function 40
The Subscript Function 41
Re-formatting Arrays 42
The Reform Function 43
Controlling Tabletype and Delimiter 44
Arrays: Summary 47

5. System Variables 49 Appendix A: Language Summary 53

Attributes 53
User-specified Attributes 54
Computed Attributes 56
User Interface Attributes 57
Commands 61
Inspection Commands 61
File Commands 63
User Interface Commands 64
Miscellaneous Commands 65
Object Manipulation Commands 66
Keywords 67
Parts of Expressions 67
Classes 68
Variable classes 69
Module classes 70
Button classes 70
Sysfunctions 71
Sysvars 72
Other System variables 72
Syntax 75
Esoteric/Obsolete/Not Implemented objects 76
Comments


You are not allowed to post comments.