<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Livecodebeginner Q&amp;A - Recent questions and answers</title>
<link>http://livecodebeginner.economy-x-talk.com/qa/?qa=qa</link>
<description>Powered by Question2Answer</description>
<item>
<title>Answered: How to parse Xml Data in Live code</title>
<link>http://livecodebeginner.economy-x-talk.com/qa/?qa=75/how-to-parse-xml-data-in-live-code&amp;show=78#a78</link>
<description>&lt;p&gt;
	The server returns JSON by default. Before you make the request, you need to set the content type to application/xml:&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;font-size:11px;&quot;&gt;&lt;span style=&quot;font-family: courier new,courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; set the httpHeaders to &quot;Content-Type: application/xml&quot;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	Now the server will return XML and you should be able to retrieve the required nodes.&lt;/p&gt;
&lt;p&gt;
	Let me know if this helps and accept the answer by clicking on the Accept button if it does.&lt;/p&gt;</description>
<guid isPermaLink="true">http://livecodebeginner.economy-x-talk.com/qa/?qa=75/how-to-parse-xml-data-in-live-code&amp;show=78#a78</guid>
<pubDate>Mon, 25 Nov 2013 18:48:11 +0000</pubDate>
</item>
<item>
<title>Answered: function Spaces doesn't work</title>
<link>http://livecodebeginner.economy-x-talk.com/qa/?qa=53/function-spaces-doesnt-work&amp;show=74#a74</link>
<description>&lt;p&gt;
	I have found a better way to do this.&lt;/p&gt;
&lt;p style=&quot;margin-left: 40px;&quot;&gt;
	&lt;span style=&quot;font-family:courier new,courier,monospace;&quot;&gt;function spaces theAmount&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;margin-left: 40px;&quot;&gt;
	&lt;span style=&quot;font-family:courier new,courier,monospace;&quot;&gt;&amp;nbsp; set the itemDel to space&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;margin-left: 40px;&quot;&gt;
	&lt;span style=&quot;font-family:courier new,courier,monospace;&quot;&gt;&amp;nbsp; put space into item theAmount of myData&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;margin-left: 40px;&quot;&gt;
	&lt;span style=&quot;font-family:courier new,courier,monospace;&quot;&gt;&amp;nbsp; return myData&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;margin-left: 40px;&quot;&gt;
	&lt;span style=&quot;font-family:courier new,courier,monospace;&quot;&gt;end spaces&lt;/span&gt;&lt;/p&gt;</description>
