Re: [fpc-pascal] += property bug?

2019-08-12 Thread Michael Van Canneyt
On Sun, 11 Aug 2019, Ryan Joseph wrote: On Aug 11, 2019, at 3:59 PM, Alexander Grotewohl wrote: d.x += 10; // makes even more sense rect.axisX += 10 is a compound statement. See it makes perfect sense. :) I still don’t understand why the compiler and Delphi apparently thinks this is

Re: [fpc-pascal] += property bug?

2019-08-12 Thread Martok
Am 12.08.2019 um 09:40 schrieb Michael Van Canneyt: > > This question pops up from time to time since 15 years if not more. Fun fact: questions asking why this doesn't work have a higher Google ranking than the manual for "COPERATORS" ;-) @Ryan: as with all things FPC, ignore the manual, read th

Re: [fpc-pascal] += property bug?

2019-08-12 Thread Sven Barth via fpc-pascal
Martok schrieb am Mo., 12. Aug. 2019, 10:18: > Am 12.08.2019 um 09:40 schrieb Michael Van Canneyt: > > > > This question pops up from time to time since 15 years if not more. > > Fun fact: questions asking why this doesn't work have a higher Google > ranking > than the manual for "COPERATORS" ;-)

Re: [fpc-pascal] PPCJVM Android target and bass library function call issue

2019-08-12 Thread Jean SUZINEAU
Le 11/08/2019 à 11:43, Mgr. Janusz Chmiel a écrit : Thank you very much for yours patience. The reason why I want to use my own little Internet radio player is The fact, that GUI is simple, many other radio apps are full of functions and of many buttons. I want to simple pause, play or stop. I

Re: [fpc-pascal] PPCJVM Android target and bass library function call issue

2019-08-12 Thread Mgr. Janusz Chmiel
Yes, Raspberry Pi  is very interesting device. It is possible to run Linux distributions by using it, it have several USB ports, BLuetooth. In fact, here is a solution for Android, but it is interpreter language. RFO Basic. If user uses Gw library, which uses Basic commands in conjunction with

Re: [fpc-pascal] USB Human Interface Devices

2019-08-12 Thread Johann Glaser
Hi! Am Sonntag, den 11.08.2019, 19:13 -0400 schrieb James Richters: > Thank you for the help. I made most of the changes you recommend and > I was able to get it to compile, the only one I had trouble with was > If I take out the ^ from: >if (EP^.bmAttributes and LIBUSB_TRANSFER_TYPE_MAS

Re: [fpc-pascal] USB Human Interface Devices

2019-08-12 Thread James Richters
>>Ah, I see. You declared EP as Plibusb_endpoint_descriptor (i.e., the pointer >>to an endpoint descriptor record), while in the original code it is a >>USBEndpointDescriptor (i.e., the record itself). >>Your version is more memory efficient but uses "ugly pointer- arithmetic" by >>taking the a