You cannot export this page, because it is not available in the current version, variant, or language.
You cannot export this page, because it is not available in the current version, variant, or language.
The WasInState function checks whether the state with the given name has ever been visited for a particular object:
WasInState(in object: any[1], in stateName: String): Boolean
Both arguments of the function are required. For example"
if (WasInState(obj, "S1") { WriteLine("Obj was in state S1."); }
No Magic, Inc. Copyright © 1998 – 2025 No Magic, Incorporated, a Dassault Systèmes company – All Rights Reserved.