This is part of the HicEst documentation
REAL: Define Symbolic Names to be of Real Data Type
REAL defines scalars and arrays and allows to initialize scalars. Related are the CHARACTER and DATA statements.
⇾Home
⇾Contents
⇾more Programming
⇾ Examples
REAL :: scalar=scalar_value, vector(elements), matrix(rows, columns)
specifies scalars, vectors, and matrices
scalar_value, elements, rows and columns must be known at compile time, like:
integer
constants
, like
REAL :: x=3.14, n=100, vec(n), mtx(20,n)
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/, scalar_value=3.14
! predefines the scalars columns and scalar_value
⇾ Define a numerical array
⇾
Support HicEst
⇾
Impressum
©2000-2019 Georg Petrich, HicEst Instant Prototype Computing. All rights reserved.