next up previous index
Next: Global Variables Up: Arrays and Global Previous: Arrays and Global

Introduction

This chapter describes the features provided by ECLiPSe for the declaration and use of arrays and global (as opposed to logical, not in terms of the module system) variables. These provide a convenient mechanism to maintain information in a more conventional programming manner. It is also possible to map arrays declared in ECLiPSe directly onto ``C'' data structures using the ECLiPSe External interface. For more information see chapter gif on page gif.

Arrays and global variables are handled by a single set of builtins, where a global variable is just considered as an array with no dimensions. Builtins that accept array specifications in the form Name/Arity also accept Name/0 or just Name to denote a global variable.



Micha Meier
Mon Mar 4 12:11:45 MET 1996