start: use 4 as var1 use 2 as var2 say var1 / var2 goto end div2: use 4 as var1 use 2 as var2 say (var1 + var1) / (var2 + var1) + (2 * 10) goto end div3: say 4 / 0 + (2 * 10) goto end //////////////////////////////////////////////////////////////////////////////// /// DIVISION ARRAY //////////////////////////////////////////////////////////////////////////////// division_array_step_0: say [] / [] division_array_step_1: say [] / true division_array_step_2: say [] / 1.0 division_array_step_3: say [] / 1 division_array_step_4: say [] / null division_array_step_5: say [] / {} division_array_step_6: say [] / "1" //////////////////////////////////////////////////////////////////////////////// /// DIVISION BOOLEAN //////////////////////////////////////////////////////////////////////////////// division_boolean_step_0: say true / [] division_boolean_step_1: say true / true division_boolean_step_2: say true / 1.0 division_boolean_step_3: say true / 1 division_boolean_step_4: say true / null division_boolean_step_5: say true / {} division_boolean_step_6: say true / "1" //////////////////////////////////////////////////////////////////////////////// /// DIVISION FLOAT //////////////////////////////////////////////////////////////////////////////// division_float_step_0: say 1.0 / [] division_float_step_1: say 1.0 / true division_float_step_2: say 1.0 / 1.0 division_float_step_3: say 1.0 / 1 division_float_step_4: say 1.0 / null division_float_step_5: say 1.0 / {} division_float_step_6: say 1.0 / "1" //////////////////////////////////////////////////////////////////////////////// /// DIVISION INT //////////////////////////////////////////////////////////////////////////////// division_int_step_0: say 1 / [] division_int_step_1: say 1 / true division_int_step_2: say 1 / 1.0 division_int_step_3: say 1 / 1 division_int_step_4: say 1 / null division_int_step_5: say 1 / {} division_int_step_6: say 1 / "1" //////////////////////////////////////////////////////////////////////////////// /// DIVISION NULL //////////////////////////////////////////////////////////////////////////////// division_null_step_0: say null / [] division_null_step_1: say null / true division_null_step_2: say null / 1.0 division_null_step_3: say null / 1 division_null_step_4: say null / null division_null_step_5: say null / {} division_null_step_6: say null / "1" //////////////////////////////////////////////////////////////////////////////// /// DIVISION OBJECT //////////////////////////////////////////////////////////////////////////////// division_object_step_0: say {} / [] division_object_step_1: say {} / true division_object_step_2: say {} / 1.0 division_object_step_3: say {} / 1 division_object_step_4: say {} / null division_object_step_5: say {} / {} division_object_step_6: say {} / "1" //////////////////////////////////////////////////////////////////////////////// /// DIVISION STRING //////////////////////////////////////////////////////////////////////////////// division_string_step_0: say "1" / [] division_string_step_1: say "1" / true division_string_step_2: say "1" / 1.0 division_string_step_3: say "1" / 1 division_string_step_4: say "1" / null division_string_step_5: say "1" / {} division_string_step_6: say "1" / "1"