Re: [fpc-pascal] How to clear the value of a field in a table using parameters?

2013-08-29 Thread Michael Van Canneyt
On Fri, 30 Aug 2013, Sven Barth wrote: Am 29.08.2013 23:04 schrieb "Michael Van Canneyt" : > > > > On Thu, 29 Aug 2013, silvioprog wrote: > >> >> Other interesting feature is the property EmptyAsNull: >> >> http://docwiki.embarcadero.com/VCL/XE/en/IBCustomDataSet.TIBStringField.EmptyAsNull >

[fpc-pascal] Re: How to clear the value of a field in a table using parameters?

2013-08-29 Thread Reinier Olislagers
On 30/08/2013 07:44, Sven Barth wrote: > Am 29.08.2013 23:04 schrieb "Michael Van Canneyt" > >: >> On Thu, 29 Aug 2013, silvioprog wrote: >>> Other interesting feature is the property EmptyAsNull: > http://docwiki.embarcadero.com/VCL/XE/en/

Re: [fpc-pascal] How to clear the value of a field in a table using parameters?

2013-08-29 Thread Sven Barth
Am 29.08.2013 23:04 schrieb "Michael Van Canneyt" : > > > > On Thu, 29 Aug 2013, silvioprog wrote: > >> >> Other interesting feature is the property EmptyAsNull: >> >> http://docwiki.embarcadero.com/VCL/XE/en/IBCustomDataSet.TIBStringField.EmptyAsNull >> >> It tests if field (ftString) is empty (f

Re: [fpc-pascal] How to clear the value of a field in a table using parameters?

2013-08-29 Thread Michael Van Canneyt
On Thu, 29 Aug 2013, silvioprog wrote: Other interesting feature is the property EmptyAsNull: http://docwiki.embarcadero.com/VCL/XE/en/IBCustomDataSet.TIBStringField.EmptyAsNull It tests if field (ftString) is empty (f = ''), if yes, it set the field value to null (f.Clear). Apparently a

Re: [fpc-pascal] How to clear the value of a field in a table using parameters?

