2017 bis heute 2016 2015 2014 | 2013 | 2012 | 2011 2010 2009 | 2008 | 2007

(ältere Archiveinträge vor 2007 nicht dargestellt, aber in der Suche enthalten)

Mailingliste - Einträge 2007


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [QF-Test] Strange problem with global variable bindings


  • Subject: Re: [QF-Test] Strange problem with global variable bindings
  • From: "Adrian Chamberlain \(BE/ETL\)" <adrian.chamberlain@?.com>
  • Date: Thu, 17 May 2007 12:27:25 +0200

Hi Greg,
 
I've just download 2.0.3 and re-tried the 'stack' scinario I
sent you last week.  The primary problem reported has been
fixed.  However, 2.0.3 has introduced some new unexpected
behaviour.  Its a minor issue but I am wondering if this is correct 
or a bug ?
 
Basically if I play the node 'Create and push' everything is 
fine as before (stacks.qft is attached).
i.e.
stack_test_item_0      item1
stack_test_item_1      item2
stack_test_item_2      item3
stack_test_item_3      item4
stack_test_item_4      item5
stack_test_maxSize   5
stack_test_ptr            5
 
If I manually select the nodes under this sequence and play
them, all is fine except for the fact that the return
variables on the call procedure nodes are being stored in
global variables despite the fact that I've ticked the 'Local
variable' checkbox.  
 
i.e.
Edit->Options->Variables->Globals
retVal                         true
stack_test_item_0      item1
stack_test_item_1      item2
stack_test_item_2      item3
stack_test_item_3      item4
stack_test_item_4      item5
stack_test_maxSize   5
stack_test_ptr            5 
 
Notice that a global variable 'retVal' has been created !!!
 
Kind Regards
Adrian

Attachment: stacks.qft
Description: stacks.qft