Your welcome Dean
Actually i like the dark roast coffee ( Arabic ), but i never drink it in Norway, thats a part of my holiday experience and i can dream/ missing it for about maybe 3-4 week's after i'm coming home again, and trig me for the next holiday
for me a holiday is traveling far away from Norway, for the moment normally to Thailand, " Land of smiles" ,amazing country/ people
Normally i start to write everything in 1 file ( now i noticed i write, write wrong, thanks, and then try to remember it for the next time's
in the beginning and then i split it after some time, when i feel i have control over what i need in the non executable file(s) like DBb
The Input( Wb,Lb,H1 ) in DBb.ppm is telling TC that it should get this info in the file i choose to use it in, like in the line 18 of DB3.ppm where it stand
"B2 = Move(DBb(Wb,Lb,H2),M1,M2,(H1+M3));" and it's in the part "(DBb(Wb,Lb,H2)," i tell TC that i want to use the outside file DBb ( .ppm ) and it should get the info it need from the parameters "(Wb,Lb,H2)," in this file " (Wb,Lb,H2)" that i give the parameter values of in DB3.ppm
Tc will search for it in the actual folder, if not find it, TC going 1 step down to the Macro folder and search there, if not in one of this 2 place's, i get a fault and the ppm don't work ( or the other way, i dont know where TC search first:)
To make everything in 1 file is very easy, just a little bit difference from DB3 on line 18, see attachment DB4
In this small file there is nothing to get/ save from using 2 files, exept the possebility to use DBb.ppm sometimes later in a different ppm, but then it's the problem to remember what file do i have and what is the name/ function of it
You also see that there is a output named ABC, that is just a "dummy", but it control's how it look in Library palette when you choose the symbol and should start to put in the parameter values in a order that become natural for the object you want to make.
It's very important that this is the first output in the ppm file, if not it will not work and we have no control of what parameter values standing where in Library Palette, make a test and delete the ABC output or just put // ( they will be green ) in front of it, save and se how it looks in Library Palette after that.