Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Tag syntax query b1085

Discussion and questions about Cumulus weather station software version 1. This section is the main place to get help with Cumulus 1 software developed by Steve Loft that ceased development in November 2014.
Post Reply
BCJKiwi
Posts: 1259
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Tag syntax query b1085

Post by BCJKiwi »

Just discovered some "interesting" behaviour with tag formatting.

Am able to do this ( where <#interval> = 10 );

Code: Select all

$intervalrain = <#RecentRainToday m=10>
as expected, but not this;

Code: Select all

$intervalrain = <#RecentRainToday m=<#interval>>
or this;

Code: Select all

$intervalrain = <#RecentRainToday m=<#interval> >
The result is $intervalrain = 0.0> (or 0.0 >)
However this appears to work OK;

Code: Select all

$intervalrain = <#RecentRainToday m=<#interval>
the result is $intervalrain = 0.0 Note the single ending '>'

This is unexpected but works. Can it be relied upon?
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Tag syntax query b1085

Post by steve »

I don't know how the parsing of the web tags works, so I couldn't have told you what would work and what wouldn't before you'd tried it. It's unlikely that I'll upgrade the version of Delphi that I'm using for the current incarnation of Cumulus (i.e. anything with a version starting with a '1') so it will probably continue to work for any future version of Cumulus 1. It may or may not work with the cross-platform version of Cumulus that I'm working on. The effect is not intentional.

My current intention is that any future releases of Cumulus 1 will be for bug fixes only, and the cross-platform version will become the only version with new facilities. If I remember, I will try it with that version at some point.

If you were to press me for an answer now, I would say that you can't rely on it.
Steve
BCJKiwi
Posts: 1259
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: Tag syntax query b1085

Post by BCJKiwi »

Thanks
Post Reply