if FileGetByte()=0 then...

Discussion in 'Questions (Windows Mobile)' started by BjornF, Oct 7, 2008.

  1. BjornF

    BjornF Active Member Licensed User

    When I try to run the code below the first FileGetByte works ok, but for the If...Then statement I get the compilation message that c1 is used before it is assigned any value (irrespective if the first FileGetByte is commented out or not). It is easy to do a workaround but I would like to understand why it doesn't work :confused:

    If FileGetByte(c1,1)=0 Then
    End If

    all the best / Björn
  2. Erel

    Erel Administrator Staff Member Licensed User

    This is a bug, and it will be fixed.
  3. BjornF

    BjornF Active Member Licensed User

    Thank you for the answer Erel, fast as always ! :)
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice