<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/64381>64381</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Can Kaleidscope `ForExpr` handle more than two statements?
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
ouliuquan
</td>
</tr>
</table>
<pre>
```
extern putchard(char);
def printstar(n)
for i = 1, i < n, 1.0 in
putchard(4);
putchard(5);
# print 100 '*' characters
printstar(3);
```
If it have more than two statements, should it add more judgments, so that it can complete the processing at one time?
Code in line[5. Kaleidoscope: Extending the Language: Control Flow]( https://github.com/llvm/llvm-project/blob/c7cacb2f6efe07fa4a1129bb7e2389312670b84a/llvm/examples/Kaleidoscope/Chapter5/toy.cpp#L403)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUU12P4ygQ_DXtl9ZFuPFXHvwwk1lLp9s_gaFjsyLgA7yT_fcnnFlN5uWklSyDVNVFFU2rlOzimUdoX6F9q9Se1xDHsDu7_7srX83B_BqhEx-feAPxwvfM0eO2Z72qaICGsgKdQb4-GIavuEXrc8oFGHwBDwTxGiJaBPmGNdDl2F7Ql219Emj9bx4-H9A8qz8D7TPw8Sf5OBxrIRCoB3oB6rGUKJ05pgfv2aD8IvM17t9XtBlX9ZPxFiJjXpXH_B4wZZX5xj6n4j6tYXemUJUxD-aP3SyfeCiVuRC08qjDbXOcixzjFoPmlKxfUGUMnjHbG4OcHg4uwTBaj856hva1PeE_yrE1IemwMcgX_HbP7E2pL3LflV92tRzIJfgcg8PJhXdo34AGXHPeEsgXoAloWmxe9_mkww1ocu7n7-WvLYYfrDPQNLswA02610rPdO34yqK_qkbVNZ3nuWeSw1nW1PViHhr1qcN3VVImoOmLY5ouq9oyxxZoyuHXSW8bkPzeiNKIyozSnOVZVTzW3bkWXd11VK1jK_RgdM9yaKlrTSvn1jSzYTno4cy1ruxIgqQYhKxrqgWdeJayboeeGj1cm9ZAI_imrDsVg6cQl8qmtPPYNXKoK6dmdumYBSLP73iAQFRGI47Hrcz7kqARzqacPlWyzY7Hi_IfnTliInRiCvHbfYvQCVyVN-5_3pCcqj268Y-7c5gsV3yE-C8AAP__4JwuWg">