# Error message "Error expanding Content : Missing % after :!"

**URL:** https://www.finalbuilder.com/forums/t/error-message-error-expanding-content-missing-after/3479
**Category:** Bugs
**Created:** [April 9, 2013, 9:44am UTC](https://www.finalbuilder.com/forums/t/error-message-error-expanding-content-missing-after/3479 "2013-04-09T09:44:09Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ehlers](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/e/b5e925/32.png) [@ehlers](https://www.finalbuilder.com/forums/u/ehlers)
#### Post date: [April 9, 2013, 9:44am UTC](https://www.finalbuilder.com/forums/t/error-message-error-expanding-content-missing-after/3479/1 "2013-04-09T09:44:09Z")

</div>

Hi,   
 unfortunately I get an error: “expanding Content : Missing % after :!” when using variables with a leading hash-sign in it.   
  
 Following situation:   
 1) Create Variable: #MyVar#   
 2) Set Variable to “Test”   
 3) Use variable in “Save Variable to ini action” or inside a “Write to text file” - action using %#MyVar#% to expand the variable.   
  
 Unfortunately this does not work, but I need to use those vars with leading and trailing # (for a 3rd Party program that use them).   
  
 I am currently working with FB Pro 6.3.0.2253, but also tried latest FB 7 (Trial) with no success…   
  
 Is there any fix/workaround for this?   
  
 Thanks much & Regards,   
 Martin   
  
 PS: I added a very simple/simplified demo project reflecting the above case…

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [April 9, 2013, 10:29am UTC](https://www.finalbuilder.com/forums/t/error-message-error-expanding-content-missing-after/3479/2 "2013-04-09T10:29:25Z")

</div>

#name# is an alternate (deprecated) syntax for Action List Parameters, so you need to escape them : ##name##
