[TxMt] Including values of static variables in others?

Allan Odgaard throw-away-2 at macromates.com
Sat Feb 16 17:26:49 UTC 2008

On 13 Feb 2008, at 16:41, Daryl Spitzer wrote:

> Allan writes:
>> That is not possible -- in the future it will be possible to use
>> format strings for variable values (which can refer other values),  
>> but
>> in your example the variable you want to use is from the same list,
>> and that won't be possible (i.e. it would have to track dependencies
>> between the variables to resolve them in the proper order for that to
>> work.
> What if one could determine the order of the variable definitions?
> Then it wouldn't be necessary to track dependencies, as long as the
> dependencies are always on variables defined previously in the list.

That should work, yes -- I’ll make a note of it.

More information about the textmate mailing list