(saveFormat "2.0")
(date "Tue 19/Dec/1995 09:23:12 MST")
(veerev "3.2")
(platform "HP9000s700")
(SaveCF no)
(filterNAN 0)
(component 0 ROOTCONTEXT
 (name "Exiting a UserObject Early")
 (implementation
  (retainGlobals YES)
  (locked no)
  (trigMode deg)
  (nextID 13)
  (component 0 CONTEXT
   (name "Add Random Number")
   (interface
	(input 1
	 (name "A")
	 (optional yes)
	)
	(output 1
	 (type data)
	 (name "X")
	 (lock constraints)
	 (optional yes)
	)
   )
   (implementation
	(locked no)
	(trigMode deg)
	(nextID 17)
	(component 0 CONFIRM25
	 (name "Cancel")
	 (interface
	  (output 1
	   (name "Go")
	   (lock name constraints)
	  )
	 )
	 (implementation
	  (component enterButton yes)
	  (component escapeButton yes)
	 )
	)
	(component 6 FORMULA
	 (name "A+B")
	 (interface
	  (input 1
	   (name "A")
	   (optional yes)
	  )
	  (input 2
	   (name "B")
	   (optional yes)
	  )
	  (output 1
	   (name "Result")
	   (lock name constraints)
	  )
	 )
	 (implementation
	  (expr 1 "A+B")
	 )
	)
	(component 11 EXITCONTEXT
	)
	(component 12 EXITCONTEXT
	)
	(component 15 CONFIRM25
	 (name "OK")
	 (interface
	  (output 1
	   (name "Go")
	   (lock name constraints)
	  )
	 )
	 (implementation
	  (component enterButton yes)
	  (component escapeButton yes)
	 )
	)
	(component 16 FORMULA
	 (name "random(low,high)")
	 (interface
	  (output 1
	   (name "Result")
	   (lock name constraints)
	  )
	 )
	 (implementation
	  (expr 1 "random(0, 1)")
	 )
	)
	(configuration
	 (connect D4:0 D1:0)
	 (connect D5:1 D1:1)
	 (connect I1:1 D1:2)
	 (connect D1:0 D2:0)
	 (connect D0:0 D3:0)
	 (connect D1:1 O1:1)
	)
   )
  )
  (component 8 TEXTDISPLAY
   (interface
	(input 1
	 (name "Data")
	)
   )
   (implementation
   )
  )
  (component 10 CONSTANT
   (name "Real")
   (interface
	(output 1
	 (name "Real")
	 (lock name constraints)
	)
   )
   (implementation
	(value Real
	 (data  1)
	)
	(initValue Real
	 (data  0)
	)
   )
  )
  (component 11 NOTE
   (implementation
   )
  )
  (component 12 NOTE
   (name "Information")
   (implementation
	(text2 4
	  "This example shows how to use Exit UserObject "
	  "to exit a UserObject early.  For further "
	  "information, see \"To Exit a UserObject Early\" "
	  "in your \"How to Use HP VEE\" manual."
	)
   )
  )
  (configuration
   (connect D2:1 D0:1)
   (connect D0:1 D1:1)
  )
 )
 (viewFor -1
  (active detail)
  (detail
   (geometry 0 53 900 447)
   (configuration
	(viewFor 0
	 (active detail)
	 (icon
	  (geometry 0 0 148 0)
	 )
	 (detail
	  (geometry 181 217 289 286)
	  (configuration
	   (viewFor 0
		(active detail)
		(icon
		 (geometry -24 -12 48 24)
		)
		(detail
		 (geometry 205 414 71 33)
		)
		(title off)
	   )
	   (viewFor 6
		(active icon)
		(icon
		 (geometry 373 308 34 25)
		)
		(detail
		 (geometry 381 115 59 110)
		)
		(terminals on)
	   )
	   (viewFor 11
		(active icon)
		(icon
		 (geometry 333 378 114 25)
		)
		(detail
		)
		(terminals on)
	   )
	   (viewFor 12
		(active icon)
		(icon
		 (geometry 192 470 116 21)
		)
		(detail
		)
		(terminals on)
	   )
	   (viewFor 15
		(active detail)
		(icon
		 (geometry -17 -12 34 24)
		)
		(detail
		 (geometry 356 234 69 32)
		)
		(title off)
	   )
	   (viewFor 16
		(active icon)
		(icon
		 (geometry 196 267 129 27)
		)
		(detail
		 (geometry 343 158 105 85)
		)
		(terminals on)
	   )
	   (connect D4:0 D1:0
		(points 2 390 268 390 305)
	   )
	   (connect D5:1 D1:1
		(points 4 327 280 350 280 350 310 370 310)
	   )
	   (connect I1:1 D1:2
		(points 4 181 360 350 360 350 330 370 330)
	   )
	   (connect D1:0 D2:0
		(points 2 390 335 390 375)
	   )
	   (connect D0:0 D3:0
		(points 4 240 449 240 460 250 460 250 467)
	   )
	   (connect D1:1 O1:1
		(points 4 409 320 430 320 430 360 469 360)
	   )
	  )
	  (stackingOrder 1 0 4 3 2 5)
	 )
	 (terminals on)
	)
	(viewFor 8
	 (active detail)
	 (icon
	 )
	 (detail
	  (geometry 533 341 154 38)
	 )
	)
	(viewFor 10
	 (active detail)
	 (icon
	 )
	 (detail
	  (geometry 52 345 76 30)
	  (showFormat real)
	 )
	)
	(viewFor 11
	 (active icon)
	 (icon
	  (geometry 491 96 338 48)
	  (iconImage "disclaim.icn")
	  (label off)
	 )
	 (detail
	  (geometry 830 250 200 100)
	  (editing enabled)
	 )
	)
	(viewFor 12
	 (active detail)
	 (icon
	  (geometry 0 0 77 0)
	  (iconImage "notepad.icn")
	 )
	 (detail
	  (geometry 29 76 442 89)
	  (editing disabled)
	 )
	 (title off)
	)
	(connect D2:1 D0:1
	 (points 2 130 360 148 360)
	)
	(connect D0:1 D1:1
	 (points 2 502 360 530 360)
	)
   )
   (stackingOrder 0 1 2 4 3)
  )
  (titleBg "Gray")
  (titleFg "Black")
  (numberFormats
   (realFormat standard)
   (realSigDigits 4)
   (realRadixSpec 4)
   (integerBase decimal)
  )
 )
)
