# \[FB6.0.0.507\] - Various Issues

**URL:** <https://www.finalbuilder.com/forums/t/fb6-0-0-507-various-issues/2967>\
**Category:** Bugs\
**Created:** [April 1, 2008, 10:12am UTC](https://www.finalbuilder.com/forums/t/fb6-0-0-507-various-issues/2967 "2008-04-01T10:12:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dgerard](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/d/7ba0ec/32.png) [@dgerard](https://www.finalbuilder.com/forums/u/dgerard)\
**Post date:** [April 1, 2008, 10:12am UTC](https://www.finalbuilder.com/forums/t/fb6-0-0-507-various-issues/2967/1 "2008-04-01T10:12:50Z")

</div>

Hi, I've run into some issues today:

1. In a for loop the value should be assigned to a variable that i've selected - but it's not available in the loop (checked via log variable)
2. In the solution iterator - you can't iterate unless the projects are actually&nbsp;on disk - it would be useful to be able to iterate a .sln file in order to perform a get on the various projects from tfs.
3. the tfs get and tfs map working folder actions&nbsp;don't seem to be able to expand variables as parameters to the tfs command
4. I've created a varaible "s" i've assigned it a value and then decremented that value in a script block but it doesn't compare properly in an if statement - see the attached fbz.

Regards

Dave

[VarTest.fbz6](https://www.finalbuilder.com/forums/uploads/default/original/2X/c/ced3c1d9c77044d0083a2521e9de995365f2a755.fbz6) (1.973 KB)

---

<div class="post-metadata">

**Author:** ![dgerard](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/d/7ba0ec/32.png) [@dgerard](https://www.finalbuilder.com/forums/u/dgerard)\
**Post date:** [April 1, 2008, 10:51am UTC](https://www.finalbuilder.com/forums/t/fb6-0-0-507-various-issues/2967/2 "2008-04-01T10:51:33Z")

</div>

Update - I've just checked in version .518 and item 1 now seems to work.

2 & 4 are still not working - i can't test 3 at the moment.

Dave

---

<div class="post-metadata">

**Author:** ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)\
**Post date:** [April 2, 2008, 4:46am UTC](https://www.finalbuilder.com/forums/t/fb6-0-0-507-various-issues/2967/3 "2008-04-02T04:46:49Z")

</div>

Hi Dave,   
  
 Thanks for the update.   
  
 (2) will be available as an option before or on the final release.   
  
 (3) looks like an issue which was fixed in build 518 (we had a late-breaking issue in 507), please let us know if this was not the case.   
  
 The attachment for (4) looks like it got corrupted somehow. We had some issues with the web site yesterday. Would it be possible for you to re-attach the demo project, please? (Alternatively you could email it to support at finalbuilder dot com.)   
  
 Regards,   
  
 Angus

---

<div class="post-metadata">

**Author:** ![dgerard](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/d/7ba0ec/32.png) [@dgerard](https://www.finalbuilder.com/forums/u/dgerard)\
**Post date:** [April 2, 2008, 11:08am UTC](https://www.finalbuilder.com/forums/t/fb6-0-0-507-various-issues/2967/4 "2008-04-02T11:08:50Z")

</div>

Hi Angus - I can confirm that 3 is now working - thanks, Attached is the file as requested

Dave

---

<div class="post-metadata">

**Author:** ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)\
**Post date:** [April 4, 2008, 12:12pm UTC](https://www.finalbuilder.com/forums/t/fb6-0-0-507-various-issues/2967/5 "2008-04-04T12:12:32Z")

</div>

Hi Dave,   
  
 Thanks for sending this via email. I also fixed the web site downloads, so it should work. I’ve reproduced some of my email reply here for future reference:   
  
 \*\*\*   
  
 This is a common mistake made when working with the If…Then action, especially if you’re used to scripting. You need to reference the variable as %s% in order to get it’s value. The If…Then you were testing was the equivalent of   
  
 if (“s” == -1)   
  
 … in JavaScript, so it always failed. ![]( "Smile").   
  
 With %s%, you’ll get the equivalent of (s == -1), which is what you probably want.   
  
 \*\*\*\*   
  
 Regards,   
  
 Angus
