The previous example showed constants used as vararg parameter values. That is not a requirement -- any valid expression will work, including references to variables.

You can learn more about this in:
Run Edit