Header structure

Erel

B4X founder
Staff member
Licensed User
Longtime 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
268
'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
flb:FormLib
node1:Node
tree:TreeView
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.
addform(Form1,"Form1","",220,220,220)@
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:

version
6.40 'version
0 'number of forms - 1
Form1
3 'number of objects
Node2:Node
Node1:Node
Tree:TreeView
Sub designer
addform(Form1,"Folder Chooser","",211,211,211)@
addbutton(form1,btnSelect,145,235,75,23,"Select",212,208,200,0,0,0,True,True,9)@
addarraylist(form1,al1,155,20,80,25)@
End Sub
@EndOfDesignText@


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

Cableguy

Expert
Licensed User
Longtime User
What does "depreciated" mean. It might be that "deprecated" is intended but even then I don't understand

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:
 
Top