guides:programming:programmers_reference_manual:other_forms_of_multi_line_if_statements

Other Forms of Multi-line If statements

If test Then

   statements

End

- OR -

If test Then statement Else

   statements

End

- OR -

If test Then

   statements

End Else statement

- OR -

If test Else

   statements

End

Using multiple-line If statements

/* If the value of INV_COUNT is more than 144, the program will transfer to subroutine GROSS. If the value of INV_COUNT is less than or equal to 144, the program transfers to subroutine NOTGROSS for reordering. */

If inv_count GT 144 Then
  GoSub GROSS
End Else
  GoSub NOTGROSS
End
  • guides/programming/programmers_reference_manual/other_forms_of_multi_line_if_statements.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1