{"name":"from","title":"from","type":"command","url":"https://community.bistudio.com/wiki/from","revid":311162,"updated":"2022-05-12T09:47:42Z","groups":["Program Flow"],"status":"ok","games":{"arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma1 1.00","arma3_since":"0.50","description":"Continue sequence of for construct. It sets the start value of the index variable.","syntaxes":[{"syntax":"for from b","params":[{"name":"for","type":"For Type","type_expr":"For Type"},{"name":"b","type":"Number","type_expr":"Number"}],"returns":{"type":"For Type","type_expr":"For Type"},"form":"binary","left":{"text":"for"},"right":{"text":"b"}}],"examples":[{"text":"```sqf\nfor \"_i\" from 10 to 20 do\n{\n    hint str _i; // will hint from 10 to 20, spaced by 1 second\n    sleep 1;\n};\n```","code":["for \"_i\" from 10 to 20 do\n{\n\thint str _i; // will hint from 10 to 20, spaced by 1 second\n\tsleep 1;\n};"]}],"see_also":["Control Structures"]}