08-05-2004 04:22 PM
08-05-2004 06:13 PM
06-19-2008 04:28 AM
Dear Otmar,
I have observed the same problem with ChnAlloc. However, I used to use: Call ChnPropValSet("Frequency", "length", 10). It worked before. But today I found that it was giving me the error: Invalid write-access to a variable "CHDX(2,258)"... I switched to your solution i.e., using CL. Is there any particular reason why DIAdem behaved like this? Was I wrong in the first place in using ChnPropValSet? Please share your thoughts.
With warm regards,
Saurav Mukherjee
06-19-2008 11:46 AM
06-20-2008 03:59 AM
Hi Brad,
I am using DIAdem 10.2. CL() method solved my problem. I am still using the same statement involving ChDX(..) i.e., I am writing into the 2nd row in 258th column. The only change is CL() instead of ChnPropValSet().
It also puzzles me that previously I could achieve the same with ChnPropValSet(). But, now I need CL().
With warm regards,
Saurav
06-20-2008 06:20 AM
Option Explicit
Call DataDelAll()
Call ChnAlloc("Test",1000)
Call ChnPropValSet("Test", "length", "2000")
MsgBox ChnLength( "Test" )
ChdX(1900, CNo("Test") ) = 123
Matthias Alleweldt Project Engineer / Projektingenieur | Twigeater? |