DAT Blocks
g3cwi
Posts: 262
Hi
Are these global? I want to tidy some code up and the DAT block for one object could really do with being moved to another one.
Thanks
Richard
Are these global? I want to tidy some code up and the DAT block for one object could really do with being moved to another one.
Thanks
Richard
Comments
DAT blocks are global within a single .SPIN file. So, if you have an object that includes a DAT section and you use this object in several other places, there will only be one copy of the DAT section.
There will only be one DAT for all, ob1, ob2 and subobj1 !
But if you copy some DAT from file A to file B you will have two copies.