<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/">
	<channel>
		<title>Need help with a algorithm</title>
		<link>https://www.lotterypost.com/thread/301749</link>
		<atom:link href="https://www.lotterypost.com/rss/topic/301749" rel="self" type="application/rss+xml" />
		<description>Lottery Post Forum Topic: Need help with a algorithm</description>
		<dc:language>en-us</dc:language>
		<generator>Lottery Post RSS Generator</generator>
		<item>
			<title>Reply #11</title>
			<link>https://www.lotterypost.com/thread/301749/4553124</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/301749/4553124</guid>
			<pubDate>Fri, 01 Apr 2016 19:31:14 GMT</pubDate>
			<dc:creator>RL-RANDOMLOGIC</dc:creator>
			<description><![CDATA[<p>Solved, Since the sum of the days from one draw to the next will equal 7 in a weekly cycle all I had to<br /><br />do was add a End IF statement when the sum equaled 7. The value that brings the sum to 7 will be the<br /><br />number of days to the next drawing. It did not take a algorithm but I thought others might find this info<br /><br />useful as it should work with any game day drawing format.<br /><br />RL</p>]]></description>
			<category>RL-RANDOMLOGIC</category>
		</item>
		<item>
			<title>Reply #10</title>
			<link>https://www.lotterypost.com/thread/301749/4550668</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/301749/4550668</guid>
			<pubDate>Thu, 31 Mar 2016 08:43:43 GMT</pubDate>
			<dc:creator>RL-RANDOMLOGIC</dc:creator>
			<description><![CDATA[<p>RJ<br /><br />I have something similar that I used in the past. My new databases don&#x27;t include the day of the week<br /><br />but that&#x27;s not a real problem as my Julian/Gregorian sub calculates them. I spent quite a bit of time on<br /><br />the sub for the purpose of speeding up the live update option as my new program includes both daily<br /><br />and number games. I think I have nine games loaded and the live updater takes several seconds to<br /><br />update all 9 games. There are several options I could use but want to make it a... &#x5b;&#xa0;<a href="https://www.lotterypost.com/thread/301749/4550668">More</a>&#xa0;&#x5d;</p>]]></description>
			<category>RL-RANDOMLOGIC</category>
		</item>
		<item>
			<title>Reply #9</title>
			<link>https://www.lotterypost.com/thread/301749/4550060</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/301749/4550060</guid>
			<pubDate>Wed, 30 Mar 2016 22:54:10 GMT</pubDate>
			<dc:creator>lottolot</dc:creator>
			<description><![CDATA[<p></p>]]></description>
			<category>lottolot</category>
		</item>
		<item>
			<title>Reply #8</title>
			<link>https://www.lotterypost.com/thread/301749/4549564</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/301749/4549564</guid>
			<pubDate>Wed, 30 Mar 2016 16:59:15 GMT</pubDate>
			<dc:creator>RJOh</dc:creator>
			<description><![CDATA[<p>I used the following lines in a BASIC program to convert DATE$ to a day, you should be able to covert any future DATE$ into a day also with a few modifications.<br /><br />1 DIM DAY$(6), MONTH$(12)<br /><br />2 DATA SATURDAY , SUNDAY , MONDAY , TUESDAY , WEDNESDAY , THURSDAY , FRIDAY , JANUARY , FEBRUARY , MARCH , APRIL , MAY , JUNE , JULY , AUGUST , SEPTEMBER , OCTOBER , NOVEMBER , DECEMBER<br /><br />3 FOR X = 0 TO 6: READ DAY$(X): NEXT X<br /><br />4 FOR X = 1 TO 12: READ MONTH$(X): NEXT X<br /><br />5 MO = VAL(LEFT$(DATE$, 2)): DA... &#x5b;&#xa0;<a href="https://www.lotterypost.com/thread/301749/4549564">More</a>&#xa0;&#x5d;</p>]]></description>
			<category>RJOh</category>
		</item>
		<item>
			<title>Reply #7</title>
			<link>https://www.lotterypost.com/thread/301749/4548095</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/301749/4548095</guid>
			<pubDate>Tue, 29 Mar 2016 17:36:05 GMT</pubDate>
			<dc:creator>Lildarryl</dc:creator>
			<description><![CDATA[<p>Add Dr. Miracle to title. It&#x27;ll get a lot of views. And comments.</p>]]></description>
			<category>Lildarryl</category>
		</item>
		<item>
			<title>Reply #6</title>
			<link>https://www.lotterypost.com/thread/301749/4548001</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/301749/4548001</guid>
			<pubDate>Tue, 29 Mar 2016 16:22:58 GMT</pubDate>
			<dc:creator>RL-RANDOMLOGIC</dc:creator>
			<description><![CDATA[<p>If I reduce the NBD$ string to just show the different values then the code below will catch most games.<br /><br />julian#=julian#+val(right$(NBD$,1))<br /><br />This may work for them all, I have to think about it some more.<br /><br />RL</p>]]></description>
			<category>RL-RANDOMLOGIC</category>
		</item>
		<item>
			<title>Reply #5</title>
			<link>https://www.lotterypost.com/thread/301749/4547990</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/301749/4547990</guid>
			<pubDate>Tue, 29 Mar 2016 16:13:40 GMT</pubDate>
			<dc:creator>RL-RANDOMLOGIC</dc:creator>
			<description><![CDATA[<p>I have a method if using days but in my newest program I cut the day of the week out of the database entries.<br /><br />I do have a program that can calculate the day of the week from the Julian date, I guess that would solve my<br /><br />problem but would like to use the new method.<br /><br />RL</p>]]></description>
			<category>RL-RANDOMLOGIC</category>
		</item>
		<item>
			<title>Reply #4</title>
			<link>https://www.lotterypost.com/thread/301749/4547985</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/301749/4547985</guid>
			<pubDate>Tue, 29 Mar 2016 16:11:05 GMT</pubDate>
			<dc:creator>RL-RANDOMLOGIC</dc:creator>
			<description><![CDATA[<p>Raven<br /><br />That works for games with two draws a week but I need something that will catch everything.<br /><br />RL</p>]]></description>
			<category>RL-RANDOMLOGIC</category>
		</item>
		<item>
			<title>Reply #3</title>
			<link>https://www.lotterypost.com/thread/301749/4547981</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/301749/4547981</guid>
			<pubDate>Tue, 29 Mar 2016 16:08:53 GMT</pubDate>
			<dc:creator>Raven62</dc:creator>
			<description><![CDATA[<p>Check the Date for the Day of the Week. If the Drawing are Mon Thu: If it&#x27;s Mon add 3 to the Date, If it&#x27;s Thu add 4 to the Date.</p>]]></description>
			<category>Raven62</category>
		</item>
		<item>
			<title>Reply #2</title>
			<link>https://www.lotterypost.com/thread/301749/4547968</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/301749/4547968</guid>
			<pubDate>Tue, 29 Mar 2016 16:00:01 GMT</pubDate>
			<dc:creator>RL-RANDOMLOGIC</dc:creator>
			<description><![CDATA[<p>Last time I looked LP does not have a programming board, sure there are plenty of programming sites<br /><br />but asking for help with something lottery related won&#x27;t get a reply unless it&#x27;s full of negative remarks.<br /><br />There are several here that have the skills and like working on these sort of problems. What I ask here<br /><br />falls well within the confines of the math forum. May take a week or so for someone interested to take<br /><br />a stab at it but I have plenty of time. I write algorithms for this kind o... &#x5b;&#xa0;<a href="https://www.lotterypost.com/thread/301749/4547968">More</a>&#xa0;&#x5d;</p>]]></description>
			<category>RL-RANDOMLOGIC</category>
		</item>
		<item>
			<title>Reply #1</title>
			<link>https://www.lotterypost.com/thread/301749/4547810</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/301749/4547810</guid>
			<pubDate>Tue, 29 Mar 2016 14:28:36 GMT</pubDate>
			<dc:creator>Wisconsin3054</dc:creator>
			<description><![CDATA[<p>Maybe try a computer programming thread</p>]]></description>
			<category>Wisconsin3054</category>
		</item>
		<item>
			<title>Need help with a algorithm</title>
			<link>https://www.lotterypost.com/thread/301749</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/301749</guid>
			<pubDate>Tue, 29 Mar 2016 12:44:41 GMT</pubDate>
			<dc:creator>RL-RANDOMLOGIC</dc:creator>
			<description><![CDATA[<p>I am working on a tool to calculate the date for the next drawing. I start with converting the last<br /><br />7 games from Georgian to Julian format. Next I subtract the second form the first then the third<br /><br />from the second etc.. giving me the number of days between games. These values are stored in<br /><br />the string NBD$. This works well enough for most games but lets say that a game draws 5 days a<br /><br />week MTWTF and skips Sat and Sun. This would create a string something like 1111311 where<br /><br />when the... &#x5b;&#xa0;<a href="https://www.lotterypost.com/thread/301749">More</a>&#xa0;&#x5d;</p>]]></description>
			<category>RL-RANDOMLOGIC</category>
		</item>
	</channel>
</rss>

