Re: What Would You Change About VB6 if You Had The Chance? (For Novices and Experts)
Re: What Would You Change About VB6 if You Had The Chance? (For Novices and Experts)
The new language project seems great. But why use vb6 as a template? (or any type of source) All the questions unanswered in vb6 are answered in VB.NET (or C#).
Yipperdeedoodaa :afrog:
Re: What Would You Change About VB6 if You Had The Chance? (For Novices and Experts)
Quote:
Originally Posted by grilkip
The new language project seems great. But why use vb6 as a template? (or any type of source) All the questions unanswered in vb6 are answered in VB.NET (or C#).
Yipperdeedoodaa :afrog:
We aren't using VB6 as a template. I posted a thread similar to this for VB.NET, C++ and C#. The point of this thread is to get an idea of what people feel they are lacking in their current programming languages/experiences. We (the LF team) hope to include as many of these things as possible.
Re: What Would You Change About VB6 if You Had The Chance? (For Novices and Experts)
need +=, -=, *=
if you are also including other language stuff please dont make me put ; at the end of most of my lines
Re: What Would You Change About VB6 if You Had The Chance? (For Novices and Experts)
I planned not to add the semicolons anyways ;)
Re: What Would You Change About VB6 if You Had The Chance? (For Novices and Experts)
Quote:
Originally Posted by notquitehere188
need +=, -=, *=
if you are also including other language stuff please dont make me put ; at the end of most of my lines
please don't forget /= and \=
And Mod= , Abs= , in otherwords most mathamatical stuff with an equal behind it stores the result in The variable and the second number is placed after the ....= like
[CODE="LightFusion"]Dim I as integer
I = 234
I Mod= 5[/CODE]
And
Fixed length integers, longs and doubles so you won't need to format them over and over.
Declared like
Dim I as integer *10
or
Dim D as Double * 8.3
results in double always showing in 00000000.000 format without ten bytes extra
variable Arrays of arrays
Dim Arr as Array()()
where te first and second dimension can be redimmed. (the second for eahc element explicit as wel)
[CODE="Lightfusion"]redim Arr(0 to 10)()
redim Arr(0)(0 to 100)
redim Arr(1)(0 to 50)[/CODE]
or
[CODE="LightFusion"]Redim Arr(0 to 10)(0 to 5) 'for all not explicit defined elements or
Redim Arr(0 to 10)(0 to 5) Enforce 'for all second dimension elements [/CODE]
Re: What Would You Change About VB6 if You Had The Chance? (For Novices and Experts)
We are not gonna use the Dim, As, and ReDim statements to declare variables. It's gonna be like this:
Code:
Int32 MyVarible = 5
Re: What Would You Change About VB6 if You Had The Chance? (For Novices and Experts)
Formatting variables only makes sense when you are displaying them. Not when storing/declaring them.
I agree with the arrays - jagged arrays they are called.
Operators will represent single machine opcodes. I think all will have the = variant.
Code:
int Val
Val += 500
Val -= 200
Val &= 100 // And
Val %= 5 // Mod
Re: What Would You Change About VB6 if You Had The Chance? (For Novices and Experts)
A random error generator?
Re: What Would You Change About VB6 if You Had The Chance? (For Novices and Experts)
Quote:
Originally Posted by space_monkey
A random error generator?
Brilliant?
:D