The dictionary attempts to detect whether any code snippet is livecode script or livecode builder - in this case it appears to be autodetecting incorrectly. I will have to investigate ways of fixing this.
The syntax of everything is as it is displayed in the syntax field - the "LocalDate" you can see is just the name of the dictionary entry. On Mon, Aug 31, 2015 at 5:14 PM Mike Kerner <[email protected]> wrote: > In addition, in the dictionary, "localDate" is one word, but in the > examples, and in the code in clock, it is not. > > On Mon, Aug 31, 2015 at 12:13 PM, Mike Kerner <[email protected]> > wrote: > > > That's where I looked. > > If you look at the documentation for date, the only thing that comes up > is > > local date, but in the example, local is colorized as a modifier and date > > as a keyword, and the same occurs with time - it is shown as local time, > > but again, local is colorized as a modifier and time as a keyword, but > > neither time nor date are documented per se, which makes me wonder what > > syntax is really available, and if there are other modifiers. > > > > The example incorrectly sets the timezone as UTC0, when what it should be > > doing is determining the timezone either by comparison to UTC or some > other > > means, and then setting. I'd like to beat the rest of the community to > the > > punch and submit the fix to Git, but I don't want to waste my time if the > > syntax is deprecated on arrival. > > > > > > On Mon, Aug 31, 2015 at 11:40 AM, Peter TB Brett < > [email protected] > > > wrote: > > > >> > >> > >> On 31/08/2015 16:38, Mike Kerner wrote: > >> > >>> Does anyone know how to find the LCB API's? I was trying to fix a bug > in > >>> the new clock widget over the weekend, but the various functions that > it > >>> calls are not documented anywhere that I've looked, so far. > >>> > >> > >> If you go into the dictionary in the IDE, there's a drop down menu at > the > >> top left. If you select "LiveCode Builder" from the list, it'll show > you > >> all the syntax available. > >> > >> Which particular things did you run into in the clock widget that > weren't > >> documented? > >> > >> Peter > >> > >> -- > >> Dr Peter Brett <[email protected]> > >> LiveCode Engine Development Team > >> > >> LiveCode on reddit: https://reddit.com/r/livecode > >> > >> _______________________________________________ > >> use-livecode mailing list > >> [email protected] > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
