|
Browse by Tags
All Tags » VB (RSS)
-
[quote user="CDarklock"]Not entirely true - they can only be value types because of that. [/quote] Still not entirely true: System.String is a reference type, but you can declare a constant of it. System.TimeSpan is a value type, but you can't declare a constant of it. I don't have...
-
[quote user="dtech"] Java does it too, unlike morbius said. Does anyone know mainstream stong-typed languages that don't allow it? (genuine question) [/quote] VB has checking on by default. (genuine answer) Public Module Test Sub Main() Dim i as Integer = 1 Do i *= 10000 Loop End Sub End...
-
[quote user="coentje"]and the forum software[/quote] Hey — at least your post has linebreaks and monospaced code.
-
I meant to post this yesterday, but forgot. 8=[ [quote user="bstorer"][quote user="NorseLaQuet"]Most languages (except VB and a few other POS languages) use 0 indexing.[/quote]Cute piece of trolling here. Also, VB lets you pick between 1 or 0.[/quote] Since version 7 (.NET), it doesn't...
-
Interestingly enough, UnrealEd 1 (at least the one for Deus Ex) was written in VB. That doesn't make a particularly good example, though, since it's buggy as hell.
-
[quote user="spenk"][quote user="SpectateSwamp"]long live VB5.0 [/quote]VB5 is dead, it isn't even supported any more. VB6 surpased it and that is about to enter extended support due to it's age.[/quote] Actually, VB 6 is out even of extended support, as of now: http://support...
-
[quote user="Salami"] In VB you pass variables wither ByRef or ByVal. You can explicitly state it (ByVal SomeVar as Integer) if you want. The default is ByRef, which means if the variable is changed in the subroutine it also changed in the calling subroutine. [/quote] Correction: this was the...
-
[quote user="ekolis"] Yeah, I saw it that way too - but don't you have to explicitly declare things as "virtual" to allow them to be overridden in VB and C# (unlike in Java, where you have to make them "final" to prevent them from be overridden)? I'm not sure whether...
-
I admit I missed the WTF the first time, but now I see it. This property overrides the one in the base class, yet does nothing new. It's a mildly amusing equivalent of: struct A { virtual void M() { /* Do stuff */ }}; struct B : A { void M() { A::M() }}; Okay, guess it's not funny after I explained...
-
VBScript has classes, actually. But I was surprised to learn that it has no " On Error GoTo somewhere" functionality. What's the purpose of the Err object, then?
|
|
|