You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure how to set or override constant values.
I've figured out how to set model values in the .cfg file, for example:
CONSTANT APPROVED = APPROVED
However, if I want to set a constant value (e.g., set the constant Vmax to 3), or override the value of Nat to 0..(Vmax+1), I'm not sure how to do that.
The TLA+ Toolbox creates two files: mc.cfg and mc.tla, and puts something like this in mc.cfg:
But I don't know what the equivalent of the mc.tla file is for the vscode plugin. I can put those definitions directly in my .tla file, but that feels gross. Putting the constants directly in the cfg file itself doesn't work.
The text was updated successfully, but these errors were encountered:
I'm not sure how to set or override constant values.
I've figured out how to set model values in the .cfg file, for example:
However, if I want to set a constant value (e.g., set the constant
Vmax
to3
), or override the value ofNat
to0..(Vmax+1)
, I'm not sure how to do that.The TLA+ Toolbox creates two files: mc.cfg and mc.tla, and puts something like this in mc.cfg:
And then puts this in mc.tla:
But I don't know what the equivalent of the
mc.tla
file is for the vscode plugin. I can put those definitions directly in my .tla file, but that feels gross. Putting the constants directly in the cfg file itself doesn't work.The text was updated successfully, but these errors were encountered: