Logo QF-Test

Finding valuable answers
in the Mailing List Archive.

 

Free Trial  Download  Buy

Thomas Max, QF-Test training and support

Use the full-text search on our web site to find helpful tips on the mailing list.

Thomas Max, 
Sr. Software Engineer & Trainer, QFS

2017 up to now  | 2016 | 2015 | 2014 | 2013 | 2012 | 2011 | 2010 | 2009 | 2008 | 2007

(older archive entries before 2007 are not shown here, but included in the onsite-search)

Mailing List - Entries of 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


Videos Downloads Documentation Buy Free Trial