[chuck-users] generating a stack

Spencer Salazar ssalazar at CS.Princeton.EDU
Tue Dec 12 16:11:11 EST 2006

Hi Kijjasak,
Yes, there is no stack functionality in ChucK at the moment.  Your  
best option now is to use an array, although in the future native  
ChucK arrays will likely support push and pop stack operations.


On Dec 10, 2006, at 4:41 PM, kijjasak triyanond wrote:

> hello all, great to see you all here so active. it's my first time  
> writing in here.
> is there a way to create a Stack?
> or still no?
> I might wanna hold some sets of values for later use on a stack- 
> style system
> but if there are still no such thing in ChucK (and probably, not  
> suitable for its programming style),
> i might consider using an Array (with limited size) for the task  
> instead.
> thanks & take care all.
> - kij
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users

More information about the chuck-users mailing list