Reply To: Variable Mismatch

Home Forums Problems and solutions in GDL Others Variable Mismatch Reply To: Variable Mismatch

#4821
Péter Baksa
Keymaster

The 2d script doesn’t know about the variables in the UI script. You have to write the same request in the 2D script too, or move it to the master script (just don’t use the variables in the parameter script, as the request will be unsuccessful from parameter script).
UI_INFIELD can’t show variables. Is ProWidth and ProHeight a parameter? No matter what you assign to it in the scripts, UI_INFIELD will show the stored parameter values. You would need a PARAMETERS command to change them, but you can’t do it, as this request doesn’t work in parameter script.
You can show variables and current value of parameters with UI_OUTFIELD.

Péter Baksa
Library Platform, Software Engineer
GRAPHISOFT SE