Operators and Control Structures下载PDF选定部分选定部分和子部分整个手册更新时间2025-10-31阅读时长1分钟PAtools用户手册 Learn the rules for code execution, the supported operators, and the control structures. Precedence RulesExpressions in PAscript are calculated in a specific order.Assigning VariablesAssign variables using simple assignment, tuple assignment, assignment by value, or assignment by reference.ConstantsDeclare variables as constants using the const qualifier.Numerical Operations and OperatorsUse mathematical operators, bit operators, and self-assigned operators in PAscript.Type ConversionsIf the target variable has a different data type than a variable that is included in the calculation or assignment, a type conversion is performed.Text ConcatenationConcatenate texts using sprintf or using the + operator. The operator is an easy way to link text together.Conditional Code RulesThe basic structure of a condition is Operand Operator Operand. Terminate Program PrematurelyTerminate PAscript programs prematurely with return.Parent topic: PAscript
Learn the rules for code execution, the supported operators, and the control structures. Precedence RulesExpressions in PAscript are calculated in a specific order.Assigning VariablesAssign variables using simple assignment, tuple assignment, assignment by value, or assignment by reference.ConstantsDeclare variables as constants using the const qualifier.Numerical Operations and OperatorsUse mathematical operators, bit operators, and self-assigned operators in PAscript.Type ConversionsIf the target variable has a different data type than a variable that is included in the calculation or assignment, a type conversion is performed.Text ConcatenationConcatenate texts using sprintf or using the + operator. The operator is an easy way to link text together.Conditional Code RulesThe basic structure of a condition is Operand Operator Operand. Terminate Program PrematurelyTerminate PAscript programs prematurely with return.Parent topic: PAscript
Learn the rules for code execution, the supported operators, and the control structures. Precedence RulesExpressions in PAscript are calculated in a specific order.Assigning VariablesAssign variables using simple assignment, tuple assignment, assignment by value, or assignment by reference.ConstantsDeclare variables as constants using the const qualifier.Numerical Operations and OperatorsUse mathematical operators, bit operators, and self-assigned operators in PAscript.Type ConversionsIf the target variable has a different data type than a variable that is included in the calculation or assignment, a type conversion is performed.Text ConcatenationConcatenate texts using sprintf or using the + operator. The operator is an easy way to link text together.Conditional Code RulesThe basic structure of a condition is Operand Operator Operand. Terminate Program PrematurelyTerminate PAscript programs prematurely with return.Parent topic: PAscript