Title Page

Revision as of 23:03, 3 July 2007 by Fredbrunt (talk | contribs)

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 3
To Use Typescript from a program making use of ADE 4
Conventions used in this guide 5

2. Objects and Their Attributes

Creating New Objects 6 Attributes That are Longer Than One Line 8 Object classes 9 Class Hierarchy 10 Identifiers of Objects 11 Abbreviations of Identifiers 11 User-Specified Attributes 12 Computed Attributes 14 User Interface Attributes 15 Inspecting Objects 19 Current Objects 21 Modifying Attributes 21 Deleting Objects 22 List Command 22 Objects and Attributes: Summary 23 3. Files and Editing 25 Module Files 25 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 Index 79

Comments


You are not allowed to post comments.