Really retarded question im sure

Discussion in 'Questions (Windows Mobile)' started by Hajuu, Aug 22, 2007.

  1. Hajuu

    Hajuu Member

    Hey guys,

    Im just a bit confused because im just starting out with this stuff and im trying to define a new structure, but im having some issues. I do it almost exactly the same as in the manual with only names for things differing:

    Code:
    dim Type(filename,preload) videofile
    "Error description: An error message cannot be displayed because an optional..."

    *shrug*

    Any help would be greatly appreciated.
     
  2. Louis

    Louis Active Member Licensed User

    Hi. Are you declaring these in between the Sub Globals and End Sub lines where all your global variables should be declared? Can you show us what your file looks like? The declaration you written is correct, but a look at the code including subs may help a lot. Try this code:
    Sub Globals
    Dim Type(filename,preload) videofile
    ' Declare other vars here!
    End Sub
    Sub App_Start
    'The main initialization of your app goes here!
    End Sub
    HTH.
     
  3. Hajuu

    Hajuu Member

    Ahh turns out I was running version 3 rather than 5.5 heh.. 5.5 shows no error.. Maybe a changelog/version support section could be handy for some of the manual pages.. *Shrug*

    Thanks for your time anyway
     
Loading...