Chargement en cours...
|
|
|||||||||||||
|
| Échangez opinions et commentaires dans les forums de discussion. |
Re: Lenght check failed
[
On 9 fév, 06:27, "Jeffrey R. Carter" <spam.jrcarter....@acm.nospam.org> wrote: > animatri...@gmail.com wrote: > > > Type Name is new string (1..15); > > > NC : Name; > > > if (i > 15) then NC := "Error"; > > NC'Length = 15; "Error" n'a que 5 Characters. > > -- > Jeff Carter > "Sir Lancelot saves Sir Gallahad from almost certain temptation." > Monty Python & the Holy Grail > 69 L'erreur ne vient pas de là, bien que je l'ai corrigée (idem pour le elsif). raised CONSTRAINT_ERROR : conversion.adb:30 length check failed Ligne 30 : s := Ada.Strings.Unbounded.To_String(Str);
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||