Gamestudio Links
Zorro Links
Newest Posts
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, VoroneTZ, 1 invisible), 1,512 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
pointers #464483
02/17/17 12:22
02/17/17 12:22
Joined: Jul 2016
Posts: 51
H
hatten Offline OP
Junior Member
hatten  Offline OP
Junior Member
H

Joined: Jul 2016
Posts: 51
I am wondering if it is possible to use the following multidimensional pointer construct:

#define N1 5
#define N2 5
#define N3 7

run()
{

vars Arr[N1][N2][N3];
var Val;
...

Arr[1][2][1]=series(priceClose(1)-priceclose(0));


Val = Arr[1][2][1](1);

Is this possible or not possible?

Re: pointers [Re: hatten] #464500
02/20/17 08:53
02/20/17 08:53
Joined: Jul 2000
Posts: 27,987
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,987
Frankfurt
Yes, but this is wrong syntax. Correct is:

static vars Arr[5][5][7];
...
vars MySeries = Arr[1][2][1];
Val = MySeries[1];



Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1