Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ XR Studio

continue

  • Last UpdatedApr 24, 2024
  • 1 minute read

The continue statement starts the execution of a new iteration of the closest enclosing Flow Control loop statements (for, foreach, and while).

Example code

static void testContinue()

{

foreach(string s in Runtime::Scene.EnumerateNodes("all"))

{

if(s == "A")

{

Runtime::Environment.Print(“test");

continue;

}

Runtime::Environment.Print(s);

}

}

//Output displays the list of the name of nodes in the scene returned by EnumerateNodes(“all”). If node A is found “test” is printed instead of “A”

Related Links
TitleResults for “How to create a CRG?”Also Available in