Re: [fpc-pascal] BoolToStr
> > You can use > > BoolToStr(b,'TRUE','FALSE') > > That works great! Shouldn't that be the default and you can put in > something else if you want it? Latest trunk allows you this if you include new syshelpers unit: True.ToString; // True True.ToTrueFalseString(scfUpperCase); // TRUE True.ToString('OnState', 'OffState'); // OnState True.ToString('Running', 'Stopped', scfUpperCase); // RUNNING It also allows you to populate TBitFormatSettings with your strings for TRUE and FALSE and gives you method CopyToDefaultBoolStrings. This changes boolean to string text outputs in syshelpers and some other places. Maybe that could fit your bill. More info can be found in this demo: https://gitlab.com/freepascal.org/fpc/source/-/blob/main/packages/rtl-objpas/examples/syshelpersdemo.pas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] MQTT package for freepascal/lazarus?
> I am looking for a pascal implementation of the MQTT protocol. https://github.com/cutec-chris/TMQTTClient https://github.com/jamiei/Delphi-TMQTT2 https://github.com/songshuang8/MqttServer https://github.com/AndersonGaitolini/MQTT-Gaitolini https://github.com/ZiCog/mqtt-free-pascal https://github.com/quini27/MQTT-client-application-for-Windows https://github.com/crossrw/mqttClient https://github.com/apelsinovv/MQTT https://github.com/bkeevil/mqtt https://github.com/sigmdel/mosquitto-p https://github.com/sigmdel/lazmqttc https://github.com/GRIDSystemSAS/GS.GRID https://github.com/join2017/dmqtt https://github.com/wizinfantry/delphi-mqtt-client https://github.com/pjde/delphi-mqtt https://github.com/windflee/delphimqtt https://github.com/Indemsys/Delphi_MQTT_mosquitto ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal