I have a header file that contains few constants.couple of days back i changed the values in the header file of a constant from B5 to B17, saved the file and ran my test. When i observed the results today i found that the changes are not visible for the global constants during the run. The constant still has a value of B5 rather than B17. When i opened the header file, the value of constant is B17 only. Is it a problem of some buffer being not flushed.I tried restarting the VM ware as well but still ended up in vain. Can you please help me on this
Time to do a debug session and walk through your code.
I would do a simple script that uses your library first and see what happens. If you get the correct CONST there then run your main script that is not working correctly and try that. It seems you may have made a change somewhere in code that is creeping in.
BTW, are you declaring a GLOBAL or a CONST? Globals are designed that they can be changed, CONST are not supposed to be changed.
I use something like this.
Global Const SandCADE_PropfracDesign_Sim_ResCell= "B30"
I used a simple delayfor 100 statement between main and End main. And i included this testreport.Sbh in the script.And i had the debug on, but the value of constant that loaded was not the one in the header file.
No, you don't compile an SBH an SBH is exactly what it says it is, a header file. You compile the SBL (library) file. The SBH contains header information about what lives in the SBL. The SBL contains the code.
If you don't have the SBL then how exactly are you using it? The file needs to be available for you to use it in your script.