<guid isPermaLink="true">http://livecodebeginner.economy-x-talk.com/qa/?qa=53/function-spaces-doesnt-work&amp;show=74#a74</guid>
<pubDate>Wed, 20 Nov 2013 07:55:08 +0000</pubDate>
</item>
<item>
<title>Answered: Where in the US can I order Programming LiveCode for the Real Beginner?</title>
<link>http://livecodebeginner.economy-x-talk.com/qa/?qa=72/where-the-order-programming-livecode-for-the-real-beginner&amp;show=73#a73</link>
<description>Programming LiveCode can be ordered from the website. On the right (on this page) you see a link labelled &amp;quot;Go to main site&amp;quot;. If you click on it, you go to a site with several icons. Click on the Buy icon to go to the order page.&lt;br /&gt;
&lt;br /&gt;
Buying the book from the website is the quickest and easiest way to buy the book. If you give a book store the ISBN number 978-90-820741-0-9 they should be able to order the book for you, but it will be much slower than if you buy the book from the website.</description>
<guid isPermaLink="true">http://livecodebeginner.economy-x-talk.com/qa/?qa=72/where-the-order-programming-livecode-for-the-real-beginner&amp;show=73#a73</guid>
<pubDate>Tue, 12 Nov 2013 12:24:48 +0000</pubDate>
</item>
<item>
<title>Answered: stack's password (p. 200)</title>
<link>http://livecodebeginner.economy-x-talk.com/qa/?qa=50/stacks-password-p-200&amp;show=67#a67</link>
<description>See footnote 8 on page 93.</description>
<guid isPermaLink="true">http://livecodebeginner.economy-x-talk.com/qa/?qa=50/stacks-password-p-200&amp;show=67#a67</guid>
<pubDate>Wed, 17 Jul 2013 15:52:09 +0000</pubDate>
</item>
<item>
<title>Answered: realizable window ?</title>
<link>http://livecodebeginner.economy-x-talk.com/qa/?qa=39/realizable-window&amp;show=66#a66</link>
<description>This has been corrected in the next print.</description>
<guid isPermaLink="true">http://livecodebeginner.economy-x-talk.com/qa/?qa=39/realizable-window&amp;show=66#a66</guid>
<pubDate>Wed, 17 Jul 2013 15:48:56 +0000</pubDate>
</item>
<item>
<title>Answered: replace &quot;finally&quot; by &quot;default&quot; in the switch statements</title>
<link>http://livecodebeginner.economy-x-talk.com/qa/?qa=38/replace-finally-by-default-in-the-switch-statements&amp;show=65#a65</link>
<description>This has been corrected in the next print.</description>
<guid isPermaLink="true">http://livecodebeginner.economy-x-talk.com/qa/?qa=38/replace-finally-by-default-in-the-switch-statements&amp;show=65#a65</guid>
<pubDate>Wed, 17 Jul 2013 15:48:06 +0000</pubDate>
</item>
<item>
<title>Answered: when to change the name of the stack to revSelected Object</title>
<link>http://livecodebeginner.economy-x-talk.com/qa/?qa=36/when-to-change-the-name-of-the-stack-to-revselected-object&amp;show=64#a64</link>
<description>This has been corrected in the next print.</description>
<guid isPermaLink="true">http://livecodebeginner.economy-x-talk.com/qa/?qa=36/when-to-change-the-name-of-the-stack-to-revselected-object&amp;show=64#a64</guid>
<pubDate>Wed, 17 Jul 2013 15:46:03 +0000</pubDate>
</item>
<item>
<title>Answered: the visible is the inverse of the invisible</title>
<link>http://livecodebeginner.economy-x-talk.com/qa/?qa=31/the-visible-is-the-inverse-of-the-invisible&amp;show=63#a63</link>
<description>This has been corrected in the next print.</description>
<guid isPermaLink="true">http://livecodebeginner.economy-x-talk.com/qa/?qa=31/the-visible-is-the-inverse-of-the-invisible&amp;show=63#a63</guid>
<pubDate>Wed, 17 Jul 2013 15:45:05 +0000</pubDate>
</item>
<item>
<title>Answered: Put and get URL</title>
<link>http://livecodebeginner.economy-x-talk.com/qa/?qa=30/put-and-get-url&amp;show=62#a62</link>
<description>This has been corrected in the next print.</description>
<guid isPermaLink="true">http://livecodebeginner.economy-x-talk.com/qa/?qa=30/put-and-get-url&amp;show=62#a62</guid>
<pubDate>Wed, 17 Jul 2013 15:07:11 +0000</pubDate>
</item>
<item>
<title>Answered: Location and Availability of Declared Variables</title>
<link>http://livecodebeginner.economy-x-talk.com/qa/?qa=29/location-and-availability-of-declared-variables&amp;show=61#a61</link>
<description>This has been corrected in the next print.</description>
<guid isPermaLink="true">http://livecodebeginner.economy-x-talk.com/qa/?qa=29/location-and-availability-of-declared-variables&amp;show=61#a61</guid>
<pubDate>Wed, 17 Jul 2013 15:06:31 +0000</pubDate>
</item>
<item>
<title>Answered: selectedChunk example</title>
<link>http://livecodebeginner.economy-x-talk.com/qa/?qa=28/selectedchunk-example&amp;show=60#a60</link>
<description>This has been corrected in the next print.</description>
<guid isPermaLink="true">http://livecodebeginner.economy-x-talk.com/qa/?qa=28/selectedchunk-example&amp;show=60#a60</guid>
<pubDate>Wed, 17 Jul 2013 15:04:17 +0000</pubDate>
</item>
<item>
<title>Answered: firstFunction parentheses forgotten</title>
<link>http://livecodebeginner.economy-x-talk.com/qa/?qa=27/firstfunction-parentheses-forgotten&amp;show=59#a59</link>
<description>This has been corrected in the next print.</description>
<guid isPermaLink="true">http://livecodebeginner.economy-x-talk.com/qa/?qa=27/firstfunction-parentheses-forgotten&amp;show=59#a59</guid>
<pubDate>Wed, 17 Jul 2013 15:02:37 +0000</pubDate>
</item>
<item>
<title>Answered: &quot;on&quot; versus &quot;command&quot;</title>
<link>http://livecodebeginner.economy-x-talk.com/qa/?qa=26/on-versus-command&amp;show=58#a58</link>
<description>This has been corrected in the next print.</description>
<guid isPermaLink="true">http://livecodebeginner.economy-x-talk.com/qa/?qa=26/on-versus-command&amp;show=58#a58</guid>
<pubDate>Wed, 17 Jul 2013 15:01:50 +0000</pubDate>
</item>
<item>
<title>Answered: the second line of the message box</title>
<link>http://livecodebeginner.economy-x-talk.com/qa/?qa=25/the-second-line-of-the-message-box&amp;show=57#a57</link>
<description>Good idea. This will be changed in the next print.</description>
<guid isPermaLink="true">http://livecodebeginner.economy-x-talk.com/qa/?qa=25/the-second-line-of-the-message-box&amp;show=57#a57</guid>
<pubDate>Wed, 17 Jul 2013 15:01:08 +0000</pubDate>
</item>
<item>
<title>Answered: the min function</title>
<link>http://livecodebeginner.economy-x-talk.com/qa/?qa=24/the-min-function&amp;show=56#a56</link>
<description>This has been corrected in the next print.</description>
<guid isPermaLink="true">http://livecodebeginner.economy-x-talk.com/qa/?qa=24/the-min-function&amp;show=56#a56</guid>
<pubDate>Wed, 17 Jul 2013 14:55:18 +0000</pubDate>
</item>
<item>
<title>Answered: Have you read the book Programming LiveCode for the Real Beginner?</title>
<link>http://livecodebeginner.economy-x-talk.com/qa/?qa=1/have-you-read-the-book-programming-livecode-for-real-beginner&amp;show=54#a54</link>
<description>Hi Mark,&lt;br /&gt;
&lt;br /&gt;
Yes, I did ! I did read all the book rather thoroughly, except chapters 22 and 23, which are not of primary importance for what I do with LC. Oh, well, I did read them, but without digging seriously in the scripts.&lt;br /&gt;
&lt;br /&gt;
Many thanks and congratulations for this book. I do not think however it is so easy for a &amp;quot;real beginner&amp;quot;. Some concepts come out from the sky without even a commentary sentence. One example is the target, which appears first in a script p. 103. In such cases, if you don't want to modify the text, a graphic suggestion to look at the dictionary (e.g. a little book icon in the margin or a special lettering) could ease the way for the beginner. LC is a really bushy jungle, you know.&lt;br /&gt;
&lt;br /&gt;
But for people like me, who are neither beginners (I'm programming since the sixties, I heavily used Hypercard for my teaching and started with Revolution at version 1) nor professional programmers (I'm a retired biologist), your book is an excellent refreshing course, and I really enjoyed it, discovering here and there some subtelties of whose I was not aware.&lt;br /&gt;
&lt;br /&gt;
As the book is already almost out of print, I hope you'll continue with a second edition. Still bravo for the work.&lt;br /&gt;
&lt;br /&gt;
Jacques</description>
<guid isPermaLink="true">http://livecodebeginner.economy-x-talk.com/qa/?qa=1/have-you-read-the-book-programming-livecode-for-real-beginner&amp;show=54#a54</guid>
<pubDate>Thu, 13 Jun 2013 02:10:39 +0000</pubDate>
</item>
<item>
<title>Answered: File signatures for Mac</title>
<link>http://livecodebeginner.economy-x-talk.com/qa/?qa=51/file-signatures-for-mac&amp;show=52#a52</link>
<description>It is good advice to create such a unique code, if your application is using documents. It should also be noted that Apple discourages using file type and creator codes. That's why this URL isn't in the book.&lt;br /&gt;
&lt;br /&gt;
It is correct that one may use any file type for documents. Files are supposed to have a creator type, which determines which application is used to read the document. The file type information is solely for that particular application, which uses it to decide how to parse the data. Obviously, it is not a good idea to use very well-known and commonly used file types, such as PICT, JPEG and TEXT, for custom file formats.</description>
<guid isPermaLink="true">http://livecodebeginner.economy-x-talk.com/qa/?qa=51/file-signatures-for-mac&amp;show=52#a52</guid>
<pubDate>Wed, 12 Jun 2013 01:25:54 +0000</pubDate>
</item>
<item>
<title>Answered: Replacing crlf by cr when importing from URL</title>
<link>http://livecodebeginner.economy-x-talk.com/qa/?qa=48/replacing-crlf-by-cr-when-importing-from-url&amp;show=49#a49</link>
<description>The translation is limited to local files.</description>
<guid isPermaLink="true">http://livecodebeginner.economy-x-talk.com/qa/?qa=48/replacing-crlf-by-cr-when-importing-from-url&amp;show=49#a49</guid>
<pubDate>Tue, 11 Jun 2013 15:25:51 +0000</pubDate>
</item>
<item>
<title>Answered: Are scripts available for download?</title>
<link>http://livecodebeginner.economy-x-talk.com/qa/?qa=45/are-scripts-available-for-download&amp;show=47#a47</link>
<description>No, they are not. Most scripts are short and it shouldn't take much time to type them yourself.</description>
<guid isPermaLink="true">http://livecodebeginner.economy-x-talk.com/qa/?qa=45/are-scripts-available-for-download&amp;show=47#a47</guid>
<pubDate>Fri, 07 Jun 2013 23:02:48 +0000</pubDate>
</item>
<item>
<title>Answered: answer file: how to get the arabic name of a file</title>
<link>http://livecodebeginner.economy-x-talk.com/qa/?qa=41/answer-file-how-to-get-the-arabic-name-of-a-file&amp;show=42#a42</link>
<description>I have created a library for this. Indeed, AppleScript seems to be the way to go. The problem is that you have to recreate a complete file management system parallel to LiveCode's existing features. Whenever you need to file, you need to use a reference to that file and make your AppleScript look up the correct file path using that reference. You will also need a system to read and write, move, delete and copy files. It is a huge amount of work.&lt;br /&gt;
&lt;br /&gt;
Edit: I gave this a little more thought. It would be possible to write an AppleScript to duplicate the file to a temp folder, rename it and use the file from there.</description>
<guid isPermaLink="true">http://livecodebeginner.economy-x-talk.com/qa/?qa=41/answer-file-how-to-get-the-arabic-name-of-a-file&amp;show=42#a42</guid>
<pubDate>Wed, 05 Jun 2013 20:56:21 +0000</pubDate>
</item>
<item>
<title>Answered: Not necessary to round the value returned by scrollbarDrag</title>
<link>http://livecodebeginner.economy-x-talk.com/qa/?qa=37/not-necessary-to-round-the-value-returned-by-scrollbardrag&amp;show=40#a40</link>
<description>This has been corrected in the second print.</description>
<guid isPermaLink="true">http://livecodebeginner.economy-x-talk.com/qa/?qa=37/not-necessary-to-round-the-value-returned-by-scrollbardrag&amp;show=40#a40</guid>
<pubDate>Tue, 04 Jun 2013 01:42:45 +0000</pubDate>
</item>
<item>
<title>Answered: button's mouseUp default handler</title>
<link>http://livecodebeginner.economy-x-talk.com/qa/?qa=32/buttons-mouseup-default-handler&amp;show=33#a33</link>
<description>Please test this again and confirm your results.</description>
<guid isPermaLink="true">http://livecodebeginner.economy-x-talk.com/qa/?qa=32/buttons-mouseup-default-handler&amp;show=33#a33</guid>
<pubDate>Fri, 31 May 2013 13:45:06 +0000</pubDate>
</item>
<item>
<title>Answered: how to send corrections (plural)</title>
<link>http://livecodebeginner.economy-x-talk.com/qa/?qa=22/how-to-send-corrections-plural&amp;show=23#a23</link>
<description>&lt;p&gt;
	Hi, please refer to &lt;a rel=&quot;nofollow&quot; href=&quot;http://livecodebeginner.economy-x-talk.com/qa/?qa=20/i-have-a-comment-which-you-should-know-about&quot; target=&quot;_self&quot;&gt;http://livecodebeginner.economy-x-talk.com/qa/?qa=20/i-have-a-comment-which-you-should-know-about&lt;/a&gt; for the answer to the larger part of your question.&lt;/p&gt;
&lt;p&gt;
	Each correction and comment needs to be documented separately, to make sure that we avoid duplicates.&lt;/p&gt;</description>
<guid isPermaLink="true">http://livecodebeginner.economy-x-talk.com/qa/?qa=22/how-to-send-corrections-plural&amp;show=23#a23</guid>
<pubDate>Tue, 28 May 2013 00:57:44 +0000</pubDate>
</item>
<item>
<title>Answered: I have a comment, which you should know about.</title>
<link>http://livecodebeginner.economy-x-talk.com/qa/?qa=20/i-have-a-comment-which-you-should-know-about&amp;show=21#a21</link>
<description>Ask a new &amp;quot;question&amp;quot; on this website and post your comment under your new &amp;quot;question&amp;quot;. Make sure to add either one of the tags &amp;quot;correction&amp;quot; or &amp;quot;comment&amp;quot; and include the page number and a quotation of the text you're commenting on. Corrections are given higher priority than comments but corrections are also moderated more strictly. If you post a correction, make sure you double-check it.</description>
<guid isPermaLink="true">http://livecodebeginner.economy-x-talk.com/qa/?qa=20/i-have-a-comment-which-you-should-know-about&amp;show=21#a21</guid>
<pubDate>Sun, 26 May 2013 14:50:54 +0000</pubDate>
</item>
<item>
<title>Answered: Will there be a Spanish/French/German transation?</title>
<link>http://livecodebeginner.economy-x-talk.com/qa/?qa=18/will-there-be-a-spanish-french-german-transation&amp;show=19#a19</link>
<description>Probably not, but if you want to translate the text, we'll consider printing it.</description>
<guid isPermaLink="true">http://livecodebeginner.economy-x-talk.com/qa/?qa=18/will-there-be-a-spanish-french-german-transation&amp;show=19#a19</guid>
<pubDate>Sun, 26 May 2013 14:43:27 +0000</pubDate>
</item>
<item>
<title>Answered: Can I get a discount?</title>
<link>http://livecodebeginner.economy-x-talk.com/qa/?qa=16/can-i-get-a-discount&amp;show=17#a17</link>
<description>Yes, you can, under very strict conditions. If you have a book shop, if you buy as a user group, or if your school is buying the books, you can get a discount of 5 euro per book. Book shops and schools must provide a VAT number, registration number or other clear proof of their existence. You must buy multiple copies and Economy-x-Talk decides if the quantity is sufficient to qualify for the discount. All books will be sent to one single address and the buyer is repsonsible for distribution. If you buy more than 10 books, you can get a bonus, to be determined by Economy-x-Talk.</description>
<guid isPermaLink="true">http://livecodebeginner.economy-x-talk.com/qa/?qa=16/can-i-get-a-discount&amp;show=17#a17</guid>
<pubDate>Sun, 26 May 2013 02:52:56 +0000</pubDate>
</item>
<item>
<title>Answered: Does the book apply to LiveCode 6.0 and later?</title>
<link>http://livecodebeginner.economy-x-talk.com/qa/?qa=14/does-the-book-apply-to-livecode-6-0-and-later&amp;show=15#a15</link>
<description>Yes, &amp;quot;Programming LiveCode...&amp;quot; applies to LiveCode 6, but it also applies to almost all earlier versions of LiveCode. Almost all examples can be repeated with LiveCode 2.2 and later. Exceptions are either made clear in the text or completely obvious.</description>
<guid isPermaLink="true">http://livecodebeginner.economy-x-talk.com/qa/?qa=14/does-the-book-apply-to-livecode-6-0-and-later&amp;show=15#a15</guid>
<pubDate>Sun, 26 May 2013 02:52:08 +0000</pubDate>
</item>
<item>
<title>Answered: What if the book doesn't arrive?</title>
<link>http://livecodebeginner.economy-x-talk.com/qa/?qa=12/what-if-the-book-doesnt-arrive&amp;show=13#a13</link>
<description>If a book can't be delivered, DHL will bring it back to the office and we will contact you. This is very unlikely to happen, because we double-check all addresses before we send the books.</description>
<guid isPermaLink="true">http://livecodebeginner.economy-x-talk.com/qa/?qa=12/what-if-the-book-doesnt-arrive&amp;show=13#a13</guid>
<pubDate>Sun, 26 May 2013 02:50:09 +0000</pubDate>
</item>
<item>
<title>Answered: Can I reserve a copy of the book?</title>
<link>http://livecodebeginner.economy-x-talk.com/qa/?qa=10/can-i-reserve-a-copy-of-the-book&amp;show=11#a11</link>
<description>No, you can't, because we don't have the personnel to organise that.</description>
<guid isPermaLink="true">http://livecodebeginner.economy-x-talk.com/qa/?qa=10/can-i-reserve-a-copy-of-the-book&amp;show=11#a11</guid>
<pubDate>Sun, 26 May 2013 00:45:37 +0000</pubDate>
</item>
<item>
<title>Answered: Can you please ship it after I come back from holidays?</title>
<link>http://livecodebeginner.economy-x-talk.com/qa/?qa=8/can-you-please-ship-it-after-i-come-back-from-holidays&amp;show=9#a9</link>
<description>No, due to personnel contraints, we can't do this. As soon as you buy the book, we start preparing it for shipment and it will be sent approximately one week later.</description>
<guid isPermaLink="true">http://livecodebeginner.economy-x-talk.com/qa/?qa=8/can-you-please-ship-it-after-i-come-back-from-holidays&amp;show=9#a9</guid>
<pubDate>Sun, 26 May 2013 00:44:00 +0000</pubDate>
</item>
<item>
<title>Answered: Can you please, please, please ship it more quickly?</title>
<link>http://livecodebeginner.economy-x-talk.com/qa/?qa=6/can-you-please-please-please-ship-it-more-quickly&amp;show=7#a7</link>
<description>No, we can't. We would like to, but it is impossible.</description>
<guid isPermaLink="true">http://livecodebeginner.economy-x-talk.com/qa/?qa=6/can-you-please-please-please-ship-it-more-quickly&amp;show=7#a7</guid>
<pubDate>Sat, 25 May 2013 22:12:33 +0000</pubDate>
</item>
<item>
<title>Answered: When will I receive the book?</title>
<link>http://livecodebeginner.economy-x-talk.com/qa/?qa=4/when-will-i-receive-the-book&amp;show=5#a5</link>
<description>Up to 4 weeks after your purchase. Sometimes the book is delivered the next day and in exceptional cases, the postal services need longer than 4 weeks.</description>
<guid isPermaLink="true">http://livecodebeginner.economy-x-talk.com/qa/?qa=4/when-will-i-receive-the-book&amp;show=5#a5</guid>
<pubDate>Sat, 25 May 2013 22:08:46 +0000</pubDate>
</item>
<item>
<title>Answered: Will an electronic book be made available?</title>
<link>http://livecodebeginner.economy-x-talk.com/qa/?qa=2/will-an-electronic-book-be-made-available&amp;show=3#a3</link>
<description>No, we have no plans to publish an e-book and asking for it won't help. Sorry.</description>
<guid isPermaLink="true">http://livecodebeginner.economy-x-talk.com/qa/?qa=2/will-an-electronic-book-be-made-available&amp;show=3#a3</guid>
<pubDate>Sat, 25 May 2013 22:07:16 +0000</pubDate>
</item>
</channel>
</rss>