# Two variable requests

**URL:** https://www.finalbuilder.com/forums/t/two-variable-requests/3777
**Category:** Feature Requests
**Created:** [November 24, 2006, 1:20am UTC](https://www.finalbuilder.com/forums/t/two-variable-requests/3777 "2006-11-24T01:20:45Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![stevage](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/bc8723/32.png) [@stevage](https://www.finalbuilder.com/forums/u/stevage)
#### Post date: [November 24, 2006, 1:20am UTC](https://www.finalbuilder.com/forums/t/two-variable-requests/3777/1 "2006-11-24T01:20:45Z")

</div>

1. Cascading variable renames: When you rename a variable, it’d be nice to rename all the %references% to it automatically. Theoretically this should be easy, since you already have search/replace, right? 🙂  
  
2) Reset _all_ persistent variables to default values. I’m using a lot of persistent variables as it seems the only way to maintain state after a build failure (sort of comes back to my other request for build failures to pause rather than stop). However it would be good to be able to reset them all in one hit, from a sort of build hygiene point of view…  
  
Thanks!  
Steve

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [November 30, 2006, 7:59am UTC](https://www.finalbuilder.com/forums/t/two-variable-requests/3777/2 "2006-11-30T07:59:30Z")

</div>

Posted By Steve Bennett on 23 Nov 2006 6:20 PM  
1) Cascading variable renames: When you rename a variable, it'd be nice to rename all the %references% to it automatically. Theoretically this should be easy, since you already have search/replace, right? :)  

  
Sounds like a good idea. For now you could do a search/replace yourself on the XML (as long as you save your project as fbp4, not fbz4). I have a few scripts I've written that work this way for things I want to do that aren't easy to do in the IDE - I have to save the project, run the script, then re-open the project.

---

<div class="post-metadata">

### Author: ![stevage](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/bc8723/32.png) [@stevage](https://www.finalbuilder.com/forums/u/stevage)
#### Post date: [December 1, 2006, 12:14pm UTC](https://www.finalbuilder.com/forums/t/two-variable-requests/3777/3 "2006-12-01T12:14:24Z")

</div>

Ah, interesting thought. And I’d probably script the search/replace stuff in FB itself…it’s surprisingly well adapted for simple parsing, search/replace etc.Steve
