<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>sounds complicated...</div><div><br></div><div>post some code?</div><br><div><div>On Mar 15, 2010, at 1:28 AM, Adrien Rocher wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div class="hmmessage" style="font-size: 10pt; font-family: Verdana; "><br><br>Hi the list.<br>I'm working on an ambitious implementation for me.<br>I try to make midi default values stored in a file loaded in structures.<br>But I'm loosing me in the code.<br>Plus, I want to make 4 different for each script... yes, one is too easy  ;-)<br>I'm making a structure to store the four mode I want to store with a list inside.<br>A strucure of each mode is a list of actions stored linked to midi controllers.<br><br>Here is my problem.<br>I have to save a lot of things<br>name (optional), default value, controller linked to, value of the controller when mode loaded (to change when the controller move) , a boolean to say if the value have been changed (to say if the default or controller value have to be returned).<br>I have two problems with this.<br>How to set up the controller value when mode loading, wich depend of a field of his own structure.<br>And how to make an index or something like that, to find easily the action in the list of availables. Because I think searchin the list, even with a for/first will be too heavy.<br>Have anyone an advice for me?<br>I'm getting confused...  ;-)<br><br><hr>Télécharger en toute sécurité sur Internet ?<span class="Apple-converted-space"> </span><a href="http://clk.atdmt.com/FRM/go/206608211/direct/01/" target="_new">La solution avec Internet Explorer 8</a></div></span></blockquote></div><br></body></html>