Gamestudio Links
Zorro Links
Newest Posts
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
M1 Oversampling
by 11honza11. 04/20/24 20:57
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (frutza, Quad, AndrewAMD), 385 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Issues with the script OptionsSimulate.c #473761
08/10/18 23:22
08/10/18 23:22
Joined: Aug 2018
Posts: 2
B
behr065 Offline OP
Guest
behr065  Offline OP
Guest
B

Joined: Aug 2018
Posts: 2
Hi,

I was trying to test the script from Financial Hacker options post to simulate the options history pricing, but when I try to run the script, I get this error:

OptionsSimulate compiling.............
Error in 'line 55:
'i' undeclared identifier
< for(i = 0; i < 2; i++)
>.

I don't think I've to declare 'i' since it's done in the for loop, but I'm not an expert in C, so maybe someone can help me out.

Thanks.

Re: Issues with the script OptionsSimulate.c [Re: behr065] #473762
08/11/18 00:24
08/11/18 00:24
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
There is a tutorial for learning Lite-C in the manual. You should make your way through it - it will save you much learning pain.

And you must declare i. laugh

The code snippets from the blog might sometimes have errors, but jcl usually fixes it in the downloadable code repositories.

Re: Issues with the script OptionsSimulate.c [Re: AndrewAMD] #473766
08/11/18 15:22
08/11/18 15:22
Joined: Aug 2018
Posts: 2
B
behr065 Offline OP
Guest
behr065  Offline OP
Guest
B

Joined: Aug 2018
Posts: 2
Thanks a lot, as you said I had to declare i.


Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1