
Release 8 Scripting Guide “The real voyage of discovery consists not in seeking new landscapes, but in having new eyes.” Marcel Proust JMP, A Business Unit of SAS SAS Campus Drive Cary, NC 27513 The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2008. JMP® 8 Scripting Guide. Cary, NC: SAS Institute Inc. JMP® 8 Scripting Guide Copyright © 2008, SAS Institute Inc., Cary, NC, USA ISBN 978-1-59994-922-2 All rights reserved. Produced in the United States of America. For a hard-copy book: No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, or otherwise, without the prior written permission of the publisher, SAS Institute Inc. For a Web download or e-book: Your use of this publication shall be governed by the terms established by the vendor at the time you acquire this publication. U.S. Government Restricted Rights Notice: Use, duplication, or disclosure of this software and related documentation by the U.S. government is subject to the Agreement with SAS Institute and the restrictions set forth in FAR 52.227-19, Commercial Computer Software-Restricted Rights (June 1987). SAS Institute Inc., SAS Campus Drive, Cary, North Carolina 27513. 1st printing, October 2008 SAS® Publishing provides a complete selection of books and electronic products to help customers use SAS software to its fullest potential. For more information about our e-books, e-learning products, CDs, and hard- copy books, visit the SAS Publishing Web site at support.sas.com/publishing or call 1-800-727-3228. SAS® and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration. Other brand and product names are registered trademarks or trademarks of their respective companies. Table of Contents JMP Scripting Guide 1 Introducing JSL Tutorials and Demonstrations . 1 Hello, World . 3 Modify the script . 5 Save your script . 6 Save your log . 7 Saving and sharing your work . 7 Capturing scripts for data tables . 7 Capturing scripts for analyses . 8 A general method for creating scripts . 9 Use JMP interactively to learn scripting . 10 Samples of JSL Scripts . 11 Data table programming . 11 Customized analyses . 13 Custom displays . 18 Matrix algebra with JSL . 19 Scripting graphs . 23 Scripting instructional simulations . 25 2 JSL Building Blocks Learn the Basic Components of JSL . 29 First JSL Script . 31 The JSL Language . 31 Lexical rules of the language . 32 Data elements . 37 Operators . 38 Context: meaning is local . 40 Programming vs. scripting . 40 Data table context . 41 Scoping operators . 42 Graph context . 42 Name resolution . 42 Name-binding rules . 43 ii Frequently-asked questions . 45 Function resolution rules . 46 Using the Script Editor and Debugger . 46 The Script Editor . 47 The JSL Debugger . 52 Help with JSL . .54 JSL Browsers . 54 Show Commands . 55 Show Properties . 56 3 JSL Operators The basic functions in JSL . 59 Numeric Functions . 61 Arithmetic operators . 61 Assignment operators . 61 Constants . 62 Additional numeric functions . 62 Transcendental functions . 63 Trigonometric Functions . 65 Random Functions . 66 Character Functions . 67 Comparison and Logical Operators . 74 Comparison operators . 74 Logical operators . 76 Special cases . 76 Missing values . 77 Missing character values . ..
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages688 Page
-
File Size-