Header structure

Discussion in 'Beta Versions' started by Erel, Aug 27, 2008.

  1. Erel

    Erel Administrator Staff Member Licensed User

    The header structure was changed (and also fixed):
    sbp file header:

    version 'constant
    6.40 'version
    0 'number of forms - 1
    Form1 'list of forms
    238 'screen size
    'icon file
    1 'number of desktop libraries / included code files (for backwards compatibility)
    ControlsEx.dll 'list of libraries / included code files
    1 'number of device libraries / included code files
    ControlsEx.dll 'list of libraries / included code files
    4 'Number of objects
    node2:Node 'list of objects
    1 'Number of modules
    FolderChooser 'module name
    1 '1 means that this module should be added as a new tab. 0 means that it will be hidden (same as right clicking the tab and choosing Hide Module).
    Sub designer 'designer text - New projects will not suffer from extra spaces or 'r' characters at the end of line.
    addlabel(form1,Label1,25,105,195,60,"Folder: ",220,220,220,0,0,0,True,True,9)@
    addbutton(form1,Button1,60,25,105,50,"Choose Folder",212,208,200,0,0,0,True,True,9)@
    End Sub
    @EndOfDesignText@ 'The code starts one line after this one (unlike previous versions).

    bas file structure:

    6.40 'version
    0 'number of forms - 1
    3 'number of objects
    Sub designer
    addform(Form1,"Folder Chooser","",211,211,211)@
    End Sub

    Both structures are not final and may change in version 6.50.
  2. agraham

    agraham Expert Licensed User

    What does "depreciated" mean. It might be that "deprecated" is intended but even then I don't understand :confused:
  3. Erel

    Erel Administrator Staff Member Licensed User

    Lets settle on "(for backwards compatibility)".
    Included code files are text files that were added from the Components dialog.
    Now that modules are supported there are no good reasons for using these files instead of modules.
  4. Cableguy

    Cableguy Expert Licensed User

    A ford model T is depreciated when compared with a ferrari maranello...It will still run, but the effort to do so is not worth the travel...:):sign0188:
  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