Re: Speed

2014-08-23 Thread Geoff Canyon
This has several restrictions, but it generates all permutations of 10 items in about 6 seconds on my recent macbook. It uses two functions, one to generate a permuted list of single digits, and the other to replace in the actual items to be permuted. The restrictions are: 1. The general permutat

Re: Church bell app?

2014-08-23 Thread Kay C Lan
On Sun, Aug 24, 2014 at 2:59 AM, Dr. Hawkins wrote: > > Anyway, I agree: we want something to do once and be done. > > Once we record the bells, would an iOS device (ipod touch, iphone, ipad) be > able to do the same thing? Leave it permanently plugged to power and the > adaptors? iOS devices a

Re: Church bell app?

2014-08-23 Thread JB
America and society have changed drastically in the last 10 years. People are organized and many times they steal from you are damage something you own simply because they want to destroy you. Aa a group they are like a bunch of termites. They each do their part no matter lhow small it is becaus

Re: Church bell app?

2014-08-23 Thread Dr. Hawkins
On Sat, Aug 23, 2014 at 3:51 PM, stephen barncard < stephenrevoluti...@barncard.com> wrote: > so tempting to steal or lose. Interface is more difficult. > My initial reaction is that if someone is breaking into a byzantine church, electronics will be *way* low on their priority list. The icons a

Re: Why doesn't menupick work

2014-08-23 Thread Mark Wieder
> The crlf was created from my code. The bug is not with Livecode. > The bug is staring at my monitor. LOL -- -Mark Wieder ahsoftw...@gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent

Re: Church bell app?

2014-08-23 Thread stephen barncard
On Sat, Aug 23, 2014 at 11:59 AM, Dr. Hawkins wrote: > Once we record the bells, would an iOS device (ipod touch, iphone, ipad) be > able to do the same thing? Leave it permanently plugged to power and the > adaptors? > so tempting to steal or lose. Interface is more difficult. *--* *Stephen

Re: OpenField mystery

2014-08-23 Thread J. Landman Gay
On 8/23/2014, 4:10 PM, Peter M. Brigham wrote: I have long been annoyed at the default placement of the insertion point in the first field when the card is opened (I believe it's not just when the stack gains focus). My solution is to group all the fields and set the traversalon of the group to f

Re: Why doesn't menupick work

2014-08-23 Thread revolut...@duncansoftware.on-rev.com
The crlf was created from my code. The bug is not with Livecode. The bug is staring at my monitor. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http

Re: OpenField mystery

2014-08-23 Thread J. Landman Gay
On 8/23/2014, 3:02 PM, Graham Samuel wrote: It is quite possible for him (her) not to close the last revised field, but simply to go straight to clicking the button. This means that I can't rely on a 'closeField' message being generated even when a field is modified! Hm, that's an old bug that

Re: Sunset, sunrise, twilight calculations in LC?

2014-08-23 Thread J. Landman Gay
On 8/23/2014, 3:25 PM, Mark Wieder wrote: The script implementations are fine, but it was way too easy to add these to the engine, so I just submitted a pull request for floor() and ceil(). Good on you. :) I've sometimes wondered why those two weren't in the engine, they're common in other lan

Re: OpenField mystery

2014-08-23 Thread Peter M. Brigham
On Aug 23, 2014, at 4:02 PM, Graham Samuel wrote: > My user is allowed to write stuff into a succession of fields, and then click > on a button to get something done. The 'something' depends on whether any of > the fields have been modified or not. It is quite possible for him (her) not > to cl

Re: OpenField mystery

2014-08-23 Thread Peter M. Brigham
On Aug 23, 2014, at 3:31 PM, J. Landman Gay wrote: > On 8/23/2014, 12:14 PM, Graham Samuel wrote: >> I have a palette with a lot of objects on it. There are some fields >> and some buttons. I have just realised that when I click on one of >> the buttons, before executing the 'mouseUp' handler for

Re: Sunset, sunrise, twilight calculations in LC?

2014-08-23 Thread Mark Wieder
Charles- Saturday, August 23, 2014, 11:21:44 AM, you wrote: > Thanks. I have been using Sarah Reichelt's Date & Time Library, > which contains these functions by Mark Wieder. I actually didn't > realize they were under copyright, but I see that now. I didn't either. Or more probably I'd forgotte

