World of Spectrum
  • Categories
  • Discussions
  • FAQ
  • Sign In
Home › Search
Title Search
@title beer Word 'beer' in title
User Search
  • @user admin Only posts by Admin
Text Search
  • @body beer Word 'beer' in the text
Phrase Search
"Hello World" Exact phrase match
Exclude Terms
  • car -red Search cars that are not red
"Or" Searches
  • honda | bmw 'honda' or 'bmw' results
Multi-Field
@(title,body) hello Both contain 'hello'
WildCard
  • hond* civ* Match all with an astrix
Combination
  • @title bmw @user admin
See more supported syntax examples
Search Again :: Adv Search 1000 results in 0.015s
<1…567891011…34>
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    [code]
    2 DEF FN r(u)=z+z*u*( ... =l+5-4*m(q+FN r(1)*((l=15)-(l ...
    Dr BEEP Dr BEEP March 2008 Development
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    ... in #591 which has the DEF FN removed. I agree it is ...
    Digital Prawn Digital Prawn April 2008 Development
  • A BASIC compiler projectHi, I started my own BASIC compiler for the ZX Spectrum (and Z80 machines) 3 months ago. It's still in ALPHA stage (when it is mature, I will write …

    ... to interpreted languages only (VAL$, DEF FN, READ, DATA, RESTORE...).

    boriel boriel April 2008 Development
  • A BASIC compiler projectHi, I started my own BASIC compiler for the ZX Spectrum (and Z80 machines) 3 months ago. It's still in ALPHA stage (when it is mature, I will write …

    ... /> REM Bye bye, my beloved DEF FN :-(
    Function myfunctions (Param1, param2 ...
    boriel boriel April 2008 Development
  • Trying to read in a list of items from DATA statementsThus far I have: data "cherry","apple","banana","grape","orange" But when I read it in using this: FOR X=1 TO 5: READ n$(X): NEXT X It only reads…

    ... you put that into a DEF FN statement :-)

    There's ... some bloody evil FN coders out there - Phil Kendall ... has written some very nice DEF FNs too, so let's ...
    Dunny Dunny May 2008 Sinclair Basic
  • oh my the old days :)programming on the speccy again here is a routine i remember of the top of my head to load screens or code without a header wow 5 Clear 27999 : Re…

    ... /> [CODE]10 DEF FN h(y)=INT (y/256): DEF FN l(y)=y ... -256*FN h(y)[/CODE ... .

    [CODE]PRINT FN h(32768),FN l(32768)[/CODE]
    jp jp June 2008 Sinclair Basic
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    [QUOTE=Crisis;283339]
    ...could a decent DEF FN l(start,adres)=usr Call:REM Call.... work ve(snip)
    [/QUOTE]

    Can you elaborate on this? I'm not sure what you mean!
    gcallard gcallard July 2008 Sinclair Basic
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    ... Crisis;116568]Using a DEF FN for executing MC in ... br />
    1 DEF FN c(a,x)=USR (( ... the lenght off the DEF FN it self, so it ... br /> 30 LET other= FN c(NXTLIN,-datalenght): REMxxxDATA-1xxxxxxxxxxxxxDATA ... br /> 1000 let other= FN c(NXTLIN,-lenght): RETURN: REM ...
    emleymoor emleymoor July 2008 Sinclair Basic
  • WoS Sinclair BASIC page updated[url]www.worldofspectrum.org/sinclairbasic[/url]

    ... ;309103]What's wrong with DEF FN Name(value1, value 2,...)? If ... a FUNCTION.[/QUOTE]

    FN allows only one (complex) calculation ... . I still use it.
    DEF PROC on the other side ...
    LCD LCD October 2008 Sinclair Basic
  • WoS Sinclair BASIC page updated[url]www.worldofspectrum.org/sinclairbasic[/url]

    ... because Brainfuck doesn't have def fn you'd be much better ...
    sparkes sparkes October 2008 Sinclair Basic
  • New Functions for Sinclair BasicA total of 52 new functions can be added to Sinclair BASIC; 26 numeric functions (A-Z) and 26 string functions (A$-Z$). Owing to the internal structu…

    ... as strings. Use BIN$ (n) [FN b$(n)] to convert a ... x$,y$)
    [code]
    DEF FN a$(x$,y$)=STR$ (VAL ... x$,y$)
    [code]
    DEF FN o$(x$,y$)=STR$ (VAL ... x$,y$)
    [code]
    DEF FN x$(x$,y$)=STR$ 1 ... NOT
    FN n$(n$)
    [code]
    DEF FN n$(n$)= ...
    chev chev October 2008 Sinclair Basic
  • New Functions for Sinclair BasicA total of 52 new functions can be added to Sinclair BASIC; 26 numeric functions (A-Z) and 26 string functions (A$-Z$). Owing to the internal structu…

    [quote=aowen;310390][code]
    DEF FN r(x,y)=(USR 7766 ... .[/quote]

    [code]
    DEF FN r(x,y)=(USR 7766 ...
    Dr BEEP Dr BEEP October 2008 Sinclair Basic
  • New Functions for Sinclair BasicA total of 52 new functions can be added to Sinclair BASIC; 26 numeric functions (A-Z) and 26 string functions (A$-Z$). Owing to the internal structu…

    ... ]

    BIN(string)
    DEF FN B(b$)=VAL b$(1 ... />
    BIN(string)

    DEF FN B(b$)= VAL ("BIN "+B$)
    Dr BEEP Dr BEEP October 2008 Sinclair Basic
  • reading Hex[code]1 DIM a$(20,20) 2 DIM g$(16) 3 LET g$="\::\ \' \ '\ .\. \.:\:.\:'\':\''\..\: \ :\'.\.'" 4 BORDER 4 20 LET a$(1)="00000000000000000000" 21 LET …

    ... ]

    Replace VAL(...) with FN n(...)

    you can ... ()

    [code]
    10 DEF FN n(c$)=CODE c$-48 ... $
    40 PRINT t$(i),FN n(t$(i))
    50 ...
    Digital Prawn Digital Prawn December 2008 Sinclair Basic
  • Having trouble with some type-insI'm trying to enter some type-ins into BASin but I get into errors I can't handle. Since both type-ins are coming from the same book, it becomes a li…

    ... :-

    [code]
    130 DEF FN d(s$)=(s$>"9 ...
    Digital Prawn Digital Prawn January 2009 Sinclair Basic
  • faster bitwise operators?well, sinclair basic lacks bitwise operators and I searched "basic forum" with keyword "bitwise" and only 3 thread came up. So the forum also lacks b…

    ... /showthread.php?t=6093"]Using DEF FN to add functions to Sinclair ...
    jp jp May 2009 Sinclair Basic
  • Blake's 7I've got an idea for a Blake's 7 video game for the 128K Spectrum (Only problem is I can't code in neither machine code or Sinclair BASIC, so I will …

    ... inside a call to a DEF FN?
    BloodBaz BloodBaz May 2009 New game ideas
  • Blake's 7I've got an idea for a Blake's 7 video game for the 128K Spectrum (Only problem is I can't code in neither machine code or Sinclair BASIC, so I will …

    ... inside a call to a DEF FN?[/QUOTE]

    No idea ...
    RST#08 RST#08 May 2009 New game ideas
  • Blake's 7I've got an idea for a Blake's 7 video game for the 128K Spectrum (Only problem is I can't code in neither machine code or Sinclair BASIC, so I will …

    ... inside a call to a DEF FN?[/quote]

    Due to ...
    Dr BEEP Dr BEEP May 2009 New game ideas
  • New Functions for Sinclair BasicA total of 52 new functions can be added to Sinclair BASIC; 26 numeric functions (A-Z) and 26 string functions (A$-Z$). Owing to the internal structu…

    ... ,string[/I])
    [code]
    DEF FN M(x$,y$)=(x$ AND ...
    Dr BEEP Dr BEEP July 2009 Sinclair Basic
  • New Functions for Sinclair BasicA total of 52 new functions can be added to Sinclair BASIC; 26 numeric functions (A-Z) and 26 string functions (A$-Z$). Owing to the internal structu…

    ... ,string[/I])
    [code]
    DEF FN M(x$,y$)=(x$ AND ... how about SHORTER(string, string) FN S, and LONGER(string,string ... ) FN L?

    The definitive ...
    chev chev July 2009 Sinclair Basic
  • Very basicI found the wos site a few months ago when searching for solutions to my broken spectrum, that i had dug out of storage and was learning basic on. Si…

    ... 'll actually find out what DEF FN is for.
    chop983 chop983 September 2009 Sinclair Basic
  • More colours II (Was: Most popular new features?)The suggested 4xCLUT multi-colour solution never took off.

    ... br />
    [code]
    10 DEF FN c$(c)=CHR$ 18+CHR ... (c-INT (c/2)*2) : DEF FN c(r,g,b)=(g ... the equivalents are:

    FN c$(0) = FLASH 0; BRIGHT ... 0
    FN c$(1) = FLASH 0; BRIGHT ... 1
    FN c$(2) = FLASH 1; BRIGHT ...
    chev chev November 2009 Emulators
  • Speccy games programmingI've got a question. Where games written in pure machine code or was it a level higher with Assembly language being the choice? I always thought it…

    ... short of supporting "VAL" and "DEF FN" as these are very complex ...
    joefish joefish November 2009 Games
  • Dim commandI try o find a BASIC COMPILER for ZX SPECTRUM 128 that use DIM command with two or more letter as 10 DIM AB(10) instead of 10 DIM A(10) Any iforma…

    ... write your own functions with DEF FN. There's a fairly comprehensive ...
    chev chev December 2009 Sinclair Basic
  • Dim commandI try o find a BASIC COMPILER for ZX SPECTRUM 128 that use DIM command with two or more letter as 10 DIM AB(10) instead of 10 DIM A(10) Any iforma…

    ... like:

    [code]
    DEF FN w(x,y,a$)=USR ... />
    [code]
    LET n=FN w(0,0,a$+CHR ...
    chev chev December 2009 Sinclair Basic
<1…567891011…34>

Latest Posts

  • Frankie's ZX Spectrum Digouts
    Zup on 1:58PM
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on 1:02PM
  • Minor British Sports that did become games on the ZX Spectrum
    harriusherbartio on 12:42AM
  • 1992 Spectrum Software
    harriusherbartio on April 7
  • Celebrity deaths...
    mel the bell on April 7
  • LONELY TZX files : software TZX'd on the online sites with NO ASSOCIATED DOCUMENTATION
    harriusherbartio on April 7
  • spectrum in netflix bomb and the cold war documentary
    zxbruno on April 7
  • Are there any decent Speccy Flight Sims?
    harriusherbartio on April 7
  • Who Has Got The Earliest ZX Spectrum Software?
    harriusherbartio on April 6
  • Tradtional games that were not programmed on the ZX Spectrum
    harriusherbartio on April 6

HitBox

Word Docs Hits
fuse 6.8K 11.8K
def 11.7K 12.9K
fn 866 4.4K
keyboard 14.1K 21.6K

Related Threads

  • ANNOUNCE: Fuse 0.6.1, libspectrum 0.2.0, fuse-utils 0.6.1I'm pleased to announce the release of the Free Unix Spectrum Emulator (Fuse) 0.6.1, which is now available from its [url="http://www.srcf.ucam.org/~…
  • Keyboard stickers for a DK'Tronics keyboardSee topic.<br /> I know sintech used to sell them, but I can't find them in their shop anymore.<br /> Anyone know another place where to get these pu…
  • DEF FN DirectivesI am looking at using some machine code functions from the DK Graphics Pack. They are machine code but they are called via Basic with the function de…
  • Keyboard issue on Fuse for LinuxHi,<br /> <br /> My laptop has only one 'enter' key, though it seems it acts<br /> like it was the numeric pad enter key. So I can do nothing<br /> u…
  • Can you improve this recursive DEF FN?I came up with this function to scan strings for characters without needing to use FOR...NEXT and IF...THEN, but it seems rather long-winded. Can any…
  • BASin v.15 DEF FN bugThe bug would appear to be in "BASSupport.pas : Procedure ProcessDEFFN"; as it's not inserting the 6-byte variable place holder after each parameter …
  • SAGA 1 Emporer keyboard ->swap-> dk' Tronics keyboardHi,<br /> <br /> Anyone here that would like to swap a SAGA 1 Emporer keyboard for a dk Tronics keyboard?<br /> Without the insides, just the keyboar…
  • Confounded DEF FNCan anyone see why this is going wrong? I've been tinkering with it since tea time and got nowhere.<br /> [code]<br /> 2 DEF FN t$(n,t,d)<br /> …

Related Searches

  • fuse onscreen keyboard
  • modulo function def fn
  • fuse keyboard
  • def fn usr
  • def fn
  • def fn within a function
  • def fn d
  • bin def fn
  • def fn recursive bug
  • def fn bug
  • def fn recursive bin
  • def fn library
  • def fn v
  • def fn gosub fast
  • def fn battlebunny
  • def fn fast
  • def fn look for
  • spaghetti def fn
  • dr beep s recursive def fn
  • dr beep def fn

Copyright © 2024 World of Spectrum