<?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: Escape-character in GDL ? in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Escape-character-in-GDL/m-p/119732#M16619</link>
    <description>you should post the part, which you have written to read the file.</description>
    <pubDate>Tue, 31 May 2011 15:31:15 GMT</pubDate>
    <dc:creator>Frank Beister</dc:creator>
    <dc:date>2011-05-31T15:31:15Z</dc:date>
    <item>
      <title>Escape-character in GDL ?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Escape-character-in-GDL/m-p/119724#M16611</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I'm about to analyze a string containing this:&lt;BR /&gt;
record = bla-bla-bla   "texture174" = "CD" bla-bla-bla&lt;BR /&gt;
&lt;BR /&gt;
I would like to search for the "-substring  &lt;BR /&gt;
I use STRSTR(record, "\"texture"), but when I check the script, I get an error message.&lt;BR /&gt;
So how should I escape special characters like " ?&lt;BR /&gt;
&lt;BR /&gt;
Thank you!&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 30 May 2011 13:10:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Escape-character-in-GDL/m-p/119724#M16611</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-30T13:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Escape-character in GDL ?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Escape-character-in-GDL/m-p/119725#M16612</link>
      <description>Although I'm not totally sure it will work in that case you can usually use ' instead of ".  Like: strstr(record,"'\'texture")&lt;BR /&gt;
Hope this helps&lt;BR /&gt;
regards,&lt;BR /&gt;
olivier</description>
      <pubDate>Tue, 31 May 2011 07:43:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Escape-character-in-GDL/m-p/119725#M16612</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-31T07:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Escape-character in GDL ?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Escape-character-in-GDL/m-p/119726#M16613</link>
      <description>Hi Olivier&lt;BR /&gt;
Yes  today, after a good night sleep, I figured out that I could simply replace the " with '. So I search for '"texture', and that worked!&lt;BR /&gt;
But I always get new problems trying to do new things.&lt;BR /&gt;
So now I'm struggelig with this:&lt;BR /&gt;
&lt;BR /&gt;
My file start with:&lt;BR /&gt;
DIM	tmp_LWA_COGSMASKEDIMAGE_BASECOLOR[3]&lt;BR /&gt;
        tmp_LWA_COGSMASKEDIMAGE_BASECOLOR[1] = 0.9803921580315&lt;BR /&gt;
        tmp_LWA_COGSMASKEDIMAGE_BASECOLOR[2] = 0.9098039269447&lt;BR /&gt;
        tmp_LWA_COGSMASKEDIMAGE_BASECOLOR[3] = 0.7803921699524&lt;BR /&gt;
define texture "Texture174" "CD",        0.3,        0.3,  932,          0&lt;BR /&gt;
&lt;BR /&gt;
define material	"PKSLeatherCD" 20,&lt;BR /&gt;
bla&lt;BR /&gt;
bla&lt;BR /&gt;
bla&lt;BR /&gt;
&lt;BR /&gt;
The first record contains only DIM but miss the rest of the line, &lt;BR /&gt;
and the next records are ok, but the reading ends at the empty line. My loop test for n &amp;gt; 0 (n= INPUT(.....))&lt;BR /&gt;
Between the DIM and the rest of the line is a tabulator.&lt;BR /&gt;
I have also tried to specify the separator \n  when I open the file, but no change.&lt;BR /&gt;
Now I'm trying to find an overview of special characters like \t, \n a.s.o.&lt;BR /&gt;
but I've not found it so far. &lt;BR /&gt;
I would like to use the character that really ends the lines as a separator and test for a character that ends the file (if it exists) to end the loop.</description>
      <pubDate>Tue, 31 May 2011 08:23:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Escape-character-in-GDL/m-p/119726#M16613</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-31T08:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Escape-character in GDL ?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Escape-character-in-GDL/m-p/119727#M16614</link>
      <description>It seem like the tabulator is used as the separator, even if I give the \n as a separator when I open the file.&lt;BR /&gt;
