Re: Comet 32: An unhandled exception (1) has occured


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Jim Guerber on February 04, 2011 at 14:06:17:

In Reply to: Re: Comet 32: An unhandled exception (1) has occured posted by Robert G Laurin on February 04, 2011 at 13:20:54:

What??

My program is...

length 2.0 & local day month
length 4.0 & local year
length 5.0 & local julian
length 1.0 & local leapyear


clear
print(et)

day = 4
month = 2
leapyear = 2
year = 111
Julian = Int(Month * 275 / 9.000) + Day - 30
print julian
If Month > 2 Then Julian = Julian - LeapYear !! Not applicable here
Julian = Julian + 1000*Year !(4 + 1000*111 -> 111004 -> 11004)
print julian

If I compile and run in c16 I get

35
11035

and the same if compiled and run in c32!




Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]