PureBytes Links
Trading Reference Links
|
-----Original Message-----
From: Andrew <Andrew@xxxxxxxxx>
To: Omega List <omega-list@xxxxxxxxxx>; RealTraders Discussion Group
<realtraders@xxxxxxxxxxxxxx>
Date: Tuesday, September 29, 1998 6:46 AM
Subject: Array Question
>I would like to create a 5 element array and place the following values
>in it:
>
>1
>5
>7.5
>8.75
>9.35
>
>How would I declare this array and put these values in it, which I could
>reference later?
Deming: This will fill the array with the exact values you mentioned.
ARRAY: MyArray[5](0);
MyArray[0] = 1;
MyArray[1] = 5;
MyArray[2] = 7.5;
MyArray[3] = 8.75;
MyArray[4] = 9.35;
Value1 = MyArray[0] + MyArray[5];
* * * * * * * * * * * * * Doug Deming * * * * * * * * * * * * * * * *
Investment Engineering, Corp. http://www.InvestLabs.com
Innovative ideas, solutions, and consulting for
Omega Research TradeStation and SuperCharts.
Ph.(808)875-4558, Email: Info@xxxxxxxxxxxxxx
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*
|