Autor Beitrag
huuuuuh
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 665
Erhaltene Danke: 19

win xp, (win vista), win 7
VS 2008 Express Edition, VS 2010 Express Edition, VS 2010 Professionell
BeitragVerfasst: Di 17.06.08 17:34 
nehmen wir mal an ich hab einen repeat...until-block und ein array of integer mit variabler größe...
jetz möcht ich den array sortieren...und zwar will ich solange jeweils zwei elemente des arrays vertauschen, bis der erste eintrag größer ist als der zweite, der zweite größer als der dritte und so weiter...
da der array dynamisch ist,m is auch die abfrage immer verschieden lang
wie kann ich mein problem lösen? (ich möcht hier jetz keine verweise auf methoden, die mir einen array automatisch sortieren)
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Di 17.06.08 17:44 
Moin!

Schau dir mal die Standard-Funktionen Length() und High() an, damit kommst du weiter. :idea: :les: ;)

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.