Now I test at n &amp;lt;&amp;gt; -1 where n= INPUT(......)&lt;BR /&gt;
Then the reading do not end at the empty line.&lt;BR /&gt;
I see that the Unicode character set is used in GDL. I've found a table,&lt;BR /&gt;
but I do not understand the connection between the \t, \n - notation at one side and the Unicode-table at the other side. &lt;BR /&gt;
If I want to use CR and LF as a separator, what should I test for?&lt;BR /&gt;
I tried SEPARATOR = 'CRLF', but the tabulator is still beeing used as a separator.&lt;BR /&gt;
Please help!</description>
      <pubDate>Tue, 31 May 2011 08:49:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Escape-character-in-GDL/m-p/119727#M16614</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-31T08:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Escape-character in GDL ?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Escape-character-in-GDL/m-p/119728#M16615</link>
      <description>I'm not sure about what you are trying to achieve, but I guess u want to define variables ( in that case tmp_LWA_COGSMASKEDIMAGE_BASECOLOR)&lt;BR /&gt;
in a separate text file.&lt;BR /&gt;
If that is the case, instead of using txt in plugin to read in the data, you could save your txt file as a gdl file(just change the extension to ".gdl") and call it from your main script. If there is a "tmp_LWA_COGSMASKEDIMAGE_BASECOLOR" existing in your main object,&lt;BR /&gt;
then when you will call the gdl file the values defined in it will be transferred to the main object&lt;BR /&gt;
&lt;BR /&gt;
in short&lt;BR /&gt;
-a main object with a tmp_LWA_COGSMASKEDIMAGE_BASECOLOR parameter&lt;BR /&gt;
+&lt;BR /&gt;
call "values1.gdl"&lt;BR /&gt;
&lt;BR /&gt;
-a values1.gdl file with your gdl code defining the tmp_LWA_COGSMASKEDIMAGE_BASECOLOR in it.&lt;BR /&gt;
&lt;BR /&gt;
Hope this helps,&lt;BR /&gt;
olivier</description>
      <pubDate>Tue, 31 May 2011 11:25:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Escape-character-in-GDL/m-p/119728#M16615</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-31T11:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Escape-character in GDL ?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Escape-character-in-GDL/m-p/119729#M16616</link>
      <description>Now I'm confused. &lt;BR /&gt;
My idea is to make a material the regular way, write the definition to a file "Material.gdl", put the names of the other material's textures into another file. Then I want make a program (GDL-object) merging this information together in a sensible way, and write the result to a file.&lt;BR /&gt;
&lt;BR /&gt;
Then I can copy/paste the new material-definitions into the master-script of the object needing this materials.&lt;BR /&gt;
&lt;BR /&gt;
But, unfortunately I meet some challenges  .....</description>
      <pubDate>Tue, 31 May 2011 11:54:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Escape-character-in-GDL/m-p/119729#M16616</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-31T11:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Escape-character in GDL ?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Escape-character-in-GDL/m-p/119730#M16617</link>
      <description>Sorry but I'm ever more confused, I really don't get it.&lt;BR /&gt;
Maybe I'll figure it out after one night of sleep</description>
      <pubDate>Tue, 31 May 2011 12:50:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Escape-character-in-GDL/m-p/119730#M16617</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-31T12:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Escape-character in GDL ?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Escape-character-in-GDL/m-p/119731#M16618</link>
      <description>I have a background as a system developer, so it is such things we are likely to do. I suppose it is cryptic to others that do not have the same background.&lt;BR /&gt;
&lt;BR /&gt;
So I just try to automate the job of making material definitions that has small variations. It's only the texture-iterator and the material name and the texture-filename that changes for every definition.&lt;BR /&gt;
&lt;BR /&gt;
If you just use the Write GDL-command from the Special Menu, a file with material definitions is  created. &lt;BR /&gt;
But it is possible to make such a file programatically too.&lt;BR /&gt;
GDL has possibilities to open a file, read from it, test the strings and replace part of strings, and write the changed content back to another file.&lt;BR /&gt;
But I'm struggeling testing on special characters like tabulator, linefeed a.s.o.&lt;BR /&gt;
&lt;BR /&gt;
You are probably even more confused...?? &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/E&gt;</description>
      <pubDate>Tue, 31 May 2011 15:21:29 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Escape-character-in-GDL/m-p/119731#M16618</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-31T15:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Escape-character in GDL ?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Escape-character-in-GDL/m-p/119732#M16619</link>
      <description>you should post the part, which you have written to read the file.</description>
      <pubDate>Tue, 31 May 2011 15:31:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Escape-character-in-GDL/m-p/119732#M16619</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2011-05-31T15:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Escape-character in GDL ?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Escape-character-in-GDL/m-p/119733#M16620</link>
      <description>This is the input-file: &lt;BR /&gt;
DIM	tmp_LWA_COGSMASKEDIMAGE_BASECOLOR[3]&lt;BR /&gt;
        tmp_LWA_COGSMASKEDIMAGE_BASECOLOR[1] = 0.9803921580315&lt;BR /&gt;
        tmp_LWA_COGSMASKEDIMAGE_BASECOLOR[2] = 0.9098039269447&lt;BR /&gt;
        tmp_LWA_COGSMASKEDIMAGE_BASECOLOR[3] = 0.7803921699524&lt;BR /&gt;
define texture "Texture174" "CD",        0.3,        0.3,  932,          0&lt;BR /&gt;
&lt;BR /&gt;
define material	"PKSLeatherCD" 20,&lt;BR /&gt;
	  0.980392,   0.909804,   0.780392,&lt;BR /&gt;
	 0.92,  0.66,  0.14,     0,    4.6,     0,&lt;BR /&gt;
	         1,          1,          1,&lt;BR /&gt;
	         0,          0,          0,&lt;BR /&gt;
	         0, ind(fill, "Background"),    -4,&lt;BR /&gt;
	ind(texture, "Texture174")		ADDITIONAL_DATA	LWA_COLOR = "LWA_COGSMASKEDIMAGE",&lt;BR /&gt;
        LWA_COGSMASKEDIMAGE_BASECOLOR = tmp_LWA_COGSMASKEDIMAGE_BASECOLOR,&lt;BR /&gt;
        LWA_COGSMASKEDIMAGE_FILE = "CD", LWA_COGSMASKEDIMAGE_SCALE = 0.3000000119209,&lt;BR /&gt;
        LWA_COGSMASKEDIMAGE_ASPRATIO =            1, LWA_COGSMASKEDIMAGE_MASK_FILE = "CD",&lt;BR /&gt;
        LWA_COGSMASKEDIMAGE_MASKSCALE = 0.3000000119209, LWA_COGSMASKEDIMAGE_MASPRATIO =            1,&lt;BR /&gt;
        LWA_REFLECTANCE = "LWA_RFMATTE", LWA_RFMATTE_AMBIENT = 0.9200000166893,&lt;BR /&gt;
        LWA_RFMATTE_DIFFUSE = 0.660000026226, LWA_TRANSPARENCY = "LWA_TRNONE",&lt;BR /&gt;
        LWA_TEXTURESPACE = "LWA_TSGSREPLICATE", LWA_TSGSREPLICATE_SREFLECT =            1,&lt;BR /&gt;
        LWA_TSGSREPLICATE_TREFLECT =            1, LWA_TSGSREPLICATE_SSIZE = 0.3000000119209,&lt;BR /&gt;
        LWA_TSGSREPLICATE_TSIZE = 0.3000000119209, LWA_TSGSREPLICATE_ANGLE =            0,&lt;BR /&gt;
        LWA_PIPELINE = "LWA_PLNONE", LWA_DISPLACEMENT = "LWA_DPWBUMPMAP",&lt;BR /&gt;
        LWA_DPWBUMPMAP_FILE = "CD", LWA_DPWBUMPMAP_WIDTH = 0.5299999713898,&lt;BR /&gt;
        LWA_DPWBUMPMAP_HEIGHT = 0.5299999713898, LWA_DPWBUMPMAP_AMPLITUDE = 0.01999999955297,&lt;BR /&gt;
        LWA_DPWBUMPMAP_SOFTNESS =            1, LWA_DPWBUMPMAP_SCALE =            1,&lt;BR /&gt;
        LWA_DPWBUMPMAP_ASPRATIO =            1&lt;BR /&gt;
