logic for (FOR LOOP) falling
|
12-23-2016, 02:42 PM
(This post was last modified: 12-23-2016 05:35 PM by compsystems.)
Post: #1
|
|||
|
|||
logic for (FOR LOOP) falling
Hello,
Running a TEST program that had previously done no longer works, something was changed? The logic of the step for FOR falling is contrary to other languages, Why? for n from 3 to 1 step 1 do // hp-p_pl for n from 3 to 1 step -1 do // other languages for (i=3;i>=1;i--) //c++ For this case, I think it is correct and logic for n from 3 downto 1 do for n from 3 downto 1 step 1 do PHP Code: export FORtest() |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)