Creating dictionary words in I7

In Inform 6, you can do things like this:

global foo = 'bar';

I.e. you can create a new dictionary word out of the blue (without it being a name of an object or a property, without putting it in a grammar line, or anything) and assign it to any handy variable.

Is that possible in Inform 7? (And if so, how so?)

Would that be the same as saying this?

Understand "bar" as "[foo]"

It sounds like you want two separate things:

  1. To be able to create arbitrary dictionary words
  2. To have a variable that holds a token

#2 looks like the hard part to me. I think the normal way to do this in I7 would be understanding by relation.