Guest
If I have a array of character.
type wheel_string is array (char_index'left to char_index'right) of
character;
Can I use 'POS to find a character in the array ?
index := the_enigma.rotor(i).wheel'pos(ch);
Or do I have to compare every character with the one that I am looking
for ?
Thank you
type wheel_string is array (char_index'left to char_index'right) of
character;
Can I use 'POS to find a character in the array ?
index := the_enigma.rotor(i).wheel'pos(ch);
Or do I have to compare every character with the one that I am looking
for ?
Thank you