![]() |
arrays
i was wondering what the number before the array is for, ie
this.arrayname = 0/{-2,0,2,0} ?? |
Re: arrays
Quote:
this.a=1; this.a={5,5,5} so: this.a = 1/{5,5,5} this.a=1; this.a[0]=5; this.a[1]=5; this.a[2]=5; |
I wish we could use matricies :( using this
this.array[a+width*a] is getting tiresome. Id rather do this.matrix[a][b] But I think stefan is working on a more C++-ish Gscript. so All I can do is hope and wait. |
Quote:
|
well, lets see
is there a way to clear a variable array without having to do this.array = {0};?? |
Quote:
|
this array={}; would probably work. although i never tried it. It might be more efficient then declaring the array all over again.
|
o, dumb me, i should've figured that out, lol
thanks you guys |
| All times are GMT +2. The time now is 06:59 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.