ABB ST语言编程(18)
时间:2025-07-06
时间:2025-07-06
13.5.7Declaring Variables from Error Messages
There is a quick shortcut that can save a lot of time whenprogramming. That is to letthe error checker do the work of declaring variables. This method is not for the purist!
1.
Program as normal but without declaring the variables.
2.Now do a check and you will get the“Variable not declared”
errors::
3.To get automatic declaration, mark the first error, click right and select “Declare”
“Variable”:
The system will copy the name into the declaration pane andalso as an addedbonus will fill in the type if it can deduce it from the sense of the statement.
Chapter13-18
上一篇:小学二年级平移练习题