Re: [Lazarus] Plivo API

2016-10-02 Thread duilio foschi via Lazarus
Hi Mattias, your code shows what Plivo probably does :) After recording a call, Plivo will call my remote application X (I will write the URI of X in a configuration file) with Https/Post. At the time of the request Plivo passes the URI of a MP3 file to application X. This information is writte

Re: [Lazarus] Plivo API

2016-10-02 Thread Mattias Gaertner via Lazarus
On Sun, 2 Oct 2016 20:45:08 +0200 duilio foschi via Lazarus wrote: > I am wetting my feet in Plivo API (www.plivo.com). > > " > Plivo communicates with remote applications built by businesses > through a series of API calls. These back and forth calls between > Plivo and other applications are c

Re: [Lazarus] Plivo API

2016-10-02 Thread Mehmet Erol Sanliturk via Lazarus
On Sun, Oct 2, 2016 at 11:45 AM, duilio foschi via Lazarus < lazarus@lists.lazarus-ide.org> wrote: > I am wetting my feet in Plivo API (www.plivo.com). > > " > Plivo communicates with remote applications built by businesses > through a series of API calls. These back and forth calls between > Pliv

[Lazarus] Plivo API

2016-10-02 Thread duilio foschi via Lazarus
I am wetting my feet in Plivo API (www.plivo.com). " Plivo communicates with remote applications built by businesses through a series of API calls. These back and forth calls between Plivo and other applications are communicated through XML (Extensible Markup Language). " Say that at a given time

Re: [Lazarus] Helper for arrays

2016-10-02 Thread Aradeonas via Lazarus
> Maybe you can raise a discussion / feature request in the fpc-devel > mailing list to include type helpers for generic arrays? So we can have this feature for array it self and should use it for generic arrays? Regards, Ara -- http://www.fastmail.com - A no graphics, no pop-ups email service

Re: [Lazarus] Helper for arrays

2016-10-02 Thread Maciej Izak via Lazarus
2016-10-02 16:20 GMT+02:00 Ondrej Pokorny via Lazarus < lazarus@lists.lazarus-ide.org>: > Maybe you can raise a discussion / feature request in the fpc-devel > mailing list to include type helpers for generic arrays? : This was discussed in Smart Pointers topic: http://free-pascal-general.10457

Re: [Lazarus] Helper for arrays

2016-10-02 Thread Ondrej Pokorny via Lazarus
On 02.10.2016 16:00, Aradeonas via Lazarus wrote: I know I can make helper for array of integer This is what I thought you want to. but I want some helpers for all type of arrays. Hmmm :( I don't know either. Maybe you can raise a discussion / feature request in the fpc-devel mailing list

Re: [Lazarus] Helper for arrays

2016-10-02 Thread Aradeonas via Lazarus
Ondrej can you point me to a sample? I know I can make helper for array of integer but I want some helpers for all type of arrays. Regards, Ara -- http://www.fastmail.com - Faster than the air-speed velocity of an unladen european swallow --

Re: [Lazarus] Helper for arrays

2016-10-02 Thread Aradeonas via Lazarus
Thanks DougC I used it before but as I said before I want such helpers. Thanks Maciej as always, I used NewPascal and I liked it but I want to find out FPC is supporting it or not. Regards, Ara -- http://www.fastmail.com - Send your email first class -- __

Re: [Lazarus] Helper for arrays

2016-10-02 Thread Ondrej Pokorny via Lazarus
On 02.10.2016 14:39, Aradeonas via Lazarus wrote: Can I have or make helper for arrays? like making Count property so I can use it instead of Length ? Yes, you can. FPC 3.0 supports it and Lazarus CodeTools support them as well. Ondrej -- ___ Lazar

Re: [Lazarus] Helper for arrays

2016-10-02 Thread Maciej Izak via Lazarus
2016-10-02 14:39 GMT+02:00 Aradeonas via Lazarus < lazarus@lists.lazarus-ide.org>: > Can I have or make helper for arrays? like making Count property so I can > use it instead of Length ? Try to use TDynArray dynamic array wrapper provided by mORMot framework. http://synopse.info/files/html/Syn

Re: [Lazarus] Helper for arrays

2016-10-02 Thread DougC via Lazarus
I don't know the answer about helper function but I also dislike Length() for arrays. I solve this dislike by using for i := Low(IntegerArray) to High(IntegerArray) do which covers more possibilities because it handles lower index limit that is non-zero. Low() and High() also work with sta

[Lazarus] Helper for arrays

2016-10-02 Thread Aradeonas via Lazarus
Hi, Can I have or make helper for arrays? like making Count property so I can use it instead of Length ? For example : > IntegerArray : array of integer; > > for i:= to IntegerArray.Count -1 do > Regards, Ara -- http://www.fastmail.com - The professional email service -- __