&lt;BR /&gt;
This is the code:&lt;BR /&gt;
materialDefinition = open ("TEXT", "Material.gdl", "mode = RO,LIBRARY")&lt;BR /&gt;
materialNames = open ("TEXT", "MaterialNames.gdl", "mode = RO,LIBRARY")&lt;BR /&gt;
Master_GDL = open ("TEXT", "Master_GDL_my materials.gdl","SEPARATOR = '\n', mode = WA,LIBRARY")&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
i = 1&lt;BR /&gt;
n = INPUT (materialDefinition , i, 1, field1, field2, field3, field4, field5, field6, field7)&lt;BR /&gt;
&lt;BR /&gt;
WHILE n &amp;lt;&amp;gt; -1  DO&lt;BR /&gt;
&lt;BR /&gt;
    definition&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;[1] = field1&lt;BR /&gt;
    definition&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;[2] = field2   &lt;BR /&gt;
    definition&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;[3] = field3&lt;BR /&gt;
    definition&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;[4] = field4 &lt;BR /&gt;
    definition&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;[5] = field5&lt;BR /&gt;
    definition&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;[6] = field6&lt;BR /&gt;
    definition&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;[7] = field7&lt;BR /&gt;
&lt;BR /&gt;
    OUTPUT Master_GDL, i, 1, field1, field2, field3, field4, field5, field6, field7&lt;BR /&gt;
&lt;BR /&gt;
    field1 = ""&lt;BR /&gt;
    field2 = ""&lt;BR /&gt;
    field3 = ""&lt;BR /&gt;
    field4 = ""&lt;BR /&gt;
    field5 = ""&lt;BR /&gt;
    field6 = ""&lt;BR /&gt;
    field7 = ""&lt;BR /&gt;
&lt;BR /&gt;
   i = i + 1&lt;BR /&gt;
   n = INPUT (materialDefinition , i, 1, field1, field2, field3, field4, field5, field6, field7)&lt;BR /&gt;
ENDWHILE&lt;BR /&gt;
CLOSE materialDefinition&lt;BR /&gt;
CLOSE Master_GDL &lt;BR /&gt;
&lt;BR /&gt;
The result is attached.&lt;BR /&gt;
How do I put in CR LF sequences after each line?</description>
      <pubDate>Tue, 31 May 2011 17:26:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Escape-character-in-GDL/m-p/119733#M16620</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-31T17:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Escape-character in GDL ?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Escape-character-in-GDL/m-p/119734#M16621</link>
      <description>I suppose all the text in the last message scares most people. Too much to read, so I try this instead:&lt;BR /&gt;
&lt;BR /&gt;
OUTPUT Master_GDL, i, 1, field1, field2, field3, field4, field5, field6, field7, "\n"&lt;BR /&gt;
&lt;BR /&gt;
I try to write some variables separated with tabulators to a file.&lt;BR /&gt;
But every output should be ended by a newline. &lt;BR /&gt;
The statement above do not function in such a way.&lt;BR /&gt;
When I read the file into Notepad, the content of the whole file is there.&lt;BR /&gt;
When I read it into OpenOffice then only the first line is shown.&lt;BR /&gt;
&lt;BR /&gt;
Can anyone tell me how to end an output with an understandable newline or maybe CR and NL ?</description>
      <pubDate>Wed, 01 Jun 2011 07:50:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Escape-character-in-GDL/m-p/119734#M16621</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-01T07:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Escape-character in GDL ?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Escape-character-in-GDL/m-p/119735#M16622</link>
      <description>Ok now I understand.&lt;BR /&gt;
Thanks for the explaination. &lt;BR /&gt;
Although I don't understand if you manage to automatize this export of material definitions or you have to do it manually through special menu command.&lt;BR /&gt;
Anyway I'don't see yet what is wrong in your code, I'll try to help.&lt;BR /&gt;
I've used text output to create gdl files, but not so much to read txt files.&lt;BR /&gt;
Hope you manage soon</description>
      <pubDate>Wed, 01 Jun 2011 07:51:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Escape-character-in-GDL/m-p/119735#M16622</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-01T07:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Escape-character in GDL ?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Escape-character-in-GDL/m-p/119736#M16623</link>
      <description>Actually I'm not sure you need to put an end of line manually.&lt;BR /&gt;