Re: Sunset, sunrise, twilight calculations in LC?

2014-08-23 Thread Charles E Buchwald
Awesome, Mark. Even better than a feature request! On 23 Aug 2014, at 3:25 PM, Mark Wieder wrote: > All- > > The script implementations are fine, but it was way too easy to add > these to the engine, so I just submitted a pull request for floor() > and ceil(). > > -- > -Mark Wieder > ahsoftw.

Re: Sunset, sunrise, twilight calculations in LC?

2014-08-23 Thread Mark Wieder
All- The script implementations are fine, but it was way too easy to add these to the engine, so I just submitted a pull request for floor() and ceil(). -- -Mark Wieder ahsoftw...@gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secr

Re: Window manager plugin?

2014-08-23 Thread JB
That works good! Very nice, thank you. John Balgenorth On Aug 23, 2014, at 12:39 PM, J. Landman Gay wrote: > If I change the "answer" line to this it works: > > answer warning pString with pBtn1 and pBtn2 > > If you want a more flexible handler that answers with regular, warning, or > info

Re: Sunset, sunrise, twilight calculations in LC?

2014-08-23 Thread Charles E Buchwald
Jacquie, I tested my script before I posted it, and it works for negative integers. Colin, just for fun, I've consolidated mine to one line. Richmond, maybe you'd like to add "ceiling" to your sample stack? function Floor pValue if pValue < 0 then return trunc(pValue) - 1 else return trunc(pVal

Re: Sunset, sunrise, twilight calculations in LC?

2014-08-23 Thread Colin Holgate
Many languages equate booleans to 0 or 1. If LiveCode worked that way you could say: put trunk(n-(n<0)) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferen

Re: OpenField mystery

2014-08-23 Thread Graham Samuel
Jacque to the rescue as ever! Thanks, you have nailed it. It's not just annoying, it's a bug - since an error or omission in the documentation is a bug too, as far as I am concerned: I have not seen a description of this very odd behaviour in the Dictionary or elsewhere (of course I could have m

Solar Clock (was Re: Sunset, sunrise, twilight calculations in LC?)

2014-08-23 Thread FlexibleLearning.com
> I found this link. It might be easier to convert this code to LC. > http://williams.best.vwh.net/sunrise_sunset_algorithm.htm > Bill > > William Prothero > http://es.earthednet.org These algorithms have now been superceded by the NOAA algorithms http://www.esrl.noaa.gov/gmd/grad/solcalc. There

Re: RunRevLive 2014 Conference Mobile App by livecloud.io

2014-08-23 Thread Mark Talluto
On Aug 23, 2014, at 11:47 AM, Colin Holgate wrote: > I installed it onto my Kindle Fire HDX. You do notice that the transitions > and scrolling in the app are sluggish? Might make for a fun session, making > your app run smoothly. Yes. We have spoken with RunRev devs about Android performance

Re: Sunset, sunrise, twilight calculations in LC?

2014-08-23 Thread William Prothero
Folks: Try this: You have to be sure that if myNum is a perfect negative integer, floor(myNum) = myInteger while floor(-some non-integer) = trunc(myNum - 1) Colin’s version works too. on mouseUp put 1.55 into tNum put 1 into tCor put "case: "&tNum&" Correct value: "&tCor&", Calc Value:

Re: Window manager plugin?

2014-08-23 Thread J. Landman Gay
If I change the "answer" line to this it works: answer warning pString with pBtn1 and pBtn2 If you want a more flexible handler that answers with regular, warning, or info icons, then you'd need to pass that in a parameter and branch the handler depending on the type. I wasn't able to get it

Re: OpenField mystery

2014-08-23 Thread J. Landman Gay
On 8/23/2014, 12:14 PM, Graham Samuel wrote: I have a palette with a lot of objects on it. There are some fields and some buttons. I have just realised that when I click on one of the buttons, before executing the 'mouseUp' handler for the button, the engine fires an 'openField' for one of the fi

Re: Sunset, sunrise, twilight calculations in LC?

2014-08-23 Thread Richmond
Go, get it Happy People :) http://forums.livecode.com/viewtopic.php?f=5&t=21404 Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lis

Re: Sunset, sunrise, twilight calculations in LC?

2014-08-23 Thread Colin Holgate
You could do it in one line: put trunc(-14.2+10)-10 where the 10 part is a number bigger than anything you’re going to encounter in your app. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to s

Re: Sunset, sunrise, twilight calculations in LC?

2014-08-23 Thread Richmond
On 23/08/14 22:03, J. Landman Gay wrote: On 8/23/2014, 1:28 PM, Richmond wrote: On 23/08/14 21:13, Charles E Buchwald wrote: So I'm thinking... function Floor pValue if pValue < 0 then return trunc(pValue) - 1 else return trunc(pValue) end Floor Quite unnecessary when 'round' does th

Re: Window manager plugin?

2014-08-23 Thread Scott Rossi
Ooo. I smell a t-shirt to be made: "Your way is clean, but I need a hack." Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 8/23/14 11:50 AM, "J. Landman Gay" wrote: >I believe you. I needed it for The Big Project, which already has a >suspendStack handler, and I was

Re: Sunset, sunrise, twilight calculations in LC?

2014-08-23 Thread J. Landman Gay
On 8/23/2014, 1:28 PM, Richmond wrote: On 23/08/14 21:13, Charles E Buchwald wrote: So I'm thinking... function Floor pValue if pValue < 0 then return trunc(pValue) - 1 else return trunc(pValue) end Floor Quite unnecessary when 'round' does the trick without any homegrown functions.

Re: Church bell app?

2014-08-23 Thread Dr. Hawkins
On Fri, Aug 22, 2014 at 12:46 PM, stephen barncard < stephenrevoluti...@barncard.com> wrote: > I think the extreme cheap-out solutions would be a disservice to the > client, especially with regard to reliability. > It's not a client; it's my own parish :) Anyway, I agree: we want something to d

