Dear Didier,
I believe there is a bug in the variable command. Please see attached model for an example. In the model, when both "xa1" and "xa10" are declared, "xa10" will have a wrong value. If you comment out "xa1", then "xa10" will be correct.
Best regards,
Wai-Ming
Problem with variable
Re: Problem with variable
Dear wtam,
Exact, it's fixed, you can upgrade your code.
Regards,
Didier
Exact, it's fixed, you can upgrade your code.
Regards,
Didier
-
- Skilled
- Posts: 101
- Joined: Mon 7 Dec 2020 06:17
- Location: Boston
- Country:
United States of America (us)
Re: Problem with variable
Dear Didier,
That fixes the problem.
But it created another problem. I don't know exactly what it is. A model that I can run without problem with the last version now cannot run with the new version. The complain is related to variable:
drift 30-(xa11-40) 10
I guess it is related to the "11" in the variable.
Best regards,
Wai-Ming
That fixes the problem.
But it created another problem. I don't know exactly what it is. A model that I can run without problem with the last version now cannot run with the new version. The complain is related to variable:
drift 30-(xa11-40) 10
I guess it is related to the "11" in the variable.
Best regards,
Wai-Ming
Re: Problem with variable
Dear Wai-Ming,
Yes you're rigth, as usual I broke someting by fixing something else.
Ok, it's fixed (I hope), be carreful I didn't change code version number
Regards,
Didier
Yes you're rigth, as usual I broke someting by fixing something else.
Ok, it's fixed (I hope), be carreful I didn't change code version number
Regards,
Didier
-
- Skilled
- Posts: 101
- Joined: Mon 7 Dec 2020 06:17
- Location: Boston
- Country:
United States of America (us)
Re: Problem with variable
Dear Didier,
Thanks a lot.
In general, when you upgrade TraceWin.exe, is TraceWin_noGUI.exe also being upgraded?
I use a script to run batch using TraceWin_noGUI.exe through cmd, and then copy two files: tracewin.out and partran1.out. Sometimes that two files are not available for some parameter values. But I am pretty sure that those parameter values are fine, i.e. no singularity etc. I am not sure if it is that running TraceWin_noGUI through cmd is not stable, or something else... do you have any comment?
Best regards,
Wai-Ming
Thanks a lot.
In general, when you upgrade TraceWin.exe, is TraceWin_noGUI.exe also being upgraded?
I use a script to run batch using TraceWin_noGUI.exe through cmd, and then copy two files: tracewin.out and partran1.out. Sometimes that two files are not available for some parameter values. But I am pretty sure that those parameter values are fine, i.e. no singularity etc. I am not sure if it is that running TraceWin_noGUI through cmd is not stable, or something else... do you have any comment?
Best regards,
Wai-Ming
Re: Problem with variable
Dear Wai-Ming,
Yes of course both codes are always upgraded at the same time.
I suggest you check to replace in your batch file "TraceWin_noGUI.exe ...." by "TraceWin.exe hide ...." to see if you have the same issue
or directly "TraceW64.exe" file but here, all input files are to be located in executable directory.
Otherwise, you should have found the particular problematic case and sent it to me
Regards,
Didier
Yes of course both codes are always upgraded at the same time.
I suggest you check to replace in your batch file "TraceWin_noGUI.exe ...." by "TraceWin.exe hide ...." to see if you have the same issue
or directly "TraceW64.exe" file but here, all input files are to be located in executable directory.
Otherwise, you should have found the particular problematic case and sent it to me
Regards,
Didier