How can I write an iterator in a procedure? Sorry for my dump question, I am novoice. Thanks for the answers.
It totally depends on what you need to iterate over.
An array? Use a loop: plain, for, or while.
One of the predefined containers? Use the iterator declarations associated with the container.
A string? Treat it like an array.
It would help if you provided more specifics about what you're trying to accomplish.
See the Ada style guide
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With