{ From user Dave, Model a14472 at 7-Aug-2014 1:22:25 AM, encoding="UTF-8" } SoftwareVersion 4.6.0 { System Variables with non-default values: } TypeChecking := 1 Checking := 1 SaveOptions := 2 SaveValues := 0 {!-40203|Attribute CloudPlayerStyles} Attribute Prev_attribute AskAttribute Prev_attribute,Function,Yes AskAttribute Prev_attribute,Module,Yes AskAttribute Script,Variable,Yes AskAttribute Prev_attribute,Variable,Yes Model a14472 Author: szreniaw Date: Pt, lis 15, 2013 1:44 PM SaveAuthor: Dave SaveDate: Thu, Aug 7, 2014 1:22 AM DiagState: 2,44,36,533,379,17 WindState: 2,539,310,476,224 FontStyle: Arial,15 FileInfo: 0,Model a14472,2,2,0,0,C:\Users\Dave\Desktop\work\Changes to wiki\Update_titles.ana {!40400|CloudPlayerStyles: FrameNode:frameNode1} {!40204-40399|AWP_Attrib:FrameNode:frameNode1} Module Update_Titles Title: Update Titles Author: Dave Date: Thu, Aug 7, 2014 1:21 AM NodeLocation: 96,72,1 NodeSize: 48,24 Variable Va3 Title: zero Definition: Checkbox(1) NodeLocation: 280,88,1 NodeSize: 48,24 WindState: 2,423,243,476,224 Aliases: FormNode Va4 Script: if make_title__one_=1 then Title of Va3:='One' else Title of Va3:='Other'; Variable make_title__one_ Title: make title "one" Definition: Checkbox(1) NodeLocation: 144,192,1 NodeSize: 48,24 ValueState: 2,458,286,416,303,0,MIDM Aliases: FormNode Node_of_re1394261492 Variable Triggering_node Title: Triggering node Definition: EvaluateScript("title of va1:" & (if make_title__one_=1 then "One" else "zero" ));~ evaluate(Va3) NodeLocation: 280,192,1 NodeSize: 48,24 ValueState: 2,504,159,416,303,0,MIDM FormNode Va4 Title: Va1 Definition: 0 NodeLocation: 280,40,1 NodeSize: 72,16 NodeInfo: 1,0,0,1,0,0,0,15,0,1, Original: Va3 FormNode Node_of_re1394261492 Title: Node of reference Definition: 0 NodeLocation: 168,240,1 NodeSize: 120,16 NodeInfo: 1,0,0,1,0,0,0,72,0,1, Original: make_title__one_ Text frameNode1 NodeLocation: 648,304,-1 NodeSize: 200,136 WindState: 2,102,83,476,227 Function Fu1() Definition: var newTitle:="";~ if make_title__one_=1 then newTitle:="One" else newTitle:="zero";~ title of Va3:= newTitle NodeLocation: 480,88,1 NodeSize: 48,24 WindState: 2,124,153,847,380 Button Bu1 NodeLocation: 168,320,1 NodeSize: 48,24 Script: Fu1() Close Update_Titles Module Change_Node_color Title: Change Node color Author: Fred Date: Tue, Jul 1, 2014 12:49 PM SaveAuthor: Fred SaveDate: Mon, Jul 7, 2014 11:07 PM NodeLocation: 96,160,1 NodeSize: 48,32 NodeInfo: 1,,,,,,0,0,,, DiagState: 2,1,0,864,556,17 Variable x Definition: 10 NodeLocation: 112,160,1 NodeSize: 48,24 Variable evaluate_this_node Title: evaluate this node Definition: EvaluateScript("NodeColor of x: 65535,54067,19661"); ~ EvaluateScript("title of x: y");~ 5 NodeLocation: 112,80,1 NodeSize: 48,24 Aliases: FormNode evaluate_t1404745364 FormNode evaluate_t1404745364 Title: evaluate this node Definition: 1 NodeLocation: 312,80,1 NodeSize: 120,16 NodeInfo: 1,,,,,,0,72,,, Original: evaluate_this_node Close Change_Node_color Close a14472