the DIM Statement
Tech-Archive recommends: Fix windows errors by optimizing your registry
Hi everyone:
1- I was wondering if in VB6, there is a way to explicitly deimention
variable? For example, all variables that start with "A" to be of type
Double?
2- Also, is there a way to define the type of variables in a single
statement, similar to C or Fortran? For example is there a way of writing
Dim A, B, C as double 'All three becoming double
instead of
Dim A as double, B as double, C as double?
Thanks for all your help.
Bob
.
Relevant Pages
- Re: the DIM Statement
... 1- I was wondering if in VB6, there is a way to explicitly deimention ... Dim A as double, B as double, C as double? ... Nope, not in VB6. ... DefDbl A-C ... (microsoft.public.vb.controls) - RE: Converting VB6 Fileopen/input/close to vb.net
... swallow and spit it out as a single string. ... stand alone components set for those VB6 file methods(such as FileOpen, ... Dim file_num As Integer = FreeFile ... For standard binary file read/write, in .NET, you can use BinaryReader ... (microsoft.public.dotnet.languages.vb) - Re: Back to VB6 and .NET
... memory than it is with prior libraries. ... Dim tExceptions As New DataTable ... It works slightly better than VB6 Edit and Continue. ... a DLL which is loaded by Orbiter to run the add-on (like a Project ... (microsoft.public.vb.general.discussion) - Re: VB.NET 2008 not backward compatable?
... Dim sb As New StringBuilder ... The explanation I see for it implies that VB6 ... I couldn't have a second bar, band, or other shell extension ... can you load two different vb runtimes into the same process? ... (microsoft.public.dotnet.languages.vb) - Re: Conversion Problem
... My overall intent is to convert an existing VB6 application into vb.net so I can still use multiple records I created in the new application. ... vb8 does not support arrays declared like arr1because when you try to do the Fileput it just gives an error saying only 2 dimentional arrays are supported - what a load of tat!!! ... dim arr1 ... (microsoft.public.dotnet.languages.vb) |
|