| ??? 08/19/02 10:35 Read: times |
#27498 - For Loop Question |
Hi all
This should be really easy but I can't find anything about it in my C books (I guess I could try it and find out) The question is: If I have a for loop inside a function and the bounds and the increment of the for loop are updated outside the function will the loop ever complete? as in my code sample below for (RxRdIdx; RxRdIdx == RxWrIdx;) { ExternalFunctionCall(UpdatesRxRdIdx); } to expand; RxRdIdx = 1 @ the start of the loop RxWrIdx = 10 @ the start of the loop after the first call to ExternalFunctionCall RxRdIdx = 2 etc Would the loop complete when RxRdIdx = 10? Thanks for your thoughts Regards Marshall |
| Topic | Author | Date |
| For Loop Question | 01/01/70 00:00 | |
| RE: For Loop Question | 01/01/70 00:00 | |
| RE: For Loop Question | 01/01/70 00:00 | |
| RE: For Loop Question | 01/01/70 00:00 | |
| RE: For Loop Question | 01/01/70 00:00 | |
| RE: For Loop Question | 01/01/70 00:00 | |
| RE: For Loop Question | 01/01/70 00:00 | |
| RE: For Loop Question | 01/01/70 00:00 | |
| RE: For Loop Question | 01/01/70 00:00 | |
| RE: For Loop Question | 01/01/70 00:00 | |
| RE: For Loop Question | 01/01/70 00:00 | |
RE: For Loop Question | 01/01/70 00:00 |



