--- title: "Unjumble" id: 76666 type: "computer_media" slug: "unjumble" url: "http://localhost/computer_media/unjumble/" markdown_url: "http://localhost/computer_media/unjumble.md" published_at: "2026-11-11T08:02:10+00:00" modified_at: "2026-11-11T08:02:10+00:00" author: "David Anderson" featured_image: url: "http://localhost/wp-content/uploads/2026/11/unjumble-1.png" excerpt: "Unscramble a jumbled word: the program prints every different arrangement of its letters until you spot the right one." post_tag: - name: "Downloadable" slug: "downloadable" taxonomy: "post_tag" url: "http://localhost/tag/downloadable/" - name: "TS 1000" slug: "ts1000" taxonomy: "post_tag" url: "http://localhost/tag/ts1000/" - name: "ZX81" slug: "zx81" taxonomy: "post_tag" url: "http://localhost/tag/zx81/" model: - name: "Sinclair ZX81" slug: "zx81" taxonomy: "model" url: "http://localhost/model/zx81/" - name: "Timex/Sinclair 1000" slug: "ts-1000" taxonomy: "model" url: "http://localhost/model/ts-1000/" indiv: - name: "C. Inman" slug: "c-inman" taxonomy: "indiv" url: "http://localhost/indiv/c-inman/" genre: - name: "Entertainment" slug: "entertainment" taxonomy: "genre" url: "http://localhost/type/entertainment/" media_type: "Program" programmers: - name: "C. Inman" slug: "c-inman" taxonomy: "indiv" url: "http://localhost/indiv/c-inman/" download_url: "https://archive.org/download/timex-sinclair-software-archive/Unjumble%20%281983%29%28Inman%2C%20C.%29%28TS1000%29%28US%29%28Program%29.zip" mediadate: "1983" images: - url: "http://localhost/wp-content/uploads/2026/11/unjumble-1.png" - url: "http://localhost/wp-content/uploads/2026/11/unjumble-2.png" - url: "http://localhost/wp-content/uploads/2026/11/unjumble-3.png" article_media: - id: 19563 title: "Unjumble Word Games" type: "article" url: "http://localhost/article/unjumble-word-games/" media_type_tags: "Entertainment" license: false --- # Unjumble A helper for newspaper word jumbles. Enter the scrambled word; the program shuffles its letters at random in FAST mode and prints each new arrangement it finds. The screen stays blank until it fills, so for short words press BREAK to see the list, and CONT to go on. In 2K you can do at most five letters. The editor added a word counter (lines 7, 355 and 357) that numbers each new arrangement, so you know when you have seen all of them: a word of n letters has n! arrangements, 120 for five letters. The download has both versions. Published in Syntax December 1983 ([Unjumble Word Games](https://timexsinclair.com/article/unjumble-word-games/)). ## Source Code ``` 1 REM UNJUMBLE BY C.INMAN 2 SLOW 5 PRINT AT 10,5;"INPUT THE WORD TO BE" 6 PRINT AT 11,9;"UNSCRAMBLED:" 10 INPUT A$ 15 FAST 16 CLS 20 LET B=LEN A$ 25 DIM C$(200,B) 30 DIM W$(B) 40 FOR C=1 TO B 50 LET W$(C)=A$(C) 60 NEXT C 95 LET R$="" 100 LET R=INT (RND*B)+1 110 IF W$(R)="/" THEN GOTO 100 120 LET R$=R$+W$(R) 130 IF LEN R$=B THEN GOTO 200 140 LET W$(R)="/" 150 GOTO 100 200 GOSUB 300 210 GOTO 40 300 LET E=0 320 LET E=E+1 330 IF R$=C$(E) THEN RETURN 340 IF CODE C$(E)<1 THEN LET C$(E)=R$ 350 IF C$(E)=R$ THEN PRINT C$(E); 360 IF C$(E)=R$ THEN RETURN 370 GOTO 320 7 LET S=0 355 IF C$(E)=R$ THEN LET S=S+1 357 IF C$(E)=R$ THEN PRINT S ```