Patent ID: 6353861
Filing Date: 2002-03-05
Classification: G05B,G06F,H04L

Abstract:
A method for treating a logical programming expression as an event in a computer system, the method comprising the steps of:(1) generating a source code file that includes a plurality of source code statements, wherein said source code statements include (1a) statements for causing the computer system to perform an operation upon the occurrence of at least one event; (1b) a statement defining said at least one event, wherein said at least one event includes a predetermined event or an event which is a logical programming expression that returns a boolean value when evaluated; (2) compiling said source code file to generate an executable program; (3) executing said program on a processor to cause said processor to perform the steps of: (3a) repeatedly evaluating said logical programming expression; and (3b) executing said statements to perform said operation when said logical programming expression evaluates to true; wherein said step of generating a source code file further includes the step of specifying each of said at least one events as either a priority event or a non-priority event; wherein said logical programming expression is evaluated after detecting for any priority events if said logical programming expression is specified at the time of source code generation to be a non-priority event; and wherein said logical programming expression is evaluated before detecting for any non-priority event if said logical programming expression is a priority event.