(saveFormat "2.0")
(date "Tue 19/Dec/1995 09:23:08 MST")
(veerev "3.2")
(platform "HP9000s700")
(SaveCF no)
(filterNAN 0)
(component 0 ROOTCONTEXT
 (name "Creating a UserFunction")
 (implementation
  (retainGlobals YES)
  (locked no)
  (trigMode deg)
  (nextID 19)
  (component 5 TEXTDISPLAY
   (interface
	(input 1
	 (name "Data")
	)
   )
   (implementation
   )
  )
  (component 16 CONTEXT
   (name "Random Array")
   (interface
	(output 1
	 (type data)
	 (name "Array")
	 (lock constraints)
	 (optional yes)
	)
   )
   (implementation
	(locked no)
	(trigMode deg)
	(nextID 4)
	(component 0 ALLOCATEARRAY
	 (name "Alloc Real")
	 (interface
	  (output 1
	   (name "Array")
	   (tag "Array")
	   (lock constraints)
	  )
	 )
	 (implementation
	  (numDims 1)
	  (dimSizes "10")
	  (type "Real")
	  (initEnum "Init Value")
	  (initialValue
	   (data  0)
	  )
	  (from 1)
	  (thru 10)
	 )
	)
	(component 1 RANDOMNUMBER
	 (interface
	  (output 1
	   (name "Rand Val")
	   (lock name constraints)
	  )
	 )
	 (implementation
	  (lowerLimit 0)
	  (upperLimit 1)
	 )
	)
	(component 2 FORCOUNT
	 (interface
	  (output 1
	   (name "Count")
	   (lock name constraints)
	  )
	 )
	 (implementation
	  (count 10)
	 )
	)
	(component 3 TOARRAY
	 (interface
	  (input 1
	   (name "Array")
	   (tag "Array")
	   (lock constraints)
	  )
	  (input 2
	   (name "Datum")
	   (tag "Datum")
	   (requires
		(shape "Scalar")
	   )
	   (lock constraints)
	  )
	  (input 3
	   (name "Index 1")
	   (tag "Index 1")
	   (requires
		(datatype Int32)
		(shape "Scalar")
	   )
	   (lock constraints)
	  )
	  (input 4
	   (type trigger)
	   (name "XEQ")
	   (lock name constraints)
	  )
	  (output 1
	   (name "Array")
	   (tag "Array")
	   (lock constraints)
	  )
	 )
	 (implementation
	  (numDims 1)
	 )
	)
	(configuration
	 (connect D2:1 D1:0)
	 (connect D0:1 D3:1)
	 (connect D1:1 D3:2)
	 (connect D2:1 D3:3)
	 (connect D2:0 D3:4)
	 (connect D3:1 O1:1)
	)
   )
  )
  (component 17 NOTE
   (implementation
   )
  )
  (component 18 NOTE
   (name "Information")
   (implementation
	(text2 6
	  "This example provides a UserObject from "
	  "which to create a UserFunction.  For "
	  "further information, see \"To Create a"
	  "UserFunction\" in your \"How to Use HP VEE\" "
	  "manual."
	  ""
	)
   )
  )
  (configuration
   (connect D1:1 D0:1)
  )
 )
 (viewFor -1
  (active detail)
  (detail
   (geometry 0 53 900 447)
   (configuration
	(viewFor 5
	 (active detail)
	 (icon
	 )
	 (detail
	  (geometry 746 349 149 263)
	 )
	)
	(viewFor 16
	 (active detail)
	 (icon
	  (geometry 0 0 111 0)
	 )
	 (detail
	  (geometry 56 279 608 402)
	  (configuration
	   (viewFor 0
		(active detail)
		(icon
		)
		(detail
		 (geometry 94 315 212 131)
		)
		(terminals on)
	   )
	   (viewFor 1
		(active icon)
		(icon
		 (geometry 237 508 126 24)
		)
		(detail
		)
		(terminals on)
	   )
	   (viewFor 2
		(active detail)
		(icon
		 (iconImage "loop.icn")
		)
		(detail
		 (geometry 85 545 111 30)
		)
	   )
	   (viewFor 3
		(active detail)
		(icon
		 (geometry 250 280 80 61)
		 (iconImage "build.icn")
		)
		(detail
		 (geometry 445 445 141 210)
		)
		(terminals on)
	   )
	   (connect D2:1 D1:0
		(points 5 198 560 220 560 220 490 300 490 300 505)
	   )
	   (connect D0:1 D3:1
		(points 4 358 380 370 380 370 470 382 470)
	   )
	   (connect D1:1 D3:2
		(points 2 365 520 382 520)
	   )
	   (connect D2:1 D3:3
		(points 4 198 560 220 560 220 570 382 570)
	   )
	   (connect D2:0 D3:4
		(points 3 140 577 140 620 382 620)
	   )
	   (connect D3:1 O1:1
		(points 4 638 550 650 550 650 480 663 480)
	   )
	  )
	  (stackingOrder 2 1 3 0)
	 )
	 (terminals on)
	)
	(viewFor 17
	 (active icon)
	 (icon
	  (geometry 511 136 338 48)
	  (iconImage "disclaim.icn")
	  (label off)
	 )
	 (detail
	  (geometry 830 250 200 100)
	  (editing enabled)
	 )
	)
	(viewFor 18
	 (active detail)
	 (icon
	  (geometry 0 0 77 0)
	  (iconImage "notepad.icn")
	 )
	 (detail
	  (geometry 26 97 409 126)
	  (editing disabled)
	 )
	 (title off)
	)
	(connect D1:1 D0:1
	 (points 2 716 480 743 480)
	)
   )
   (stackingOrder 0 1 3 2)
  )
  (titleBg "Gray")
  (titleFg "Black")
  (numberFormats
   (realFormat standard)
   (realSigDigits 4)
   (realRadixSpec 4)
   (integerBase decimal)
  )
 )
)
