VoiceAttack text variables use the string datatype, so as long as you get and set its value from your inline function, there is no functional difference.
However, if you use other actions within a command to get, and especially set the value of that variable, the formatting can be affected, as certain characters are interpreted as instruction indicators, E.G. square brackets, colons, semicolons, etc...