Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/30/11 23:08
Read: times


 
#184465 - try it now
Responding to: ???'s previous message
Sorry I assumed you uploaded the files and the magically appeared in a directory somewhere, I have make the phtml file now.

I have changed the rule struct a little bit

1. the feedback_point is now a pointer to the variable that holds the feedback.
2. included a pointer to an action function, so that when the rule exectues, it calls the function, which can in turn do a whole series of different actions.


I have to go through the code and "normalise" it as I have just included the action_function pointer, so there is a bit of inconsistency about the way functions are called in there at the moment (that all sounds a bit wordy - It needs a cleanup)

I call the recipe from a tick
as follows.

 if (current_recipe.recipe_state == progressInProgress){ //this means that the recipe won't execute until the state flag has been set to in progress.
        funExecuteRecipe();          
    }

 


Regards

Marshall

List of 23 messages in thread
TopicAuthorDate
User entered recipes ???            01/01/70 00:00      
   Just create array of regular rules            01/01/70 00:00      
      Thanks - that's great            01/01/70 00:00      
         programming language            01/01/70 00:00      
            programming language - not really            01/01/70 00:00      
               consider enum            01/01/70 00:00      
                  thanks - implemented.            01/01/70 00:00      
                     Intelligence            01/01/70 00:00      
                        I must have a stupid compiler            01/01/70 00:00      
                           Not all compilers are as good at generate warnings            01/01/70 00:00      
                              no warning/error on the compiler            01/01/70 00:00      
                                 response from Raisonance            01/01/70 00:00      
                  enumerations on 8051            01/01/70 00:00      
                     enums are 8bit by default on Raisonance            01/01/70 00:00      
                        NULL            01/01/70 00:00      
                           Could you show me the code            01/01/70 00:00      
                              compatibility et al            01/01/70 00:00      
                                 why change pointer to CODE?            01/01/70 00:00      
                                    enum advantage            01/01/70 00:00      
                                    user page does not work (at least for me)            01/01/70 00:00      
                                       try it now            01/01/70 00:00      
                     re: enumerations on 8051            01/01/70 00:00      
   Article on Hierarchical Menu Structure            01/01/70 00:00      

Back to Subject List