Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
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 (Joey, flink, AndrewAMD), 1,226 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
For-loops in C-Script? #72353
04/27/06 14:37
04/27/06 14:37
Joined: Dec 2003
Posts: 179
Chameleon_Man Offline OP
Member
Chameleon_Man  Offline OP
Member

Joined: Dec 2003
Posts: 179
Hi guys. It's been a while since I last posted on this forum (maybe a year) so I've been away from Gamestudio so long that I forgot some of the syntax. Are for-loops defined in C-Script? If so, could I get an example of one? Thanks a ton!

Re: For-loops in C-Script? [Re: Chameleon_Man] #72354
04/27/06 14:49
04/27/06 14:49
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
There are no for-loops in C-Script, but you could wait for C-Lite they should be implemented there.

Re: For-loops in C-Script? [Re: Xarthor] #72355
04/27/06 18:23
04/27/06 18:23
Joined: Apr 2002
Posts: 224
Twickenham,England
kiamonster Offline
Member
kiamonster  Offline
Member

Joined: Apr 2002
Posts: 224
Twickenham,England
use a while loop and increment manually

eg

cnt = 0
while(cnt < 100)
{
do something
cnt += 1;
}

Re: For-loops in C-Script? [Re: kiamonster] #72356
04/27/06 19:29
04/27/06 19:29
Joined: Dec 2003
Posts: 179
Chameleon_Man Offline OP
Member
Chameleon_Man  Offline OP
Member

Joined: Dec 2003
Posts: 179
I afraid of that...thanks.


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