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: Karlheinz Kellerer <Karlheinz.Kellerer@?.de>
  • Date: 18 May 2007 11:00:41 +0200

...it looks like Greg's email didn't reach the list. Here it is...

Hi Adrian,

that's the "correct" behavior, a least the expected one. In this
special scenario there is no set of bindings above the global ones on
the variable stack, so there are no locals to bind to, which only
leaves the globals...

Best regards,
    Greg

"Adrian Chamberlain \(BE/ETL\)" <adrian.chamberlain@?.com> writes:

> 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
>
> _______________________________________________
> qftest-list mailing list
> qftest-list@?.de
> http://www.qfs.de/mailman/listinfo/qftest-list

--
Quality First Software GmbH                    http://www.qfs.de
Tulpenstr. 41                               Tel: +49 8171 919870
DE-82538 Geretsried                         Fax: +49 8171 919876
GF: Gregor Schmid, Karlheinz Kellerer         HRB München 140833



Videos Downloads Documentation Buy Free Trial