<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[My Visual Database — Scripts - many questions ;-)]]></title>
		<link>https://myvisualdatabase.com/forum/viewtopic.php?id=314</link>
		<atom:link href="https://myvisualdatabase.com/forum/extern.php?action=feed&amp;tid=314&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Scripts - many questions ;-).]]></description>
		<lastBuildDate>Mon, 21 Jul 2014 15:15:45 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Scripts - many questions ;-)]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=1544#p1544</link>
			<description><![CDATA[<p>super - . Have changed last . to ;&nbsp; ... so Thanks a lot ..</p>]]></description>
			<author><![CDATA[null@example.com (zappy)]]></author>
			<pubDate>Mon, 21 Jul 2014 15:15:45 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=1544#p1544</guid>
		</item>
		<item>
			<title><![CDATA[Re: Scripts - many questions ;-)]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=1543#p1543</link>
			<description><![CDATA[<p>in file general.pas you should have code:</p><div class="codebox"><pre><code>function Plus (a,b: integer): integer;
begin
  result := a+b;
end;

begin

end.</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (DriveSoft)]]></author>
			<pubDate>Mon, 21 Jul 2014 15:07:12 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=1543#p1543</guid>
		</item>
		<item>
			<title><![CDATA[Re: Scripts - many questions ;-)]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=1542#p1542</link>
			<description><![CDATA[<p>Doesn&#039;t work. I have already tried it.<br />The error message is <br /></p><div class="codebox"><pre><code>&#039;BEGIN&#039; expected</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (zappy)]]></author>
			<pubDate>Mon, 21 Jul 2014 15:04:25 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=1542#p1542</guid>
		</item>
		<item>
			<title><![CDATA[Re: Scripts - many questions ;-)]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=1541#p1541</link>
			<description><![CDATA[<p>try this<br /></p><div class="codebox"><pre><code>uses &#039;general.pas&#039;;

begin
  ShowMessage( IntToStr(Plus (1, 3)) );
end.</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (DriveSoft)]]></author>
			<pubDate>Mon, 21 Jul 2014 15:01:59 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=1541#p1541</guid>
		</item>
		<item>
			<title><![CDATA[Re: Scripts - many questions ;-)]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=1539#p1539</link>
			<description><![CDATA[<p>1 and 3 - super, it works. But when I use other file for script, I have problem with error message</p><p>I have generla.pas file and inside your Code with function Plus<br />In main script file&nbsp; Ihave this<br /></p><div class="codebox"><pre><code>begin
  uses &#039;general.pas&#039;;

  ShowMessage(Plus (1, 3));
end.</code></pre></div><p>I have gor error:<br />&#039;;&#039; expected</p><p>.. can you help please.</p>]]></description>
			<author><![CDATA[null@example.com (zappy)]]></author>
			<pubDate>Mon, 21 Jul 2014 14:25:00 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=1539#p1539</guid>
		</item>
		<item>
			<title><![CDATA[Re: Scripts - many questions ;-)]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=1537#p1537</link>
			<description><![CDATA[<p>Hello,</p><br /><p>1.<br /></p><div class="codebox"><pre><code>function Plus (A, B: integer) : integer;
begin
  Result := A + B;
end;</code></pre></div><br /><p>3. Please, see screenshot for detail, where you can find list of all functions and more...<br /><span class="postimg"><img src="http://myvisualdatabase.com/forum/misc.php?action=pun_attachment&amp;item=97&amp;download=0" alt="http://myvisualdatabase.com/forum/misc.php?action=pun_attachment&amp;amp;item=97&amp;amp;download=0" /></span></p><br /><p>documentation on russian: <a href="http://myvisualdatabase.com/help_ru/">http://myvisualdatabase.com/help_ru/</a><br />Google Translated:&nbsp; <a href="https://translate.google.ru/translate?hl=ru&amp;sl=ru&amp;tl=en&amp;u=http%3A%2F%2Fmyvisualdatabase.com%2Fhelp_ru%2F">https://translate.google.ru/translate?h … help_ru%2F</a></p><br /><p>4. You can use keyword uses for this, Example:<br />uses &#039;unit2.pas&#039;;</p><br /><p>You should create file unit2.pas, where you can write own function:</p><div class="codebox"><pre><code>function Plus (a,b: integer): integer;
begin
  result := a+b;
end;

begin

end.</code></pre></div><br /><p>Thanks.</p>]]></description>
			<author><![CDATA[null@example.com (DriveSoft)]]></author>
			<pubDate>Mon, 21 Jul 2014 09:38:34 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=1537#p1537</guid>
		</item>
		<item>
			<title><![CDATA[Scripts - many questions ;-)]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=1530#p1530</link>
			<description><![CDATA[<p>1. Haw can I do function .. <br />function Plus (A:integer, B: integer) : integer<br />begin<br />&nbsp; Plus := A + B<br />end;<br />doesn&#039;t work. Or<br />function Plus (A:integer, B: integer) : integer<br />begin<br />&nbsp; Return (A + B);<br />end;<br />The same ...<br />The problem is haw to return the value of the function.</p><p>2. Using SQLLite - I have added new table to database by using SQL Lite but when I open the database in My Visual Database - I don&#039;t see the table. What shoul I do to see the table?</p><p><span style="color: blue"><em>I have find solution - when you add the table manualy to db file you must change tables.ini file and it works - so just for others</em></span></p><p>3. Do you have list of all function or script manual - I am able to read russian language. Not write .. bad latters ;-) No keyboard for it ... In the manual on web is nothing about functions (Copy, IntToStr ..and so on)</p><p>4. Can I have more then one script file - If I do bigger project I need to organize it. One file si little bit strange ...</p><p>Thanks</p>]]></description>
			<author><![CDATA[null@example.com (zappy)]]></author>
			<pubDate>Sun, 20 Jul 2014 09:51:50 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=1530#p1530</guid>
		</item>
	</channel>
</rss>
