View previous topic :: View next topic |
Author |
Message |
Downsider

Joined: 16 Sep 2008 Posts: 478
|
Posted: Fri Jun 18, 2010 6:46 pm Post subject: Using arrays? |
|
|
Why does this:
Code: |
.float fTimes[32];
.string fEvent[32];
...
Line 21: self.fTimes[i] = 0;
|
Result in this:
I've never used arrays in QC before and this is making me upset. |
|
Back to top |
|
 |
Downsider

Joined: 16 Sep 2008 Posts: 478
|
Posted: Fri Jun 18, 2010 7:52 pm Post subject: |
|
|
Ah, got it, for some reason FTEQCC likes it's arrays to be enclosed in parenthesis. |
|
Back to top |
|
 |
Spike
Joined: 05 Nov 2004 Posts: 944 Location: UK
|
Posted: Fri Jun 18, 2010 9:36 pm Post subject: |
|
|
Yeah, its a bug in fteqcc. Future versions won't need the extra () around the field[ofs]. _________________ What's a signature? |
|
Back to top |
|
 |
|