Re: Window manager plugin?

2014-08-23 Thread J. Landman Gay
I believe you. I needed it for The Big Project, which already has a suspendStack handler, and I was trying to integrate your part. There's a backscript too with a few thousand lines of code that traps most system messages. I never bothered to figure out why it didn't work, I just plugged in my

Re: RunRevLive 2014 Conference Mobile App by livecloud.io

2014-08-23 Thread Colin Holgate
I installed it onto my Kindle Fire HDX. You do notice that the transitions and scrolling in the app are sluggish? Might make for a fun session, making your app run smoothly. > >I would love to release the code to this app, but we have plans to > >commercialize it. > ___

Re: RunRevLive 2014 Conference Mobile App by livecloud.io

2014-08-23 Thread Mark Talluto
On Aug 23, 2014, at 10:31 AM, Colin Holgate wrote: > Is it a LiveCode app? If it is, would you want to send the stack to people > who have iPhone developer accounts, rather than take up one of your UDID > slots? Hi Colin, I would love to release the code to this app, but we have plans to co

Re: Sunset, sunrise, twilight calculations in LC?

2014-08-23 Thread Richmond
On 23/08/14 21:19, Colin Holgate wrote: You must be running LiveCode version -7. It shows -10 for me. On Aug 23, 2014, at 2:05 PM, Richmond wrote: put round(-9.8_ give us 10 Yo! Richmond. No: I was running 2 pints of beer :) Richmond. ___

Re: Sunset, sunrise, twilight calculations in LC?

2014-08-23 Thread Richmond
On 23/08/14 21:13, Charles E Buchwald wrote: So I'm thinking... function Floor pValue if pValue < 0 then return trunc(pValue) - 1 else return trunc(pValue) end Floor Quite unnecessary when 'round' does the trick without any homegrown functions. Richmond. ___

Re: Window manager plugin?

2014-08-23 Thread JB
Thanks, Jacque. It is nice to have some more code examples. I was able to get it to work okay but if I use answer warning the warning icon does not show. Is there a way to get it to show up with this code? John Balgenorth On Aug 23, 2014, at 11:06 AM, J. Landman Gay wrote: > On 8/23/2014, 1

Re: Sunset, sunrise, twilight calculations in LC?

