<?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: SPLIT command in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/SPLIT-command/m-p/74311#M33624</link>
    <description>Can't proof it and maybe you are right. The first was 18-something and the second 2219 I guess. May be they didn't call it v2, because the programmers wear a shirt "no v2 anymore" before the launch. There was a picture in the web of them. &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;&lt;BR /&gt;
&lt;BR /&gt;
In every case there was a bug with SPLIT in the fdirst release of AC9.</description>
    <pubDate>Wed, 30 Aug 2006 21:33:11 GMT</pubDate>
    <dc:creator>Frank Beister</dc:creator>
    <dc:date>2006-08-30T21:33:11Z</dc:date>
    <item>
      <title>SPLIT command</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/SPLIT-command/m-p/74306#M33619</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hi a while back I posted a Keynote Label object in the freebie bit of the forum. &lt;BR /&gt;
&lt;BR /&gt;
I would like to improve it but I'm getting stuck trying to use the SPLIT command. A bit annoying as I used it quite easily with my metal stud object.&lt;BR /&gt;
&lt;BR /&gt;
What I'm trying to do is allow the user to make a selection from a pop up list of possible notes that he/she/it can choose from. I only want the first two digits of the selected note as that then tells the script which note to use.&lt;BR /&gt;
&lt;BR /&gt;
The Notes look like this....&lt;BR /&gt;
&lt;FONT color="#007FFF"&gt;&lt;BR /&gt;
"01 Internal lining system comprising two layers",&lt;BR /&gt;
"02 Weatherproof internal lining system comprising",&lt;BR /&gt;
"03 Secondary steelwork to Engineer's detail WP220",&lt;BR /&gt;
"04 Stone rainscreen cladding incorporating ",&lt;BR /&gt;
"05 Black tissue faced mineral wool insulation WP325",&lt;BR /&gt;
"06 Standard pressure capped PPC finished",&lt;BR /&gt;
"07 Structural silicone glazing comprising extruded",&lt;BR /&gt;
"08 Shopfront glazing comprising extruded",&lt;BR /&gt;
"09 Shuffle glaz.... etc etc&lt;BR /&gt;
&lt;/FONT&gt;&lt;BR /&gt;
In the Master script I have this...&lt;BR /&gt;
&lt;BR /&gt;
&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;knserial = SPLIT (kncon,  "%s" , knselec)&lt;BR /&gt;
&lt;BR /&gt;
knoteref = knselec&lt;E&gt;&lt;/E&gt;&lt;BR /&gt;
&lt;BR /&gt;
kncon is a parameter that the Parameter Script uses to give the user a list of possible notes to choose from&lt;BR /&gt;
&lt;BR /&gt;
In the 2d script I have this&lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT color="#007FFF"&gt;&lt;BR /&gt;
&lt;BR /&gt;
IF knoteref = "01" THEN GOSUB 101&lt;BR /&gt;
IF knselec = "02" THEN GOSUB 102&lt;BR /&gt;
IF knselec = "03" THEN GOSUB 103&lt;BR /&gt;
IF knselec = "04" THEN GOSUB 104&lt;BR /&gt;
IF knselec = "05" THEN GOSUB 105&lt;BR /&gt;
&lt;/FONT&gt;&lt;BR /&gt;
&lt;BR /&gt;
but I get an error saying &lt;BR /&gt;
&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;Incompatible expression at line 153&lt;E&gt;&lt;/E&gt;&lt;BR /&gt;
&lt;BR /&gt;
I've tried getting it to extract it as a numerical expression and and as a string expression but I still get the error. &lt;BR /&gt;
&lt;BR /&gt;
Any help would be much appreciated&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 30 Aug 2006 14:54:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/SPLIT-command/m-p/74306#M33619</guid>
      <dc:creator>fuzzytnth3</dc:creator>
      <dc:date>2006-08-30T14:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: SPLIT command</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/SPLIT-command/m-p/74307#M33620</link>
      <description>Why don't you use this:&lt;BR /&gt;
