Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (TipmyPip, 1 invisible), 18,789 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Is the ` tdm() trading-day-of-month function broken? #446417
10/14/14 17:14
10/14/14 17:14
Joined: Oct 2014
Posts: 43
DEVON
S
scotpip Offline OP
Newbie
scotpip  Offline OP
Newbie
S

Joined: Oct 2014
Posts: 43
DEVON
Hi

Getting a compile error when I try to use tdm(0) in run();

Tried a number of the other time/date functions and they all work as advertised. But if I call tdm() on its own or in a comparison or assignment, with or without the optional offset, I get the same compile error:

Code:
@tdm_00886(): syntax error
< printf("\nTDM: %i", tdm(0));
 >.



Is this a bug or am I having a brainfart? I've had a look at functions.h and the prototype is present and correct.

Re: Is the ` tdm() trading-day-of-month function broken? [Re: scotpip] #446437
10/15/14 11:57
10/15/14 11:57
Joined: Oct 2014
Posts: 43
DEVON
S
scotpip Offline OP
Newbie
scotpip  Offline OP
Newbie
S

Joined: Oct 2014
Posts: 43
DEVON
False alarm - it works on my other PC so it seems I have some kind of corruption on my install.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1