I think every output statement creates a new line.</description>
      <pubDate>Wed, 01 Jun 2011 07:59:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Escape-character-in-GDL/m-p/119736#M16623</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-01T07:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Escape-character in GDL ?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Escape-character-in-GDL/m-p/119737#M16624</link>
      <description>My output just comes as one long line, or it looks like that in Notepad.&lt;BR /&gt;
&lt;BR /&gt;
OpenOffice just show the first line, so probably my "program" make some&lt;BR /&gt;
format it do not understand.</description>
      <pubDate>Wed, 01 Jun 2011 09:17:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Escape-character-in-GDL/m-p/119737#M16624</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-01T09:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Escape-character in GDL ?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Escape-character-in-GDL/m-p/119738#M16625</link>
      <description>I'm struggeling so much with the special characters.&lt;BR /&gt;
Here is another example. I'll show you an extract of my code:&lt;BR /&gt;
&lt;BR /&gt;
WHILE n &amp;lt;&amp;gt; -1  DO&lt;BR /&gt;
print n&lt;BR /&gt;
      record = ""&lt;BR /&gt;
	  FOR j = 1 TO n&lt;BR /&gt;
		definition&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;&lt;J&gt; = field&lt;J&gt;&lt;BR /&gt;
                IF VARTYPE(definition&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;&lt;J&gt;) = 1 THEN&lt;BR /&gt;
                    definition&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;&lt;J&gt; =  STR(definition&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;&lt;J&gt;, 15, 13)&lt;BR /&gt;
                ENDIF&lt;BR /&gt;
                record = record + definition&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;&lt;J&gt; + "\t"&lt;BR /&gt;
                print record&lt;BR /&gt;
	  NEXT j&lt;BR /&gt;
&lt;BR /&gt;
          OUTPUT Master_GDL, i, 0, record&lt;BR /&gt;
&lt;BR /&gt;
The problem is:&lt;BR /&gt;
When two fields are returned, the record will only consist of the first, as long as I put tabulator into the record.&lt;BR /&gt;
If I remove the tabulator, then the record consists of both fields, but it's merged together, and it should not be that way.&lt;BR /&gt;
&lt;BR /&gt;
Are there someone that can tell me how to deal with the special characters?&lt;/J&gt;&lt;/J&gt;&lt;/J&gt;&lt;/J&gt;&lt;/J&gt;&lt;/J&gt;</description>
      <pubDate>Wed, 01 Jun 2011 09:38:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Escape-character-in-GDL/m-p/119738#M16625</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-01T09:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: Escape-character in GDL ?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Escape-character-in-GDL/m-p/119739#M16626</link>
      <description>Eventually I found the solution I've been looking for the last days.&lt;BR /&gt;
And I thought maybe someone else also will have use of the same piece of knowledge.&lt;BR /&gt;
&lt;BR /&gt;
I looked in the Unicode-map, and tested out the different notifications.&lt;BR /&gt;
When I wrote:&lt;BR /&gt;
&lt;BR /&gt;
IF VARTYPE(field&lt;J&gt;) = 1 THEN&lt;BR /&gt;
   IF field&lt;J&gt; = HT THEN&lt;BR /&gt;
     print "Tab"&lt;BR /&gt;
   ENDIF&lt;BR /&gt;
