O'Reilly logo

JSL Companion by Kevin C. Anderson, Georgia Z. Morgan, Theresa L. Utlaut

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

9

Writing Flexible Code

Introduction

Code for the Task

Capture Errors

Use Namespaces

Deploy JMP Scripts

JSL Functions

Parse Strings and Expressions

Pattern Matching and Regular Expressions

Use Expressions and Text as Macros

Functions: Pass By Reference Versus Value

Call SAS and R from JSL

Call Other Programs from JSL

Introduction

The word “flexible” is often used in the context of an object being able to bend without breaking, or something or someone being able to adapt to new circumstances (being able to change or be changed).

This chapter covers JSL objects and methods and our recommendations to help you write flexible scripts that run without breaking and are easily maintained or extended.

The first section, “Code for the Task,” provides ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required