Solved

Visual Basic 6 query

Posted on 2013-11-11
2
410 Views
Last Modified: 2013-11-11
Hi Experts
Can someone please explain what does 0# mean in VB6.

Here is an example of its usage-

Dim f()                 As Single
    Dim m()                 As Single
    Dim i                   As Integer
    Dim j                   As Integer
    Dim K                   As Integer
    Dim C                   As Integer
    Dim ct                  As Integer
    Dim iCount              As Integer
    Dim xCount              As Long
    Dim bCompInvalid        As Boolean
    Dim iSum                As Integer
    Dim iNewRow             As Integer
    Dim iOldRow             As Integer
    Dim iHoldNeg            As Integer
    Dim dFact               As Double
    Dim dHoldVal            As Double
    Dim dTotal              As Double
    Dim msg                 As String
    Dim rdoRs               As rdoResultset
    Dim rdoTmpRs            As rdoResultset
    Dim dAppRate            As Double
       
        ReDim f(CompNo + 1, CompNo + 3)
        ReDim m(CompNo + 1, CompNo + 3)
           
             
        If colSelectedIngredients.Count > 0 Then
            For i = 1 To CompNo + 1
                For j = 1 To CompNo + 3
                    f(i, j) = 0#
                Next j
            Next i
0
Comment
Question by:kalbal
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 500 total points
ID: 39640534
it means to cast the value as a double. check http://msdn.microsoft.com/en-us/library/dzy06xhf.aspx
0
 

Author Closing Comment

by:kalbal
ID: 39640556
thanks
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
This article will show, step by step, how to integrate R code into a R Sweave document
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question