<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Name quote a strange column name in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/417969#M66707</link>
    <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/494"&gt;@XanGregg&lt;/a&gt;&amp;nbsp;Now that I'm testing it with your code it works here as well. Let me investigate and see if I can share the failing example more completely...&lt;/P&gt;</description>
    <pubDate>Tue, 14 Sep 2021 08:46:03 GMT</pubDate>
    <dc:creator>pauldeen</dc:creator>
    <dc:date>2021-09-14T08:46:03Z</dc:date>
    <item>
      <title>Name quote a strange column name</title>
      <link>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/415565#M66465</link>
      <description>&lt;P&gt;I'm trying to insert a column name into a fit model expression. For that I need to escape strange characters in column names to do that we use the :"name"n convention. So how do I go from a string column name to this format?&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;colListY = {"Plating Thickness (m\!"\!")"};
//This doesn't work
newcolumnref = eval insert("\[:"^colListY[1]^"n]\");

//Looking for this end result
:"Plating Thickness (m\!"\!")"n&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Which I can then insert anywhere, for example:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;insert into(expr(Y()), newcolumnref);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Anybody know of a robust way to do this?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 19:56:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/415565#M66465</guid>
      <dc:creator>pauldeen</dc:creator>
      <dc:date>2023-06-09T19:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: Name quote a strange column name</title>
      <link>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/415588#M66466</link>
      <description>&lt;P&gt;You can use the Column, or As Column functions to provide protection to the complex column name&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;colListY = {"Plating Thickness (m\!"\!")"};

newcolumnref = eval insert("column(\!"^colListY[1]^\!")");&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 04 Sep 2021 16:23:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/415588#M66466</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-09-04T16:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Name quote a strange column name</title>
      <link>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/415589#M66467</link>
      <description>&lt;P&gt;If you can avoid getting the name of the column as a string, and get the column object instead, it might be easier. Below, cols is a list of column objects, not their names.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;colListY = {"Plating Thickness (m\!"\!")"};
dt = Open( "$sample_data/big class.jmp" );
dt:age &amp;lt;&amp;lt; setname( colListY[1] );
cols = dt &amp;lt;&amp;lt; getcolumnnames;// don't use the string keyword
/* {name, "Plating Thickness (m\!"\!")"n, sex, height, weight} */

script = Expr(
	Fit Model(
		Y( :weight ),
		Effects( F1 ),
		Personality( "Standard Least Squares" ),
		Run(
			:weight &amp;lt;&amp;lt; {Plot Actual by Predicted( 1 ), Plot Residual by Predicted( 1 ),
			Plot Effect Leverage( 1 )}
		)
	)
);

Substitute Into( script, Expr( F1 ), cols[2] );
Write( Name Expr( script ) );
/*
Fit Model(
	Y( :weight ),
	Effects( "Plating Thickness (m\!"\!")"n ),
	Personality( "Standard Least Squares" ),
	Run(
		:weight &amp;lt;&amp;lt; {Plot Actual by Predicted( 1 ), Plot Residual by Predicted( 1 ),
		Plot Effect Leverage( 1 )}
	)
);
*/&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 04 Sep 2021 17:02:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/415589#M66467</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2021-09-04T17:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Name quote a strange column name</title>
      <link>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/415735#M66485</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2687"&gt;@txnelson&lt;/a&gt;&amp;nbsp;The problem is that when building the fit model script the column() format cannot be used:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Fit Model(
	//Y( :"Plating Thickness (m\!"\!")"n ), &amp;lt;- works
	Y(column("Plating Thickness (m\!"\!"")), //&amp;lt;- does not work
	Effects(
		:"Shift-temp"n, :Position, :Subgroup, :"Shift-temp"n * :Position,
		:"Shift-temp"n * :Subgroup, :Position * :Subgroup
	),
	Personality( "Standard Least Squares" )
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/982"&gt;@Craige_Hales&lt;/a&gt;&amp;nbsp;the users selects the columns with a&amp;nbsp;Col list box() and I pass a &amp;lt;&amp;lt; get items message to it. That gives me the list of column names as a string. I could locate those column names in the table and find the column number but when assembling the effects expression this method will not allow me to build the interactions as shown above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to do expression concatenation to go from string to col reference with name escape?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 10:15:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/415735#M66485</guid>
      <dc:creator>pauldeen</dc:creator>
      <dc:date>2021-09-06T10:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: Name quote a strange column name</title>
      <link>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/415759#M66486</link>
      <description>&lt;P&gt;try this combination of the two answers:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;colListY = {"Plating Thickness (m\!"\!")"};
dt = Open( "$sample_data/big class.jmp" );
dt:age &amp;lt;&amp;lt; setname( colListY[1] );

script = Expr(
	Fit Model(
		Y( F1 ),
		Effects( :height ),
		Personality( "Standard Least Squares" ),
		Run( F1 &amp;lt;&amp;lt; {Plot Actual by Predicted( 1 ), Plot Residual by Predicted( 1 ), Plot Effect Leverage( 1 )} )
	)
);

Substitute Into( script, Expr( F1 ), Column( dt, colListY[1] ) );
Write( Name Expr( script ) );
/*
Fit Model(
	Y( Column( "Plating Thickness (m\!"\!")" ) ),
	Effects( :height ),
	Personality( "Standard Least Squares" ),
	Run(
		Column( "Plating Thickness (m\!"\!")" ) &amp;lt;&amp;lt; {Plot Actual by Predicted( 1 ),
		Plot Residual by Predicted( 1 ), Plot Effect Leverage( 1 )}
	)
)
*/

Eval( script );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="run with column substituted" style="width: 556px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/35545i888660ED4C442CE5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.PNG" alt="run with column substituted" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;run with column substituted&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 10:34:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/415759#M66486</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2021-09-06T10:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Name quote a strange column name</title>
      <link>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/415781#M66487</link>
      <description>&lt;P&gt;More notes:&lt;/P&gt;&lt;P&gt;I explicitly referenced the table in the column function. Might make a difference if multiple tables are open.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are concatenating strings, this might do it; you can always use the :"height"n even if not required (height, for example.)&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;colreftxt = ":" || Regex( Log Capture( Print( colListY[1] ) ), "^\s*(.*)\s*$", "\1" ) || "n";
write(colreftxt);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;:"Plating Thickness (m\!"\!")"n&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=" language-jsl"&gt;&lt;/CODE&gt;which might be escaped right. Expression manipulation will probably be easier than parsing text assembled like this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 11:34:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/415781#M66487</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2021-09-06T11:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: Name quote a strange column name</title>
      <link>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/415784#M66488</link>
      <description>&lt;P&gt;Thanks Craige, It seems like this is more complicated than it should be but it works :)&lt;/img&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For anybody trying to do this, I put Craige's solution in a function:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;WrapColumns = Function({ColName},{default local},
	ReturnList = {};
	If(is list(ColName),	
		For(i=1, i&amp;lt;=n items(ColName), i++,
			insert into(ReturnList, parse(":" || Regex( Log Capture( Print( ColName[1] ) ), "^\s*(.*)\s*$", "\1" ) || "n");)
		);
	,
		insert into(ReturnList, parse(":" || Regex( Log Capture( Print( ColName ) ), "^\s*(.*)\s*$", "\1" ) || "n");)
	);
	Return(ReturnList);
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 06 Sep 2021 12:33:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/415784#M66488</guid>
      <dc:creator>pauldeen</dc:creator>
      <dc:date>2021-09-06T12:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Name quote a strange column name</title>
      <link>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/415786#M66490</link>
      <description>&lt;P&gt;It &lt;EM&gt;is&lt;/EM&gt; too complicated. You can probably replace the regex() with trim() because that is all it is doing. Originally I thought it was going to remove the outer quotation marks that print() leaves behind. (edit: and there is no need to trim at all for the input to parse!)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You might have [1] where you need [i] in your example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 13:59:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/415786#M66490</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2021-09-06T13:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Name quote a strange column name</title>
      <link>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/415792#M66492</link>
      <description>&lt;P&gt;Updated with Craige's feedback, thanks for the 1/i!&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;WrapColumns = Function({ColName},{default local},
	ReturnList = {};
	If(is list(ColName),	
		For(i=1, i&amp;lt;=n items(ColName), i++,
			insert into(ReturnList, parse(":" || Log Capture( Print( ColName[i] ) ) || "n"))
		);
	,
		insert into(ReturnList, parse(":" || Log Capture( Print( ColName ) ) || "n"))
	);
	Return(ReturnList);
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 06 Sep 2021 14:22:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/415792#M66492</guid>
      <dc:creator>pauldeen</dc:creator>
      <dc:date>2021-09-06T14:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Name quote a strange column name</title>
      <link>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/415807#M66493</link>
      <description>&lt;P&gt;To explain for any one watching: the print function does two things: it escapes the internal quotation marks (and other special cases) and it adds external quotation marks. That produces a valid string, and Paul's code then adds a : in front and an n afterward and parses the result into a JSL &lt;EM&gt;column name constant&lt;/EM&gt;. There might, or might not, be an actual column that the &lt;EM&gt;column name constant&lt;/EM&gt; can attach to when used in a script. The column does not need to exist when Paul's code runs. Without the print() function, I'm not sure what function I'd use to get the escaping done (the rules are too complicated to write my own.) Because the original name contained embedded quotation marks, it needs the escaping before being turned into a &lt;EM&gt;column name constant&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;If the data table is open, you can use the column() function in much the same way to get a &lt;EM&gt;column object&lt;/EM&gt; that (I'm pretty sure) can be used in all the same places that the &lt;EM&gt;column name constant&lt;/EM&gt; can appear. That &lt;EM&gt;column object&lt;/EM&gt; refers to a real column, at least until the table is closed. Launching a platform with an expired &lt;EM&gt;column object&lt;/EM&gt; or a &lt;EM&gt;column name constant&lt;/EM&gt; that doesn't match a table column will produce an expected error message.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/494"&gt;@XanGregg&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 14:48:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/415807#M66493</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2021-09-06T14:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Name quote a strange column name</title>
      <link>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/416319#M66561</link>
      <description>&lt;P&gt;Can you elaborate on the "does not work" part? I tried versions back to JMP 15 and the following seems to work. Maybe I'm missing part of the issue.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Data Table( "Big Class" ):weight &amp;lt;&amp;lt; Set Name( "weight\!"\!"" );

Fit Model(
	Y( Column( "weight\!"\!"" ) ),
	Effects( :age, :sex, :height ),
	Personality( "Standard Least Squares" ),
	Run()
);
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Sep 2021 13:43:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/416319#M66561</guid>
      <dc:creator>XanGregg</dc:creator>
      <dc:date>2021-09-08T13:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Name quote a strange column name</title>
      <link>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/416324#M66562</link>
      <description>&lt;P&gt;Just for giggles, I took the code back to JMP 11.2.1 and it works great.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 13:49:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/416324#M66562</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-09-08T13:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: Name quote a strange column name</title>
      <link>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/417969#M66707</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/494"&gt;@XanGregg&lt;/a&gt;&amp;nbsp;Now that I'm testing it with your code it works here as well. Let me investigate and see if I can share the failing example more completely...&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2021 08:46:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/417969#M66707</guid>
      <dc:creator>pauldeen</dc:creator>
      <dc:date>2021-09-14T08:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Name quote a strange column name</title>
      <link>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/418305#M66731</link>
      <description>&lt;P&gt;This is a great question!&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2021 20:28:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/418305#M66731</guid>
      <dc:creator>jmp_demo</dc:creator>
      <dc:date>2021-09-14T20:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: Name quote a strange column name</title>
      <link>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/418478#M66747</link>
      <description>&lt;P&gt;This is a great question!&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 19:50:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/418478#M66747</guid>
      <dc:creator>jmp_demo</dc:creator>
      <dc:date>2021-09-15T19:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: Name quote a strange column name</title>
      <link>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/419313#M66833</link>
      <description>&lt;P&gt;After carefull testing and going back through a few of my scripts I have not been able to make it fail again. Thanks for checking!&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2021 12:51:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/419313#M66833</guid>
      <dc:creator>pauldeen</dc:creator>
      <dc:date>2021-09-20T12:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: Name quote a strange column name</title>
      <link>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/423631#M67268</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/494"&gt;@XanGregg&lt;/a&gt;&amp;nbsp;Column formulas don't work this way and the special quoting methods does work:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;colListY = {"Plating Thickness (m\!"\!")"};
dt = Open( "$sample_data/big class.jmp" );
dt:age &amp;lt;&amp;lt; setname( colListY[1] );
eval(eval expr(dt &amp;lt;&amp;lt; New Column( "test",
		Numeric,
		"Continuous",
		Format( "Fixed Dec", 12, 2 ),
		Formula( expr(column(colListY[1])) - :height ),
		Set Display Width( 78 )
	)));&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;It produces a function column in which the formula is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Column( "Plating Thickness (m\!"\!")" ) -  /*###*/:height/*###*/&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;which does not evaluate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This does:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;WrapColumns = Function({ColName},{default local},
	ReturnList = {};
	If(is list(ColName),	
		For(i=1, i&amp;lt;=n items(ColName), i++,
			insert into(ReturnList, parse(":" || Log Capture( Print( ColName[i] ) ) || "n"))
		);
	,
		insert into(ReturnList, parse(":" || Log Capture( Print( ColName ) ) || "n"))
	);
	Return(ReturnList);
);

eval(eval expr(dt &amp;lt;&amp;lt; New Column( "test2",
		Numeric,
		"Continuous",
		Format( "Fixed Dec", 12, 2 ),
		Formula( expr(WrapColumns(colListY)[1]) - :height ),
		Set Display Width( 78 )
	)));&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Do you know a way to fix this with the column() system?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Oct 2021 13:41:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/423631#M67268</guid>
      <dc:creator>pauldeen</dc:creator>
      <dc:date>2021-10-05T13:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: Name quote a strange column name</title>
      <link>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/423632#M67269</link>
      <description>&lt;P&gt;(without trying it, so might be wrong)&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Formula( column(expr(colListY[1])) - :height ),&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I think you want the expr inside the column. That way the column function is evaluated later, using the string captured earlier.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Oct 2021 13:54:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/423632#M67269</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2021-10-05T13:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Name quote a strange column name</title>
      <link>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/423669#M67275</link>
      <description>&lt;P&gt;That results in a column formula error for me&lt;/P&gt;</description>
      <pubDate>Tue, 05 Oct 2021 14:56:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/423669#M67275</guid>
      <dc:creator>pauldeen</dc:creator>
      <dc:date>2021-10-05T14:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Name quote a strange column name</title>
      <link>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/423702#M67283</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;colListY = {"Plating Thickness (m\!"\!")"};
dt = Open( "$sample_data/big class.jmp" );
dt:age &amp;lt;&amp;lt; setname( colListY[1] );
Eval(
	Eval Expr(
		dt &amp;lt;&amp;lt; New Column( "test",
			Numeric,
			"Continuous",
			Format( "Fixed Dec", 12, 2 ),
			Formula( Column( Expr( colListY[1] ) )[]  ),
			Set Display Width( 78 )
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The empty [ ] tells JMP to evaluate the column for the current row.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Building column formulas like this probably hides the underlying column dependencies from JMP's formula evaluator; see &lt;A href="https://community.jmp.com/t5/Discussions/Dealing-with-cycled-or-recurrent-formulas-in-a-table-a-k-a/m-p/410727#M66038" target="_self"&gt;discussion&lt;/A&gt;. If you have formula columns depending on other formula columns, JMP may not be able to peer into this indirection to figure out what to evaluate first.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Oct 2021 15:39:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Name-quote-a-strange-column-name/m-p/423702#M67283</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2021-10-05T15:39:33Z</dc:date>
    </item>
  </channel>
</rss>

