I've tried signing up, and have become bored waiting for my registration
Here's my answer ....
> on mouseUp
> local tInput
> put fld "FieldIn" into tInput
> if the number of words in tInput <> 2 or \
> word 1 of tInput is not a number or \
> word 2 of tInput is not a number then
> ask "must give 2 numbers"
> exit mouseUp
> end if
> local tAPrime, tANonPrime
> repeat with i = 2 to word 2 of tInput
> if tANonPrime[i] then next repeat
> if i >= word 1 of tInput then put true into tAPrime[i]
> repeat with j = i+i to word 2 of tInput step i
> put true into tANonPrime[j]
> end repeat
> end repeat
> local tt
> put "The number of primes between" && tInput && "is" && the number
> of lines in the keys of tAPrime & CR into fld "F"
> put the keys of tAPrime into tt
> sort lines of tt numeric
> put "and they are" & CR & tt after fld "F"
> end mouseUp
yeah, I did eventually get the email. It was (apparently) generated
immediately, but queued for 20 minutes before being delivered from your
server to my server - but I can't tell whether it was a problem on your
sage.on-rev.com or on my end (or between).
But - done now, I can try the other challenges whenever I have time :-)
Hmmmm... I am on sage and was having a problem sending mail. Send one to another email address you have access to and see if there is a problem. If so, let them know... They fixed mine right away.
> On Sep 7, 2015, at 8:36 PM, Alex Tweedly <[hidden email]> wrote:
> Hi Andy,
> yeah, I did eventually get the email. It was (apparently) generated immediately, but queued for 20 minutes before being delivered from your server to my server - but I can't tell whether it was a problem on your sage.on-rev.com or on my end (or between).
> But - done now, I can try the other challenges whenever I have time :-)
>> On 07/09/2015 21:14, AndyP wrote:
>> Hi Alex,
>> I see you managed to post your answer.. thank you.
>> Did you get the subscription email or did you have to go to go through the
>> forgotten password routine?
>> Andy Piddock
>> My software never has bugs. It just develops random features.
>> Copy the new cloud space, get your free 15GB space now:
>> Get Copy
>> Script editor Themer for LC http://2108.co.uk >>
>> PointandSee is a FREE simple but full featured under cursor colour picker / finder.
>> http://www.pointandsee.co.uk - made with LiveCode
>> View this message in context: http://runtime-revolution.278305.n4.nabble.com/New-Coding-Challenge-added-tp4696094p4696104.html >> Sent from the Revolution - User mailing list archive at Nabble.com.
>> use-livecode mailing list
>> [hidden email] >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode >
> use-livecode mailing list
> [hidden email] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: