# How would I write this property expression?

**URL:** https://forum.vassalengine.org/t/how-would-i-write-this-property-expression/8536
**Category:** Module Design
**Created:** [September 19, 2016, 11:53pm UTC](https://forum.vassalengine.org/t/how-would-i-write-this-property-expression/8536 "2016-09-19T23:53:40Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![airjudden](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/a/74df32/32.png) [@airjudden](https://forum.vassalengine.org/u/airjudden)
#### Post date: [September 19, 2016, 11:53pm UTC](https://forum.vassalengine.org/t/how-would-i-write-this-property-expression/8536/1 "2016-09-19T23:53:40Z")

</div>

When a card is on its draw deck, I want it to print the number of cards in the draw deck. To do so, I use this:

If($DeckName$==“CarthageDraw”, GetProperty(“CarthageDraw” + “\_numPieces”), “”)

However, there is one permanent card on the bottom of the deck, so I want it to display a number that is one larger. How do I do this?

Thanks

---

<div class="post-metadata">

### Author: ![rrvs](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/r/94ad74/32.png) [@rrvs](https://forum.vassalengine.org/u/rrvs)
#### Post date: [September 21, 2016, 12:28pm UTC](https://forum.vassalengine.org/t/how-would-i-write-this-property-expression/8536/2 "2016-09-21T12:28:11Z")

</div>

I think to display one larger:

If(DeckName==“CarthageDraw”, GetProperty(“CarthageDraw” + “\_numPieces”) + 1, “”)
