5

Lists, Matrices, and Associative Arrays

Introduction

Lists and Their Applications

Information from Lists

Manipulate Lists

Matrix Structure in JSL

Manipulate Matrices and Use Operations

Matrix Examples

Associative Arrays

Associative Array Applications

Introduction

The data structures discussed in this chapter are critical components for writing advanced scripts. Lists, matrices, and associative arrays are data structures that allow efficient storage and manipulation of various data types. Lists are pervasive in JSL. Understanding how to create and manipulate them enables the scripter to do things such as obtain input from dialog boxes and create custom output. Of the three data structures discussed in this chapter, the list is the structure ...

Get JSL Companion now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.