ENDIF&lt;BR /&gt;
&lt;BR /&gt;
Then, I was able to separate tabs from zeros.&lt;BR /&gt;
Hopfully I can use this notification in other programatic tasks too.&lt;BR /&gt;
&lt;BR /&gt;
Here is a link to the Unicode-map:&lt;BR /&gt;
&lt;A href="http://en.wikipedia.org/wiki/List_of_Unicode_characters#C0_Controls_and_Basic_Latin" target="_blank"&gt;&lt;LINK_TEXT text="http://en.wikipedia.org/wiki/List_of_Un ... asic_Latin"&gt;http://en.wikipedia.org/wiki/List_of_Unicode_characters#C0_Controls_and_Basic_Latin&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;/J&gt;&lt;/J&gt;</description>
      <pubDate>Wed, 01 Jun 2011 12:02:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Escape-character-in-GDL/m-p/119739#M16626</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-01T12:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Escape-character in GDL ?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Escape-character-in-GDL/m-p/119740#M16627</link>
      <description>I thought I had learned something useful, but when I made a subroutine, testing a numeric  field from an INPUT-statement against every special character in the Unicode-set, every test was true. &lt;BR /&gt;
And that can't be true.&lt;BR /&gt;
&lt;BR /&gt;
		  IF VARTYPE(field&lt;J&gt;) = 1 THEN &lt;BR /&gt;
                       sign = field&lt;J&gt;&lt;BR /&gt;
                        GOSUB "CheckSign"&lt;BR /&gt;
		  ENDIF&lt;BR /&gt;
&lt;BR /&gt;
! *******************************************&lt;BR /&gt;
"CheckSign":&lt;BR /&gt;
! ---------------------------------------------------------------------&lt;BR /&gt;
IF sign = SOH THEN&lt;BR /&gt;
   print "SOH"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
IF sign = STX THEN&lt;BR /&gt;
   print "STX"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
IF sign = ETX THEN&lt;BR /&gt;
   print "ETX"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
IF sign = EOT THEN&lt;BR /&gt;
   print "EOT"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
IF sign = ENQ THEN&lt;BR /&gt;
   print "ENQ"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
IF sign = ACK THEN&lt;BR /&gt;
   print "ACK"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
IF sign = BEL THEN&lt;BR /&gt;
   print "BEL"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
IF sign = BS THEN&lt;BR /&gt;
   print "BS"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
IF sign = HT THEN&lt;BR /&gt;
   print "HT"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
IF sign = LF THEN&lt;BR /&gt;
   print "LF"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
IF sign = VT THEN&lt;BR /&gt;
   print "VT"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
IF sign = FF THEN&lt;BR /&gt;
   print "FF"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
IF sign = CR THEN&lt;BR /&gt;
   print "CR"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
IF sign = SO THEN&lt;BR /&gt;
   print "SO"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
IF sign = SI THEN&lt;BR /&gt;
   print "SI"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
IF sign = DLE THEN&lt;BR /&gt;
   print "DLE"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
IF sign = DC1 THEN&lt;BR /&gt;
   print "DC1"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
IF sign = DC2 THEN&lt;BR /&gt;
   print "DC2"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
IF sign = DC3 THEN&lt;BR /&gt;
   print "DC3"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
IF sign = DC4 THEN&lt;BR /&gt;
   print "DC4"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
IF sign = NAK THEN&lt;BR /&gt;
   print "NAK"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
IF sign = SYN THEN&lt;BR /&gt;
   print "SYN"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
IF sign = ETB THEN&lt;BR /&gt;
   print "ETB"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
IF sign = CAN THEN&lt;BR /&gt;
   print "CAN"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
IF sign = EM THEN&lt;BR /&gt;
   print "EM"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
IF sign = SUB THEN&lt;BR /&gt;
   print "SUB"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
IF sign = ESC THEN&lt;BR /&gt;
   print "ESC"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
IF sign = FS THEN&lt;BR /&gt;
   print "FS"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
IF sign = GS THEN&lt;BR /&gt;
   print "GS"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
IF sign = RS THEN&lt;BR /&gt;
   print "RS"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
IF sign = US THEN&lt;BR /&gt;
   print "US"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
IF sign = SP THEN&lt;BR /&gt;
   print "SP"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
RETURN&lt;/J&gt;&lt;/J&gt;</description>
      <pubDate>Wed, 01 Jun 2011 14:20:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Escape-character-in-GDL/m-p/119740#M16627</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-01T14:20:09Z</dc:date>
    </item>
  </channel>
</rss>

