wählen b.z.w. wechseln kann:
Code: Alles auswählen
Global LabelSection_Entries.l=(?LabelSection_End-?LabelSection_Start)/4
Global Label.l
Global Index.l
For Index=0 To 10
Label=PeekL(?LabelSection_Start+Random(LabelSection_Entries-1)*4)
GoToEIP(Label)
Label_1:
Debug "This is label 1."
Continue
Label_2:
Debug "This is label 2."
Continue
Label_3:
Debug "This is label 3."
Continue
Next
DataSection
LabelSection_Start:
Data.l ?Label_1,?Label_2,?Label_3
LabelSection_End:
EndDataSection
Programm-Lesekopf auf die angegebene Adresse.