A:="$name:" treated literally?

Discussion related to "Everything" 1.5 Alpha.
Post Reply
NotNull
Posts: 5458
Joined: Wed May 24, 2017 9:22 pm

A:="$name:" treated literally?

Post by NotNull »

Test 1:

Code: Select all

addcol:A   A-label:="Same Name"  A:=$name:
Test 2:

Code: Select all

addcol:A   A-label:="Same Name"  A:="$name:"

Test 1 will show the file-/foldername in column "Same Name".
Test 2 will show '$name' literally (without the quotes)


I seem to remember Test 2 at some point did show the filename instead?
void
Developer
Posts: 16698
Joined: Fri Oct 16, 2009 11:31 pm

Re: A:="$name:" treated literally?

Post by void »

Early implementations most likely showed the filename with "$name:"

Showing the literal text $name: with "$name:" is the expected behavior.

Formulas will treat quoted text as literal.
Post Reply