realbasic-nug
[Top] [All Lists]

Re: DayOfYear

To: "REALbasic NUG" <realbasic-nug@lists.realsoftware.com>
Subject: Re: DayOfYear
From: "Lars Jensen" <larsjensen@gmail.com>
Date: Sun, 30 Nov 2008 10:50:13 -0800
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com; dkim=neutral (body hash did not verify) header.i=@gmail.com
Delivered-to: listarchive@realsoftware.com
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=czKv6qI9m0IA2ymuYMbgpSeoOsD+s/vn1Bt4hJDL4p8=; b=Duse7ffjEC/Re6oTF6GWm5GyRM82DpsoqUOcEx2HlP67a0aFQeJTGKSwmmG7CAdOIp VgNolfNjgK73qtdC3Vc4cwsxWohQwJhcXBEDVBfRzZtasKPdsoRacDjf0z4rRMV3QF5r bW4Ux3r9KNVoQ/xVLZm/LaKxN+7YMEzzx1yZM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ANbFevFEeotht+Re/f5yIPm3csW44Q55G1YEPJDJJxe/ltuGl96+j8Ijnt5+9XH/YY zd3yKIW6JA1mlc5LVH7ypno+xnMkz2ElmddIqtniUl5sl90AL/G7YtY/PESVCriBbtVC J9O5Ha6SWLUr236Ecxg5mtb2WveojlAsy0ANA=
In-reply-to: <1ir7cff.y3us0h1955hl6M%realbasiclists@monkeybreadsoftware.de>
References: <33cbfa100811291949ucf9ad90yb00334f2d57eff8a@mail.gmail.com> <1ir7cff.y3us0h1955hl6M%realbasiclists@monkeybreadsoftware.de>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
> Sub myDayOfYear(extends d as date, assigns v as integer)
>  d.day=1
>  d.Month=1
>  d.day=d.day+v-1
> End Sub

Thanks Christian, that is simpler than my own SetDayOfYear routine.
However I still don't understand why the compiler won't let me call a
method named DayOfYear.

lj

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>