super - . Have changed last . to ; ... so Thanks a lot ..
2 2014-07-21 15:04:25
Re: Scripts - many questions ;-) (6 replies, posted in General)
Doesn't work. I have already tried it.
The error message is
'BEGIN' expected
3 2014-07-21 14:25:00
Re: Scripts - many questions ;-) (6 replies, posted in General)
1 and 3 - super, it works. But when I use other file for script, I have problem with error message
I have generla.pas file and inside your Code with function Plus
In main script file Ihave this
begin
uses 'general.pas';
ShowMessage(Plus (1, 3));
end.
I have gor error:
';' expected
.. can you help please.
4 2014-07-20 09:51:50
Topic: Scripts - many questions ;-) (6 replies, posted in General)
1. Haw can I do function ..
function Plus (A:integer, B: integer) : integer
begin
Plus := A + B
end;
doesn't work. Or
function Plus (A:integer, B: integer) : integer
begin
Return (A + B);
end;
The same ...
The problem is haw to return the value of the function.
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't see the table. What shoul I do to see the table?
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
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)
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 ...
Thanks
5 2014-07-19 16:51:09
Re: What to implement first? (188 replies, posted in General)
I would add function CopyForm ... if I have many dictionary tables I must do many forms ;-) Or function "Create standard forms" - and it will for example create frmGroups and frmGroupName forms from the PhoneBook.
But I have find nice finesse - just to modify xml and there copy sections and replace Name of forms ... so after that it's very simple.