Talk:Statement Reference

From the CreationKit Wiki
Revision as of 13:16, 4 November 2012 by imported>Jbezorg (→‎Lazy evaluation of expressions?: new section)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Lazy evaluation of expressions?

Does Papyrus use it?

e.g.: Given two functions "A" and "B". Both return Bool. Assuming Lazy Evaluation. In the following code example function B would not be executed if function A returned TRUE.

If ( A() || B() )
  ; some code
EndIf

ref: Lazy Evaluation --Jbezorg (talk) 13:16, 4 November 2012 (EST)