Maybe a strange question, not sure if it makes sense or if I'm not yet at the correct learning point to understand it correctly.
In PostScript you have the CVN operator.
(abc) cvn => /abc
(abc) cvx cvn => abc
Now a name beginning with a slash is a literal name and a name without a slash is an exectuable name (not talking about any immediately evaluated names).
If you test these two lines in GhostScript this output is correct as expected. But what I really want to know is, is the output what you see just the Display value (= the .ToString()) value that you see. or is the '/' slash also being stored in the name value?
For example is the object being stored as (pseudo code):
new Name {
theName = "abc";
isLiteral = true;
}
return ToString() {
if (isLiteral)
return "/abc";
//..
or rather as:
new Name {
theName = "/abc";
}
return ToString() {
return theName;
}