&lt;B&gt;IF STRSUB(kncon,1,2) = "01" THEN GOSUB 101&lt;/B&gt;</description>
      <pubDate>Wed, 30 Aug 2006 15:04:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/SPLIT-command/m-p/74307#M33620</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2006-08-30T15:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: SPLIT command</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/SPLIT-command/m-p/74308#M33621</link>
      <description>Thanks I will give that a spin&lt;BR /&gt;
&lt;BR /&gt;
&lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;</description>
      <pubDate>Wed, 30 Aug 2006 15:52:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/SPLIT-command/m-p/74308#M33621</guid>
      <dc:creator>fuzzytnth3</dc:creator>
      <dc:date>2006-08-30T15:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: SPLIT command</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/SPLIT-command/m-p/74309#M33622</link>
      <description>This should work too:
&lt;PRE&gt;knserial = SPLIT (kncon, "%n %s" , knselec, dummystring)
knoteref = knselec
IF knoteref = 1 THEN GOSUB 101
&lt;/PRE&gt;

If it does not work, you should upgrade your AC9v1 to v2, because here the v1 has a bug.&lt;BR /&gt;
&lt;BR /&gt;
(Works without dummy in AC 8.1 too.)</description>
      <pubDate>Wed, 30 Aug 2006 20:04:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/SPLIT-command/m-p/74309#M33622</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2006-08-30T20:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: SPLIT command</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/SPLIT-command/m-p/74310#M33623</link>
      <description>Hello Frank,&lt;BR /&gt;
I did not know that there was a v2 version of AC 9.&lt;BR /&gt;
When I "get info" on my AC 9 application, it says &lt;BR /&gt;
"version 9.0.0 v1 USA (8335/2219)".&lt;BR /&gt;
I launched AC 9 and went to "check for updates"&lt;BR /&gt;
and found that my version was the latest.&lt;BR /&gt;
Are you referring to the 2219 build or is there&lt;BR /&gt;
a v2 of the AC 9 application you have ?&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Wed, 30 Aug 2006 20:53:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/SPLIT-command/m-p/74310#M33623</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-08-30T20:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: SPLIT command</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/SPLIT-command/m-p/74311#M33624</link>
      <description>Can't proof it and maybe you are right. The first was 18-something and the second 2219 I guess. May be they didn't call it v2, because the programmers wear a shirt "no v2 anymore" before the launch. There was a picture in the web of them. &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;&lt;BR /&gt;
&lt;BR /&gt;
In every case there was a bug with SPLIT in the fdirst release of AC9.</description>
      <pubDate>Wed, 30 Aug 2006 21:33:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/SPLIT-command/m-p/74311#M33624</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2006-08-30T21:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: SPLIT command</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/SPLIT-command/m-p/74312#M33625</link>
      <description>Thanks, Frank,&lt;BR /&gt;
I was worried there for a minute that I had missed something&lt;BR /&gt;
(like maybe a T shirt).  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt; &lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Wed, 30 Aug 2006 21:53:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/SPLIT-command/m-p/74312#M33625</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-08-30T21:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: SPLIT command</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/SPLIT-command/m-p/74313#M33626</link>
      <description>&lt;BLOCKQUOTE&gt;F. wrote:&lt;BR /&gt;Why don't you use this:&lt;BR /&gt;
&lt;B&gt;IF STRSUB(kncon,1,2) = "01" THEN GOSUB 101&lt;/B&gt;&lt;/BLOCKQUOTE&gt;

Thanks Frank that worked a treat. I shall post the latest version once I've finished tweaking the "Help" prompts I have in the object.&lt;BR /&gt;
&lt;BR /&gt;
Thanks again</description>
      <pubDate>Wed, 30 Aug 2006 21:53:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/SPLIT-command/m-p/74313#M33626</guid>
      <dc:creator>fuzzytnth3</dc:creator>
      <dc:date>2006-08-30T21:53:46Z</dc:date>
    </item>
  </channel>
</rss>

