AnsweredAssumed Answered

VRf:VEE 4.01 bug?

Question asked by VRFuser on May 18, 1998
As reported by John S. I also have seen the same problem.   I thought
that it was a normal error and I could not create loops back through the
same path using a junction object. 

> -----Original Message-----
> From:     John D. Seelbinder [SMTP:jseelbin@frontiernet.net]
> Sent:     Monday, May 18, 1998 7:17 PM
> To:     HP Vee Reflector
> Subject:     VRF: VEE 4.01 bug?
>
> Hi Greg,
>  Reading the editorial in the most recent exchange jogged my memory
> about a potential bug. I think I've stumbled upon one in VEE 4.01.
>
> When I clone an existing user function, I almost invariably get a "A
> Junction is required in feedback cycles" error. Deleting a thread from
> the cloned function and re-inserting it resolves the error. I've
> attached a program with instructions so you can try to duplicate the
> error. It is 100% repeatable on two of my computers. I'm running
> Windows
> NT 4.0 SP3 and VEE 4.01. The exact same thing happens if UserObjects
> are
> used instead of UserFunctions.
>
> This alleged bug is not serious, just an annoyance when trying to
> reuse
> existing code. And beware - don't install or ship until you test for
> this.
> John
>
> ------------------------------
>
> (saveFormat "2.3")
> (date "Mon 18/May/1998 21:08:01 ")
> (veerev "4.01")
> (platform "PC")
> (execMode fast)
> (filterNAN 0)
> (workspaceStackingOrder M)
> (SaveCF no)
> (device 0 ROOTCONTEXT
> (properties
> (trigMode deg)
> (nextID 8)
> (popupTitleText "Untitled")
> (popupMoveable 1)
> (deleteGlobals 0))
> (deviceList
> (UserFunctions
> (nextID 8)
> (context 0
> (properties
> (name "UserFunction1")
> (trigMode deg)
> (nextID 6)
> (popupMoveable 1))
> (deviceList
> (device 0 DECLVAR
> (properties
> (scope con)
> (globalName "global1"))
> (implementation
> (value Int32
> (data  0))))
> (device 1 TOGLOBAL
> (properties
> (globalName "global1"))
> (interface
> (input 1
> (name "Data")
> (tag "Data"))))
> (device 2 CONSTANT
> (properties
> (name "Integer"))
> (interface
> (output 1
> (name "Int32")
> (lock name constraints)))
> (implementation
> (value Int32
> (data  0))
> (initValue Int32
> (data  0))))
> (configuration
> (connect D2:1 D1:1)))
> (contextCarrier
> (active detail)
> (detail
> (extent 796 685)
> (anchorPt 0 -10)
> (configuration
> (devCarrierFor 0
> (active icon)
> (icon
> (extent 115 16))
> (open
> (extent 215 107))
> (pinCenter 190 150))
> (devCarrierFor 1
> (active icon)
> (icon
> (extent 84 16))
> (open
> (extent 81 53))
> (terminals on)
> (pinCenter 260 200))
> (devCarrierFor 2
> (active icon)
> (icon
> (extent 48 16))
> (open
> (extent 84 30)
> (showFormat int))
> (pinCenter 170 200))
> (connect D2:1 D1:1
> (points 2 196 200 215 200)))
> (stackingOrder 0 1 2)))))
> (device 5 CALL
> (properties
> (name "Call UserFunction1")
> (callFunc "UserFunction1")
> (parmMode rev30)))
> (device 7 NOTE
> (properties
> (name "VEE Bug ?")
> (text2 10 "1. Run this program. (runs OK)"
> "2. Double-click on Call UserFunction1 so that the function is in an
> open window."
> "3. Clone UserFunction1 so that you create UserFunction2."
> "4. Run the program. (Vee error 935)"
> "5. Delete the thread in UserFunction2 and re-insert the thread."
> "6. Run this program. (runs OK)" "" "This should cause Error number:
> 935"
> ""A Junction is required inside of feedback cycles.""
> "Deleting any thread in UserFunction2 and re-inserting it resolves the
> error."))
> )
> (configuration))
> (contextCarrier
> (wndRestoredOrigin 2 2)
> (wndRestoredExtent 856 685)
> (wndState max)
> (active detail)
> (detail
> (extent 1084 913)
> (anchorPt 500 520)
> (configuration
> (devCarrierFor 5
> (active icon)
> (icon
> (extent 132 16))
> (open
> (extent 196 53))
> (terminals on)
> (pinCenter 30 50))
> (devCarrierFor 7
> (active open)
> (icon
> (extent 74 52)
> (iconImage "notepad.icn"))
> (open
> (extent 752 381)
> (editing enabled))
> (pinCenter 30 -220)))
> (stackingOrder 1 0))
> (numberFormats
> (realFormat standard)
> (realSigDigits 4)
> (realRadixSpec 4)
> (integerBase decimal))))

Outcomes