2014-08-23 Thread Charles E Buchwald
Kay, Thanks. I have been using Sarah Reichelt's Date & Time Library, which contains these functions by Mark Wieder. I actually didn't realize they were under copyright, but I see that now. It says something nice about LC that this code is 10 years old and still valid and valuable. - Charles --

Re: Sunset, sunrise, twilight calculations in LC?

2014-08-23 Thread Colin Holgate
You must be running LiveCode version -7. It shows -10 for me. On Aug 23, 2014, at 2:05 PM, Richmond wrote: > put round(-9.8_ > > give us 10 > > Yo! > > Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: Window manager plugin?

2014-08-23 Thread Scott Rossi
If you haven't already, try the script in an empty stack -- should work as expected. I doubt my systems have any special mojo going on (usually I get curses, plagues, and the occasional hex). Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 8/23/14 11:06 AM, "J. Landman

Re: Sunset, sunrise, twilight calculations in LC?

2014-08-23 Thread Charles E Buchwald
So I'm thinking... function Floor pValue if pValue < 0 then return trunc(pValue) - 1 else return trunc(pValue) end Floor On 23 Aug 2014, at 1:05 PM, Richmond wrote: > On 23/08/14 20:44, J. Landman Gay wrote: >> On 8/23/2014, 11:20 AM, Richmond wrote: >>> That "floored me" :) Thanks for t

Re: Window manager plugin?

2014-08-23 Thread J. Landman Gay
On 8/23/2014, 12:07 PM, Scott Rossi wrote: I should have clarified that I listed two scripts: one for answer, one for ask. But the script is working here for all versions of LC, Mac and Win, including v7. Not sure what to tell you. Did you try the script in a new, empty stack? Something like

Re: OpenField mystery

2014-08-23 Thread Charles E Buchwald
Graham, I'm just speculating... Is one of your fields receiving keyboard focus when the palette receives focus? Do you get the same "openField" for each button press in the palette, or just the first one upon returning to the palette? - Charles On 23 Aug 2014, at 12:14 PM, Graham Samuel wrote:

Re: Sunset, sunrise, twilight calculations in LC?

2014-08-23 Thread Richmond
On 23/08/14 20:44, J. Landman Gay wrote: On 8/23/2014, 11:20 AM, Richmond wrote: That "floored me" :) Thanks for the heads up! I just wrote this in the Message Box: put trunc(-9.8) and got '-9' The correct answer for "floor" would be -10. It's the largest integer that is less than the tes

Re: Sunset, sunrise, twilight calculations in LC?

2014-08-23 Thread J. Landman Gay
On 8/23/2014, 11:20 AM, Richmond wrote: That "floored me" :) Thanks for the heads up! I just wrote this in the Message Box: put trunc(-9.8) and got '-9' The correct answer for "floor" would be -10. It's the largest integer that is less than the test number. -- Jacqueline Landman Gay

Re: RunRevLive 2014 Conference Mobile App by livecloud.io

2014-08-23 Thread Colin Holgate
Is it a LiveCode app? If it is, would you want to send the stack to people who have iPhone developer accounts, rather than take up one of your UDID slots? On Aug 23, 2014, at 1:04 PM, Mark Talluto wrote: > I would just need your UDID. Please send it to supp...@canelasoftware.com in > the fol

Re: Window manager plugin?

2014-08-23 Thread JB
Thanks Scott. I cannot believe how dumb I am somedays. The problem was I pasted the code as it was in my openStack handler and after looking at it I see they both call the same thing. Your latest version fixed it. thank again. John Balgenorth On Aug 23, 2014, at 10:07 AM, Scott Rossi wrote:

Re: Window manager plugin?

2014-08-23 Thread JB
Thanks for the info, Richard. John Balgenorth On Aug 23, 2014, at 9:59 AM, Richard Gaskin wrote: > Scott Rossi wrote: > >> Here's one way to position ask/answer dialogs on desktop: >> >> [ in your stack script ] >> >> on suspendStack >> if "ask dialog" is among the lines of the openStacks

OpenField mystery

2014-08-23 Thread Graham Samuel
I have a palette with a lot of objects on it. There are some fields and some buttons. I have just realised that when I click on one of the buttons, before executing the 'mouseUp' handler for the button, the engine fires an 'openField' for one of the fields. I can't see what I have done to cause

