midrange.com code scratchpad |
Name:
Craig Pelkie
|
Scriptlanguage:
Plain Text
|
Tabwidth:
4
|
Date:
08/07/2013 09:48:30 am
|
IP:
Logged
|
|
Description:
Define/initialize corresponding arrays, is this the simplest way to do it in D-specs?
|
Code:
- * value is looked-up in Position, the corresponding array element
- * in PosValue is used in the program
- D Positions...
- D ds
- D 2 inz('fF')
- D 2 inz('hH')
- D Position...
- D 1 overlay(Positions)
- D dim(4)
-
- D Pos...
- D ds
- D 12 inz('footerfooter')
- D 12 inz('headerheader')
- D PosValue...
- D 6 overlay(Pos)
- D dim(4)
-
- * would like to do something like this, but not allowed
- D PositionsX...
- D 1 dim(4)
- D inz('fFhH')
|
|
|