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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.