2013-08-29 Thread silvioprog
2013/8/29 silvioprog > 2013/8/29 Michael Van Canneyt > >> On Thu, 29 Aug 2013, silvioprog wrote: >> >> Hello, >>> I'm trying to do something with a dataset, but I think that isn't >>> possible. >>> >>> Assuming I have the following table: >>> >>> create table users ( >>> id serial not null pri

Re: [fpc-pascal] How to clear the value of a field in a table using parameters?

2013-08-29 Thread silvioprog
2013/8/29 Michael Van Canneyt > On Thu, 29 Aug 2013, silvioprog wrote: > > Hello, >> I'm trying to do something with a dataset, but I think that isn't >> possible. >> >> Assuming I have the following table: >> >> create table users ( >> id serial not null primary key, >> email varchar(100), >>

Re: [fpc-pascal] How to clear the value of a field in a table using parameters?

2013-08-29 Thread Michael Van Canneyt
On Thu, 29 Aug 2013, silvioprog wrote: Hello, I'm trying to do something with a dataset, but I think that isn't possible. Assuming I have the following table: create table users ( id serial not null primary key, email varchar(100), nickname varchar(20) not null ); And the following records:

[fpc-pascal] How to clear the value of a field in a table using parameters?

2013-08-29 Thread silvioprog
Hello, I'm trying to do something with a dataset, but I think that isn't possible. Assuming I have the following table: create table users ( id serial not null primary key, email varchar(100), nickname varchar(20) not null ); And the following records: id | email | nickname 1 | us...@domain.c

Re: [fpc-pascal] Access site from app with login and password using http

2013-08-29 Thread Benito van der Zander
My Internet Tools (http://www.benibela.de/sources_en.html#internettools) are made for that. For example: uses simpleinternet; var i: IXQValue; begin for i in process(httpRequest(process('http://www.example.org/the/page/with/the/login/form', 'form(/form, {"username": "'+username+'", "passwo

Re: [fpc-pascal] Access site from app with login and password using http

2013-08-29 Thread Osvaldo Filho
Could you send a piece of code as an example? 2013/8/29 Michael Schnell > On 08/28/2013 10:07 PM, Osvaldo Filho wrote: > >> Is there any example to access information on web site that requires >> authentication with login and password in form using http from a Lazarus >> application? >> > > I u

Re: [fpc-pascal] has anyone successfully written an app for iOS using Free Pascal and got it approved by Apple Appstore?

2013-08-29 Thread Jonas Maebe
On 29 Aug 2013, at 11:28, Dennis Poon wrote: Just want to make sure this path is plausible before I invest more time in it. Yes, several people/companies have done so. Note that since a couple of weeks, you have to use FPC 2.7.1 r25325 or later because Apple now requires that application

[fpc-pascal] IPC - Persistent Objects - Triplestore

2013-08-29 Thread Peter Brooks
Does anybody know the best support in Pascal for an RDF triplestore? Is there one written in Pascal? I'm interested in Pascal's interprocess communication (IPC), in particular, shared memory and semaphores - on a unix platform (of course!), a Mac, actually. What I want to be able to do is share a

Re: [fpc-pascal] BeagleBone

2013-08-29 Thread Michael Schnell
On 08/29/2013 12:44 PM, Rogério Martins wrote: Hi ! Have anyone programmed in lazarus to a BeagleBone board ? A friend of mine did (with a little help from myself). Cross compiling and remote debugging is not that easy, so he installed Lazarus on the BeagleBone and it works fine. To access

Re: [fpc-pascal] has anyone successfully written an app for iOS using Free Pascal and got it approved by Apple Appstore?

2013-08-29 Thread Dmitry Boyarintsev
Here's the one, I've been involved with: https://itunes.apple.com/us/app/icarus-sky/id450199377?mt=8 And there're others by Sergio Flores. I'm sure there're a lot of other people out there, subscribed to MacPascal mailing list. thanks, Dmitry On Thu, Aug 29, 2013 at 6:34 AM, Michael Schnell wr

Re: [fpc-pascal] BeagleBone

2013-08-29 Thread Paul Breneman
On 08/29/2013 05:44 AM, Rogério Martins wrote: Hi ! Have anyone programmed in lazarus to a BeagleBone board ? I´d like to know if the binaries works on that hardware and which kind of applications are possible to be developed for that. Thanks a lot. For some easy tests you can try the ARM Lin

[fpc-pascal] BeagleBone

2013-08-29 Thread Rogério Martins
Hi ! Have anyone programmed in lazarus to a BeagleBone board ? I´d like to know if the binaries works on that hardware and which kind of applications are possible to be developed for that. Thanks a lot. -- The Ubuntu Counter Project - user number # 33192

Re: [fpc-pascal] has anyone successfully written an app for iOS using Free Pascal and got it approved by Apple Appstore?

2013-08-29 Thread Michael Schnell
AFAIK, the current Delphi XE can do "native code" apps for iOS (while the next release is supposed to be able to do apps for Android, as well), I don't see why other native code apps should be banned. -Michael ___ fpc-pascal maillist - fpc-pascal@li

[fpc-pascal] has anyone successfully written an app for iOS using Free Pascal and got it approved by Apple Appstore?

2013-08-29 Thread Dennis Poon
Just want to make sure this path is plausible before I invest more time in it. Thanks a lot. Dennis ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] FPC 2.6.2 problem on rapsberry pi

2013-08-29 Thread Stefan Fischer
Hi, a longer time ago, i've installed lazarus on my raspberry pi with wheezy. The fpc version was 2.6.0-xxx I could compile without any problem. Today I've downloaded fpc 2.6.2 and installed it. But now I have problems with the linker: Free Pascal Compiler version 2.6.2 [2013/02/15] for

Re: [fpc-pascal] Access site from app with login and password using http

2013-08-29 Thread Michael Schnell
On 08/28/2013 10:07 PM, Osvaldo Filho wrote: Is there any example to access information on web site that requires authentication with login and password in form using http from a Lazarus application? I used Synapse to access the web site of an embedded controller. Using FireFox with a "develo