Re: Speed

2014-08-23 Thread Richard Gaskin
Beat Cornaz wrote: > I have some hundred fitness functions, which need to be recalculated > many times. But I think the problem of making Permutations might be > illuminating for me, as this one takes quite long to run (with 10 or > more elements to Permutate). > > So a good example would be how

Re: Window manager plugin?

2014-08-23 Thread Scott Rossi
I should have clarified that I listed two scripts: one for answer, one for ask. But the script is working here for all versions of LC, Mac and Win, including v7. Not sure what to tell you. Did you try the script in a new, empty stack? Something like this would be better to be all-inclusive: on

Re: RunRevLive 2014 Conference Mobile App by livecloud.io

2014-08-23 Thread Mark Talluto
On Aug 23, 2014, at 3:44 AM, Marc Van Cauwenberghe wrote: > Anyone tried to install the app yet? > Does not seem to be available. Hi Marc, The Android version is available now via our website (device needs to be in developer mode). http://livecloud.io/runrevlive-14-conference-app/ We have s

Re: Window manager plugin?

2014-08-23 Thread Richard Gaskin
Scott Rossi wrote: Here's one way to position ask/answer dialogs on desktop: [ in your stack script ] on suspendStack if "ask dialog" is among the lines of the openStacks then set the loc of stack "ask dialog" to the loc of me end if end suspendStack on suspendStack if "answer

Re: Standard Library

2014-08-23 Thread Mark Wieder
Kay- Friday, August 22, 2014, 11:36:11 PM, you wrote: > So I looked into this and there is NO requirement to use \ to delimit > the / char in PCRE grep. On further investigation it appears to be a > limitation of the online grep tester which uses the / char to enclose > the grep string so the ser

Re: Window manager plugin?

2014-08-23 Thread JB
Hi Scott, I put the script in my stack script and it continued to show the answer dialog in the center of the screen. So I replaced llc with “112,110” and nothing changed. Then I added "put the openStacks" into the mouseUp handler where the answer dialog is called from. If it is at the very beg

Re: Sunset, sunrise, twilight calculations in LC?

2014-08-23 Thread Richmond
On 23/08/14 19:13, Earthednet-wp wrote: Richmond, Floor of a number is the largest integer that is less than or equal to the number. For positive numbers, it would be trunc(myNumber) but for negative numbers, floor(-4.34) would have to evaluate to -5. Probably trunc(myNum-1) would almost do it

Re: Sunset, sunrise, twilight calculations in LC?

2014-08-23 Thread Earthednet-wp
Richmond, Floor of a number is the largest integer that is less than or equal to the number. For positive numbers, it would be trunc(myNumber) but for negative numbers, floor(-4.34) would have to evaluate to -5. Probably trunc(myNum-1) would almost do it, but I'm not in LC to check all cases, e.

Re: Mucking around with animated GIF images.

2014-08-23 Thread Richmond
On 23/08/14 18:31, Alejandro Tejada wrote: Really Nice! :D If I had to do this effect, only will cutout the floating mountain and use the sky and sea as static background. Many Thanks for including in your Forum post a download link to Bryce Personal Learning Edition: http://www.freedownloadspl

Re: Window manager plugin?

2014-08-23 Thread Scott Rossi
>> >> Will that let you position the ask and answer dialogs? >> >> John Balgenorth >> >> Here's one way to position ask/answer dialogs on desktop: [ in your stack script ] on suspendStack if "ask dialog" is among the lines of the openStacks then set the loc of stack "ask dialog"

Re: Mucking around with animated GIF images.

2014-08-23 Thread Alejandro Tejada
Really Nice! :D If I had to do this effect, only will cutout the floating mountain and use the sky and sea as static background. Many Thanks for including in your Forum post a download link to Bryce Personal Learning Edition: http://www.freedownloadsplace.com/Bryce-Download-40177.htm Back in 201

Re: Sunset, sunrise, twilight calculations in LC?

