Re: Plotting Equations that Bifurcate

2020-10-30 Thread Roger Guay via use-livecode
Lots of clever ideas here, Alex, but I think you’re missing the point of what I ultimately want to do. I'm building a plotting program for which I want to plot any equation including those that have multiple values of y for a given x. An equation might branch at any point and might even have mul

Re: Plotting Equations that Bifurcate

2020-10-30 Thread Alex Tweedly via use-livecode
On 30/10/2020 22:40, Roger Guay via use-livecode wrote: Let’s try this again after spellchecking: Yes, yours is a good example of a bifurcated line. But now imagine producing this line programmatically with an equation that: Produces a constant y value of 149 as x progresses from 35 to 235 (

Re: Plotting Equations that Bifurcate

2020-10-30 Thread Roger Guay via use-livecode
Let’s try this again after spellchecking: Yes, yours is a good example of a bifurcated line. But now imagine producing this line programmatically with an equation that: Produces a constant y value of 149 as x progresses from 35 to 235 (no problem) Then produces 2 different but simultaneous valu

Re: Plotting Equations that Bifurcate

2020-10-30 Thread Roger Guay via use-livecode
Yes, yours is a good example of a bifurcated line. But now imagine producing this line programmatically with an equation that: Produces a constant y value of 149 as x progresses from 35 to 235 (no problem) Then produces 2 different but simultaneous values of y as x progresses from 235 to 335. Th

Re: Is the DateFormat read only?

2020-10-30 Thread J. Landman Gay via use-livecode
Good point. For our situation, hours were enough so I guess I ignored the rest (it was a long time ago and the code is old.) On 10/30/20 3:24 PM, Alex Tweedly via use-livecode wrote: But that will only work for those time zones whose variation from UTC is an exact number of hours. the interne

Re: Is the DateFormat read only?

2020-10-30 Thread Alex Tweedly via use-livecode
But that will only work for those time zones whose variation from UTC is an exact number of hours. the internet date has 4 digits so that it can handle hour and minute variations - you could change   subtract (char 1 to -3 of last word of the internet date) from item 4 of tTime to   put t

Re: Is the DateFormat read only?

2020-10-30 Thread J. Landman Gay via use-livecode
On 10/29/20 4:33 PM, Graham Samuel via use-livecode wrote: The only souci with this format is that it gives the month in alpha, presumably according to the nationality of the OS. But it’s easy to get the numeric month in other ways. Still, it is just a little bit fiddly to create a full UTC dat

RE: Plotting Equations that Bifurcate

2020-10-30 Thread Craig newman via use-livecode
Hi. Aren't the points of your two bifurcated lines comprised of the endpoint of the "main" line, a comma, and then a line containing two new items? In other words, if your main line has the points: 34,149 235,149 then one of the bifurcated lines might have points, say: 235,149 335,249 and the

Re: Plotting Equations that Bifurcate

2020-10-30 Thread Dr. Hawkins via use-livecode
bob bumbled, > > Last time I plotted an equation while bifurcating, I was pretty drunk, and > don't remember much. I once wrote a program that compiled without error and executed on the very first try. And, umm, the university would not have approved of what I consumed before I went to the

Re: Plotting Equations that Bifurcate

2020-10-30 Thread Stephen Barncard via use-livecode
Bob, that one gets a “LIKE”. On Fri, Oct 30, 2020 at 10:28 Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > Last time I plotted an equation while bifurcating, I was pretty drunk, and > don't remember much. > > Bob S > > > > On Oct 29, 2020, at 15:03 , Roger Guay via use-live

Re: Plotting Equations that Bifurcate

2020-10-30 Thread Bob Sneidar via use-livecode
Last time I plotted an equation while bifurcating, I was pretty drunk, and don't remember much. Bob S > On Oct 29, 2020, at 15:03 , Roger Guay via use-livecode > wrote: > > I am trying to plot an equation that bifurcates by setting the points of a > polygon as I iterate the equation. But I

Re: Is the DateFormat read only?

2020-10-30 Thread Bob Sneidar via use-livecode
I have a formatDate() function (not to be confused with dateFormat) that has a few extra formats, one I call sql date for instance which is -mm-dd (and another function for time so I can produce a datetime compatible for SQL databases). I suppose it can be expanded for other formats, but w