Gamestudio Links
Zorro Links
Newest Posts
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
Removing outliers from files
by jcl. 11/04/26 10:30
[MED] Import from FBX (2010) missing!!!
by rayp. 11/03/26 14:33
What are you working on?
by rayp. 11/02/26 13:57
No connection to MT4
by JeyKey II. 10/29/26 09:34
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (LoT, 1 invisible), 6,605 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
dabolong, MaliceTheMaker, Haitao_Ren, JimSimons, julienp
19249 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
Happy Birthday 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: 225
Sunbury-On-Thames, England
EW_bytes Offline
Member
EW_bytes  Offline
Member

Joined: Apr 2002
Posts: 225
Sunbury-On-Thames, 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: EW_bytes] #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 | 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