Search found 45 matches

Mon Oct 09, 2017 10:13 pm
Forum: Libraries
Topic: counting the days since 1600/1/1
Replies: 14
Views: 3002
Flag:

Re: counting the days since 1600/1/1

Hi George thanks for sticking to the subject. Well, FLOOR doesn't actually round up. It rounds down. It eliminates all decimal places of any rational number and is used to implement DIV, the "complementary" to MOD in SB. By using DIV it is possible to actually count something, whereas MOD would just...
Sat Oct 07, 2017 3:14 pm
Forum: Libraries
Topic: counting the days since 1600/1/1
Replies: 14
Views: 3002
Flag:

Re: counting the days since 1600/1/1

Hello, George, Thank you for your suggestions. I understand your approach. You use the MOD function to check if your year is a leap year or not. With this problem you can use the MOD function very usefully. The problem for me, however, is to calculate the sum of all leap years between 1600 and my ye...
Tue Oct 03, 2017 5:27 pm
Forum: Libraries
Topic: counting the days since 1600/1/1
Replies: 14
Views: 3002
Flag:

Re: counting the days since 1600/1/1

Yes, I think that's precisely what it is.
Tue Oct 03, 2017 12:58 pm
Forum: Libraries
Topic: counting the days since 1600/1/1
Replies: 14
Views: 3002
Flag:

Re: counting the days since 1600/1/1

Hello Dutchman, thank you very much for your advice! For me, it's just a matter of definition. The calendar of my program begins on first of January 1600 (that's just to make it easier to calculate the leap years). Thus January 1st of 1600 is the first day(=1), January 2nd the second day(=2), and so...
Mon Oct 02, 2017 9:50 pm
Forum: Libraries
Topic: counting the days since 1600/1/1
Replies: 14
Views: 3002
Flag:

Re: counting the days since 1600/1/1

wow, thats great!! didn't know that...that would have saved me the waste of an afternoon. thank you very much... I'll take a closer look at it right away. I am, by the way, glad that the results are identical. In my case, the days from 1.1.1600 are counted, while in your case the difference days are...
Mon Oct 02, 2017 8:18 pm
Forum: Libraries
Topic: counting the days since 1600/1/1
Replies: 14
Views: 3002
Flag:

counting the days since 1600/1/1

Hi there, For date calculations I needed a program to calculate the number of days since 1/1/1600. This program can also be used to calculate the difference between two dates, for example. INPUT year, month,day PRINT days_1600(year,month,day) 'calculates the number of days since 1600/1/1 'c' DEF day...
Thu Aug 03, 2017 1:28 pm
Forum: Libraries
Replies: 3
Views: 1307
Flag:

again modified. - keyboard-layout is passed as parameters to function - 'wait for touch' transferred into function /* COLOURS used in code 'c'-description 'y'-testing 'b'-defining 'g' customizing layout '' */ 'c'============================ '******************* '*** inputfield(keyboard_layout\$,sepst...
Mon Jul 31, 2017 3:16 pm
Forum: Libraries
Replies: 3
Views: 1307
Flag:

Modified the thing. Now with caps-function and long keys /* COLOURS used in code 'c'-description 'y'-testing 'b'-defining 'g'-can be altered by user '' */ 'c'============================ '******************* '*** inputfield *** '******************* 'owns all variables 'creates array '===============...
Thu Jul 27, 2017 8:48 pm
Forum: Libraries
Replies: 3
Views: 1307
Flag: