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 [] / [] goto end division_array_step_1: say [] / true goto end division_array_step_2: say [] / 1.0 goto end division_array_step_3: say [] / 1 goto end division_array_step_4: say [] / null goto end division_array_step_5: say [] / {} goto end division_array_step_6: say [] / "1" goto end //////////////////////////////////////////////////////////////////////////////// /// DIVISION BOOLEAN //////////////////////////////////////////////////////////////////////////////// division_boolean_step_0: say true / [] goto end division_boolean_step_1: say true / true goto end division_boolean_step_2: say true / 1.0 goto end division_boolean_step_3: say true / 1 goto end division_boolean_step_4: say true / null goto end division_boolean_step_5: say true / {} goto end division_boolean_step_6: say true / "1" goto end //////////////////////////////////////////////////////////////////////////////// /// DIVISION FLOAT //////////////////////////////////////////////////////////////////////////////// division_float_step_0: say 1.0 / [] goto end division_float_step_1: say 1.0 / true goto end division_float_step_2: say 1.0 / 1.0 goto end division_float_step_3: say 1.0 / 1 goto end division_float_step_4: say 1.0 / null goto end division_float_step_5: say 1.0 / {} goto end division_float_step_6: say 1.0 / "1" goto end //////////////////////////////////////////////////////////////////////////////// /// DIVISION INT //////////////////////////////////////////////////////////////////////////////// division_int_step_0: say 1 / [] goto end division_int_step_1: say 1 / true goto end division_int_step_2: say 1 / 1.0 goto end division_int_step_3: say 1 / 1 goto end division_int_step_4: say 1 / null goto end division_int_step_5: say 1 / {} goto end division_int_step_6: say 1 / "1" goto end //////////////////////////////////////////////////////////////////////////////// /// DIVISION NULL //////////////////////////////////////////////////////////////////////////////// division_null_step_0: say null / [] goto end division_null_step_1: say null / true goto end division_null_step_2: say null / 1.0 goto end division_null_step_3: say null / 1 goto end division_null_step_4: say null / null goto end division_null_step_5: say null / {} goto end division_null_step_6: say null / "1" goto end //////////////////////////////////////////////////////////////////////////////// /// DIVISION OBJECT //////////////////////////////////////////////////////////////////////////////// division_object_step_0: say {} / [] goto end division_object_step_1: say {} / true goto end division_object_step_2: say {} / 1.0 goto end division_object_step_3: say {} / 1 goto end division_object_step_4: say {} / null goto end division_object_step_5: say {} / {} goto end division_object_step_6: say {} / "1" goto end //////////////////////////////////////////////////////////////////////////////// /// DIVISION STRING //////////////////////////////////////////////////////////////////////////////// division_string_step_0: say "1" / [] goto end division_string_step_1: say "1" / true goto end division_string_step_2: say "1" / 1.0 goto end division_string_step_3: say "1" / 1 goto end division_string_step_4: say "1" / null goto end division_string_step_5: say "1" / {} goto end division_string_step_6: say "1" / "1" goto end