APPLICATIONSDIVERS ★ RSXSORT ★

RsxSortApplications Divers
★ Ce texte vous est présenté dans sa version originale ★ 
 ★ This text is presented to you in its original version ★ 
 ★ Este texto se presenta en su versión original ★ 
 ★ Dieser Text wird in seiner Originalfassung präsentiert ★ 

If you need your arrays sorted in a tick then Lawrence Pozzani from Ipswich, Suffolk, has just the listing. The routine supplies you with a new command, |SORT.

The routine is only a bubble sort, and is still relatively slow, however, it is still streets ahead of the Basic equivalent

|SORT first array element, last array element, direction.

For example.

|SORT,a$(0),a$(100),0 Or |SORT,b$(0,0),b$(9, 9), -1

The first and last elements may be reversed, it makes no difference to the running of the program

|SORT, a$ (100) ,a$ (0), 0

The last parameter specifies the direction of the sort. A zero results in the largest element sorted fust while a non-zero value gives a smallest-first order.

The elements passed need not make up the whole array - it is possible to sort parts, or even two parts in different order Strings may be any length.

Note that 464 users will need the at (@) symbol before the string name

|SORT, @a$(0) , @a$(100) ,0

AA

★ PUBLISHER: Amstrad Action
★ YEAR: 1988
★ CONFIG: 64K + AMSDOS
★ LANGUAGE:
★ LiCENCE: LISTING
★ AUTHORS: Lawrence Pozzani
 

★ AMSTRAD CPC ★ DOWNLOAD ★

Type-in/Listing:
» RsxSort    (Amstrad  Action)    ENGLISHDATE: 2021-02-05
DL: 145
TYPE: ZIP
SiZE: 4Ko
NOTE: 40 Cyls
.HFE: Χ

★ AMSTRAD CPC ★ A voir aussi sur CPCrulez , les sujets suivants pourront vous intéresser...

Lien(s):
» Applications » Super - Sort (CPC Amstrad International)
» Applications » Selection Sort (Computing with the Amstrad)
» Applications » Sort-Pack (Schneider Magazin)
» Applications » Machine Code Shell Sort (Computing with the Amstrad)
» Applications » All sorted out (Popular Computing Weekly)
» Applications » Alphabetical Sorting (Amstrad Computer User)
Je participe au site:
» Vous avez des infos personnel ?
» Vous avez remarqué une erreur dans ce texte ?
» Aidez-nous à améliorer cette page : en nous contactant via le forum ou par email.

CPCrulez[Content Management System] v8.7-desktop/c
Page créée en 309 millisecondes et consultée 674 fois

L'Amstrad CPC est une machine 8 bits à base d'un Z80 à 4MHz. Le premier de la gamme fut le CPC 464 en 1984, équipé d'un lecteur de cassettes intégré il se plaçait en concurrent  du Commodore C64 beaucoup plus compliqué à utiliser et plus cher. Ce fut un réel succès et sorti cette même années le CPC 664 équipé d'un lecteur de disquettes trois pouces intégré. Sa vie fut de courte durée puisqu'en 1985 il fut remplacé par le CPC 6128 qui était plus compact, plus soigné et surtout qui avait 128Ko de RAM au lieu de 64Ko.