<?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: very strange c in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/very-strange-c/m-p/800556#M314963</link>
    <description>&lt;P&gt;The only strange things there are the poor formatting and the inclusion of periods in the length values.&amp;nbsp; The lengths of SAS variables are always integer so the decimal point is not needed.&amp;nbsp; Including it makes the lengths look like they are formats.&amp;nbsp; Formats are a totally different concept than length.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;length region $10 segment $40 long_run real_bad c cv_95 cv_99 8 cv_accuracy $6;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 07 Mar 2022 06:02:06 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2022-03-07T06:02:06Z</dc:date>
    <item>
      <title>very strange c</title>
      <link>https://communities.sas.com/t5/SAS-Programming/very-strange-c/m-p/800540#M314954</link>
      <description>&lt;PRE&gt;length
region $10.
segment $40.
long_run real_bad c
cv_95 cv_99 8.
cv_accuracy $6.;&lt;/PRE&gt;&lt;P&gt;what can c be here? constant? it does not look like be a var name&lt;/P&gt;&lt;P&gt;I try google and read sas doc, dont even know where to start..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please kindly assist thank.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2022 04:08:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/very-strange-c/m-p/800540#M314954</guid>
      <dc:creator>HeatherNewton</dc:creator>
      <dc:date>2022-03-07T04:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: very strange c</title>
      <link>https://communities.sas.com/t5/SAS-Programming/very-strange-c/m-p/800543#M314955</link>
      <description>&lt;P&gt;Why don't you just submit it before googling it anyway?&lt;/P&gt;
&lt;P&gt;Since it is described in the length statement, it is a space-separated declaration of a variable, or variables and lengths.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data a;
length
region $10.
segment $40.
long_run real_bad c
cv_95 cv_99 8.
cv_accuracy $6.;
run;

proc contents;run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;results:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="japelin_0-1646626512083.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/69198i8FEFB9320708EAC2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="japelin_0-1646626512083.png" alt="japelin_0-1646626512083.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2022 04:17:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/very-strange-c/m-p/800543#M314955</guid>
      <dc:creator>japelin</dc:creator>
      <dc:date>2022-03-07T04:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: very strange c</title>
      <link>https://communities.sas.com/t5/SAS-Programming/very-strange-c/m-p/800556#M314963</link>
      <description>&lt;P&gt;The only strange things there are the poor formatting and the inclusion of periods in the length values.&amp;nbsp; The lengths of SAS variables are always integer so the decimal point is not needed.&amp;nbsp; Including it makes the lengths look like they are formats.&amp;nbsp; Formats are a totally different concept than length.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;length region $10 segment $40 long_run real_bad c cv_95 cv_99 8 cv_accuracy $6;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 07 Mar 2022 06:02:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/very-strange-c/m-p/800556#M314963</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-03-07T06:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: very strange c</title>
      <link>https://communities.sas.com/t5/SAS-Programming/very-strange-c/m-p/800735#M315051</link>
      <description>&lt;P&gt;What makes you think C cannot be a variable name? The rules for basic variable names are 1) must start with a letter or the underscore character, 2) following characters have to be letters, digits or the underscore character. Since C starts with a letter that is enough as there are no other characters.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since C here is numeric, it might be the C involved with physics, or any value you might want to assign a constant to somewhere in the code, or something else obvious to the coder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While I might question the coding style that uses variables such as "______" that is still a valid variable name (or data set name for that matter).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sometimes the names are very descriptive but not obvious to anyone else. From a class I took comes the variable twopi&lt;/P&gt;
&lt;P&gt;Obvious name?&lt;/P&gt;
&lt;P&gt;Maybe you have the mind that would make the not-obvious-to-me connection that the value is something near "2 times Pi".&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2022 21:27:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/very-strange-c/m-p/800735#M315051</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-03-07T21:27:20Z</dc:date>
    </item>
  </channel>
</rss>

