-
Re: Rehashing NEW keyword a SECOND time, right NOW...
Hi Rohit,
> I see that "Set" is dropped because we dont deal with "Default" properties
> so there is no confuasion like whether to set the whole object reference
> or just the default property, New on the other hand is serving a different
> purpose, which I see can not be done away with!
The Set statement didn't help telling the reference and the default property
apart if your default property was of a reference type, i.g.:
' VB6 Class Test
Public Another As Test ' default
' somewhere else
Dim t As Test: Set t = New Test
Dim x As Test
Set x = t ' should assign t (not sure)
Set x = t.Another ' assigns t.Another
Regards,
Gregor
-
Re: Rehashing NEW keyword a SECOND time, right NOW...
"Joe "Nuke Me Xemu" Foster" <joe@bftsi0.UUCP> wrote
>Any findings I have to report from B1 will merely
> be met with, "Wait for Beta 2!" while anything I might find with Beta 2
> will merely be met with "Wait for the release!" from the NDA'd.
Would it be fair to say that in your personal program,
sFindings = cThingsTo*****About.rehash
and
sSilence = cThings IWas WrongAbout.discovered
?
-
Re: Rehashing NEW keyword a SECOND time, right NOW...
"Jon Ogden" <jon@ogdenco.net> wrote in message <news:3b2b8655@news.devx.com>...
> "Joe "Nuke Me Xemu" Foster" <joe@bftsi0.UUCP> wrote
>
> >Any findings I have to report from B1 will merely
> > be met with, "Wait for Beta 2!" while anything I might find with Beta 2
> > will merely be met with "Wait for the release!" from the NDA'd.
>
> Would it be fair to say that in your personal program,
>
> sFindings = cThingsTo*****About.rehash
>
> and
>
> sSilence = cThings IWas WrongAbout.discovered
>
> ?
What are you babbling about? Did Microsoft suddenly rediscover the XADD
instruction and their own Win32 API wrappers for it and reintroduce DF?
--
Joe Foster <mailto:jfoster@ricochet.net> Got Thetans? <http://www.xenu.net/>
WARNING: I cannot be held responsible for the above They're coming to
because my cats have apparently learned to type. take me away, ha ha!
-
Re: Rehashing NEW keyword a SECOND time, right NOW...
> StartTime = New Date().Now
Date isn't a function or array, so I don't see why he put a paren between it
and Now.
--
Jonathan Allen
-
Re: Rehashing NEW keyword a SECOND time, right NOW...
"Jonathan Allen" <greywolf@cts.com> wrote
> > StartTime = New Date().Now
>
> Date isn't a function or array, so I don't see why he put a paren between it
> and Now.
In a nutshell, it would more often appear this way
Dim Interval As DateInterval
Dim StartTime As Date
Interval = DateInterval.Second
StartTime = Date.Now
And look how easily the New keyword was dropped from that statement!
My question was, could it be possible to drop New from all the other places it is used too?
A lot of people say it has to be there, and I think the language would be much 'simpler'
if we access all the 'objects' the same way....
LFS
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks