This is part of the HicEst documentation
DIMENSION: Define a Numeric Array
The HicEst DIMENSION and REAL statements define the number of numeric array elements.
⇾Home
⇾Contents
⇾more Programming
⇾ Examples
DIMENSION vector(elements), matrix(rows, columns)
specifies 1-dimensional vectors and 2-dimensional matrices
elements, rows and columns must be known at compile time, like:
integer
constants
, like
DIMENSION v1(100), v2(20), m1(20,100), v3(33)
predefined at compile time
, like
REAL, PARAMETER :: elements=100
! defines the
symbolic constant
elements
REAL :: rows=20
! predefines the scalar
variable
rows
DATA columns/50/
! predefines the scalar
variable
columns
⇾ Define symbolic names to be of real data type
⇾
Support HicEst
⇾
Impressum
©2000-2019 Georg Petrich, HicEst Instant Prototype Computing. All rights reserved.