| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
|
Forgot the reset :-/ var _count = 0; function (__number Count) main (__boolean Increasing, __boolean Decreasing, __boolean Reset, __number Min, __number Max) { var result = new Object(); if (Increasing) _count==Max?_count:_count++; if (Decreasing) _count==Min?_count:_count--; if (Reset) _count = 0; result.Count = _count; return result; } .xX Alessandro Sabatelli wrote: Hey F. You'll need to store an internal variable for the count. Here is some "pseudocode" to get you started... |
_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden This email sent to email@hidden
| References: | |
| >Counter with range (From: email@hidden) | |
| >Re: Counter with range (From: Alessandro Sabatelli <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.