2014-08-23 Thread Richmond
On 23/08/14 17:44, Earthednet-wp wrote: I found this link. It might be easier to convert this code to LC. http://williams.best.vwh.net/sunrise_sunset_algorithm.htm Bill William Prothero http://es.earthednet.org That looks very good indeed: but I don't understand what 'floor' means. Richmond

Re: Sunset, sunrise, twilight calculations in LC?

2014-08-23 Thread Earthednet-wp
I found this link. It might be easier to convert this code to LC. http://williams.best.vwh.net/sunrise_sunset_algorithm.htm Bill William Prothero http://es.earthednet.org > On Aug 23, 2014, at 5:17 AM, Richmond wrote: > >> On 23/08/14 15:13, FlexibleLearning.com wrote: >> Yes. I have done this.

Re: Sunset, sunrise, twilight calculations in LC?

2014-08-23 Thread Richmond
On 23/08/14 15:13, FlexibleLearning.com wrote: Yes. I have done this. It is not a trivial exercise. It requires a lot of complex solar geometry calculations as well as Julian calcs. Go to http://www.esrl.noaa.gov/gmd/grad/solcalc, pick the "Solar Calculator", extract the javascript in the web pa

RE: Sunset, sunrise, twilight calculations in LC?

2014-08-23 Thread FlexibleLearning.com
Yes. I have done this. It is not a trivial exercise. It requires a lot of complex solar geometry calculations as well as Julian calcs. Go to http://www.esrl.noaa.gov/gmd/grad/solcalc, pick the "Solar Calculator", extract the javascript in the web page, then translate it to LC for use in your own w

Re: Speed

2014-08-23 Thread Kay C Lan
I obtained a 10% speed increase by changing this: repeat with n = 3 to 10 to this: put "3,4,5,6,7,8,9,10" into nList repeat for each item n in nList ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subsc

Mucking around with animated GIF images.

2014-08-23 Thread Richmond
Well, I had fun anyway :) http://forums.livecode.com/viewtopic.php?f=25&t=21381&p=109524#p109524 But I have the advantage of running Bryce 4 on my G5 iMac in Classic mode! And . . . I had almost completely forgotten about PICT and TIFF image formats . . . Richmond. _

Re: Window manager plugin?

2014-08-23 Thread Mark Schonewille
Hi John, No, but that should be easy. There are several ways to do this. For example, create an invisible stack, set its location to the location where you want the answer dialog. Set the defaultStack to this stack and execute the ask or answer command. There may be more elegant ways. set the

RunRevLive 2014 Conference Mobile App by livecloud.io

2014-08-23 Thread Marc Van Cauwenberghe
Anyone tried to install the app yet? Does not seem to be available. Marc ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mail

Android video capture

2014-08-23 Thread Richard Miller
Wondering if anyone knows of any creative way to capture video on an Android device through a LC app. Thanks, Richard Miller ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your su

Schmidt-Cornelius Peninsular

2014-08-23 Thread Richmond
http://livecode.com/blog/2014/08/22/koch-island-fractal-basics-with-livecode/ This is a lot of fun. But, oddly enough, on about the 6th or 7th click on the Iterate button the graphic is deleted! Richmond. ___ use-livecode mailing list use-livecode@li

Re: Speed

2014-08-23 Thread Dick Kriesel
On Aug 23, 2014, at 1:31 AM, Dick Kriesel wrote: > putLine n & " things produce " & ( number of elements in > tCountForPermutation ) & " of " \ oops. please replace "putLine" with "put" ___ use-livecode mailing list use-livecode@lists.runrev.co

Re: Speed

2014-08-23 Thread Dick Kriesel
On Aug 22, 2014, at 1:17 PM, Beat Cornaz wrote: > So a good example would be how to make all possible permutations of say 10 > different elements (0-9). This gives 3628800 different permutations. > The resulting permutations will be in lines I guess, but what would be the > best way to do thi

Re: Sunset, sunrise, twilight calculations in LC?

2014-08-23 Thread Kay C Lan
Nope, but this will help you calculate the Julian Date Number, which you'll need: put the date into tDate convert tDate from date to dateItems if ((item 2 of tDate = 1) or (item 2 of tDate = 2)) then put 1 into tDay else put 0 into tDay end if put item 1 of tDate + 4