Difference between revisions of "Lpc"
From Wiki
| (4 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | {{header|result|rw|References the current setting for [[linesPerCycle]], which determines how many lines are processed during each cycle that EasyUO is operating. One cycle is 1/20th of a second.}} | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | {{rw | + | |
| − | + | ||
| − | References the current setting for [[linesPerCycle]], which determines how many lines are processed during each cycle that EasyUO is operating. One cycle is 1/20th of a second. | + | |
==== Example ==== | ==== Example ==== | ||
| Line 28: | Line 22: | ||
</pre> | </pre> | ||
| − | + | =See Also= | |
| − | { | + | {{result}} |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
Latest revision as of 09:14, 13 September 2007
| ⇔ | References the current setting for linesPerCycle, which determines how many lines are processed during each cycle that EasyUO is operating. One cycle is 1/20th of a second. |
Example
set #lpc 10
set %beginTimeNormal #sysTime
for %test 1 1000
{
set %speedTest %speedTest + 1
}
set %endTimeNormal #sysTime - %beginTimeNormal
set #lpc 250
set %beginTimeFast #sysTime
for %test 1 1000
{
set %speedTest %speedTest + 1
}
set %endTimeFast #sysTime - %beginTimeFast
display ok at normal LPC the time was , #spc , %endTimeNormal , $At a fast LPC the time was , #spc , %endTimeFast
See Also
Result
- Result variables hold values that are the direct by-product of actions taken by commands in a script. The exact details of what they contain is determined by the command and variable.
| #menuButton | ⇔ | Returns the name of the last clicked menu Button |
| #menuRes | ⇒ | Returns the result of the last menu Get or menu GetNum command |
| #sendHeader | ⇔ | Holds HTTP header information for the send command |
| #strRes | ⇔ | Returns the result of the last str command |
| #property | ⇒ | Returns the result of the last event Property command |
| #result | ⇔ | Returns the result of the last return command |
| #opts | ⇒ | Determines which EasyUO configuration options are active |
| #lpc | ⇔ | Determines the number of lines that are executed per cycle |