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.006s
<1…14151617181920…34>
  • Books that you just can't quit.Much as parts of the presentation,writing style infurates me, there is a book I just keep comming back to again and again. Its like the Yang to the …

    Listing 2.9

    (all subroutines are included in the listing to avoid heartache and disapair.):-P

    N = 2
    [IMG]http://i40.tinypic.com/33yoso4.gif[/IMG]
    N = 3
    [IMG]http://i44.tinypic.com/14cd1fp.gif[/IMG]
    N = 4
    wibble wibble August 2013 Sinclair Basic
  • Problem With POINT StatementHello everyone this is my first ever post, So firstly i'd like to say hello to everyone and secondly thank you to the admins for such a great site, …

    ... br /> [code]
    3 RANDOMIZE FN p(23627)-168:
    POKE ... : POKE 23676,PEEK 23671:
    DEF FN p(a)=PEEK a+256 ... CLEAR : DIM u$(168): RANDOMIZE FN p(23641)-6:
    POKE ... :
    CLEAR : LOAD "infernoudg"CODE FN p(23627)-168: SAVE "GAME ...
    Battle Bunny Battle Bunny September 2013 Sinclair Basic
  • Problem With POINT StatementHello everyone this is my first ever post, So firstly i'd like to say hello to everyone and secondly thank you to the admins for such a great site, …

    ... 1: NEXT z: LET rt=FN p(23627):
    LET re ... SUB 800: GO SUB 998: DEF FN p(a)=PEEK a+256 ... /> 1000 LET t1=FN t(): LET t2=FN t(): LET t0=t1 ...
    Battle Bunny Battle Bunny September 2013 Sinclair Basic
  • Looking for some bog standard soundspreferably using PLAY command.... example 10 LET a$="the sound code" 20 PLAY a$ ideally I'm looking for noises for 1) A space ship engine, pref…

    ... rate I might have mastered DEF FN by the age of 90 ...
    leespoons leespoons September 2013 Sinclair Basic
  • Looking for some bog standard soundspreferably using PLAY command.... example 10 LET a$="the sound code" 20 PLAY a$ ideally I'm looking for noises for 1) A space ship engine, pref…

    yeah I still have no idea what a DEF fn thing is...
    Wookiee Wookiee September 2013 Sinclair Basic
  • 128 BASIC-compatible way of loading BASIC as code?On a 48K Speccy (or from 48 BASIC or USR 0 mode on a 128K machine), one can do a silly trick like this: [code];; load a 4000 byte BASIC program ld i…

    ... headerless CODE
    9001 DEF FN p(a)=PEEK a+ ... 23731:
    LET VARS=FN p(23627): POKE 23680, ... 23628:
    LET ELINE=FN p(23641): POKE 23627, ... ,PEEK 23642:
    CLEAR FN p(23677)
    9005 ... /> 9007 PAUSE 0: CLEAR FN p(23670):
    POKE ...
    Battle Bunny Battle Bunny September 2013 Development
  • Break into programIs there any way of stopping people using the break option in my software productions so they can list the code.

    ... tadd={trap address}: LET sp=FN p(23613): READ tlen:
    RANDOMIZE FN p(sp): POKE 23680,PEEK ... :
    RANDOMIZE: RETURN
    9994 DEF FN p(a)=PEEK a+256 ... /1
    9996 LET sp=FN p(23613): POKE sp, PEEK ...
    Battle Bunny Battle Bunny September 2013 Sinclair Basic
  • Basic sourceAre there any utilities available that will extract Basic source to a text file, or insert it from a text file into any of the common formats lie z80…

    ... size. Line 2 holds a DEF FN but that can be overwritten ... /> [list=a]
    [*]Enter the DEF FN statement from line 2 at ... as a direct command: POKE FN p(23635)+1,0
    Battle Bunny Battle Bunny September 2013 Emulators
  • display file addressing; screen slicingWhile working on this Compendium I'm updating or rewriting a lot of stuff. One thing I eventually came to appreciate was the simple & clever way in w…

    ... /> 1000 LET t1=FN t(): LET t2=FN t(): LET t0=t1 ...
    Battle Bunny Battle Bunny October 2013 Sinclair Basic
  • display file addressing; screen slicingWhile working on this Compendium I'm updating or rewriting a lot of stuff. One thing I eventually came to appreciate was the simple & clever way in w…

    ... /> 1000 LET t1=FN t(): LET t2=FN t(): LET t0=t1 ...
    Battle Bunny Battle Bunny October 2013 Sinclair Basic
  • Type-in BASIC contest on Reddit.Not sure how WOS-legal it is to mention/link to other forums, but Reddit is having a contest on r/retrobattlestations, asking readers to type a speci…

    ... Boogaloo
    102 DEF FN w(w$,o$)=VAL (("FN w(w$(2 ... =1
    2020 LET se=FN w(p$(sb TO),CHR ...
    Battle Bunny Battle Bunny October 2013 Sinclair Basic
  • Speccy programming book.About 15 years ago I bought a book from a jumble sale. Got it home and put it in the read later cupboard. Remembering this morning I went and got it.…

    ... variables, function parameters (except in DEF FN), yikesamundo.

    A moderate ...
    Paradigm Shifter Paradigm Shifter October 2013 Sinclair Basic
  • SE BasicAfter 13 years of development I thought I'd run out of things to optimize, but it turns out I was wrong. However, I'm now running out of time to work…

    ... but not local variables in DEF FN, IIRC.

    They already ...
    Paradigm Shifter Paradigm Shifter October 2013 Sinclair Basic
  • SE BasicAfter 13 years of development I thought I'd run out of things to optimize, but it turns out I was wrong. However, I'm now running out of time to work…

    ... but not local variables in DEF FN, IIRC.[/quote]
    Well with ... an entire procedure in a DEF FN statement with encapsulation.

    chev chev October 2013 Sinclair Basic
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    [code]; THE SCANNING VARIABLE ROUTINE
    org 0x26c9
    s_letter:
    call look_vars ; check for matching entry
    jp c, report_2 ; error if not
    call z, stk_var ; stack parameters
    ld a, (flags) ; get flags
    cp ...
    chev chev October 2013 Development
  • IF EXIST?In MS-DOS scripting, there is an IF EXIST command that lets you check wether a file exists in disk or not. There are any way to check it out from BA…

    ... .

    [code]
    2 DEF FN o(f$)=USR 32768
    20 LET exists=FN o(f$+CHR$ 255)
    FN o(f$) arg
    ld ...
    Battle Bunny Battle Bunny October 2013 Sinclair Basic
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    [code]; THE 'DEF FN' COMMAND ROUTINE
    org 0x1f60< ... not
    ld a, tk_def_fn ; DEF FN?
    jp pass_by ; immediate jump ...
    chev chev October 2013 Development
  • SCREEN$ bug fixI've been using the SCREEN$() function recently for reading data off the screen rather than taking up space with an array and I got fed up with the s…

    ... ) then I could use FN s$() to save the ... routine as well as from FN s$().

    So ... s this new version of FN s$() which does all ... 0000

    ; USAGE:
    ; DEF FN s$(r,c)=STR$ USR ... ScrDol0
    ; ... FN s$(row,col) ...
    ScrDol0 ...
    Battle Bunny Battle Bunny November 2013 Sinclair Basic
  • "Press any key" detectionWhat would be the simplest way to detect if *any* key is being pressed? No LAST_K trickery, I can't rely on that. It has to be reading the keyboard p…

    ... this?
    [code]
    1 DEF FN i()=(IN 65278=ii)*(IN ... />
    Keypressed function:
    1 DEF FN K()=1-(IN 254=191 ...
    Dr BEEP Dr BEEP November 2013 Development
  • A "generic" loader for +3(e)I've made this loader for 128k games in +3DOS. [CODE]dos_open equ 262 dos_close equ 265 dos_abandon equ 268 dos_read equ 274 dos_write equ 277 dos_s…

    ... :
    DIM r$(FN p(23670)): LET rl=FN p(23670):
    LET VARS=FN p(23627): RANDOMIZE VARS+6+ ... rv=VARS+4: LET rl=FN p(rv):
    RANDOMIZE rn ... rv+rl+1,13:
    DEF FN p(a)=PEEK a+256 ...
    Battle Bunny Battle Bunny December 2013 Development
<1…14151617181920…34>

Latest Posts

  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Fixed Speccy Software. And which games remained unfixed?
    John Elliott on April 21
  • Happy 40th Birthday to the Amstrad CPC464!
    rich_chandler on April 21
  • Another Birthday! The Game Boy Is 35!
    mel the bell on April 21
  • European Software Titles with an English version
    harriusherbartio on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21
  • 1992 Spectrum Software
    harriusherbartio on April 21
  • +3 Disk drive motor
    AndyC on April 21
  • Celebrity deaths...
    mel the bell on April 20

HitBox

Word Docs Hits
hex 1.7K 2.4K
def 11.7K 12.9K
fn 866 4.4K

Related Threads

  • 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…
  • 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 …
  • 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 /> …
  • Fix for the DEF FN bug of zmakebasSome months ago I discovered a bug in zmakebas: it does not include the 5 bytes required after every parameter of a DEF FN.<br /> <br /> By the tim…
  • BASIC Bug: DEF FN after REMHello all,<br /> Having mused the Spectrum ROM disassembly by Drs Logan ad O'Hara, I wondered about how good ZX BASIC was at locating the DEF FN whe…
  • New Forums at 'Def Guide to ZZAP!64' siteI know that there are some C64 fans and ex-readers of 'ZZAP!64' here, so just to let you know that Iain has added a new style message board to his si…
  • Why Hex in place of Denary?Ok - most MC books / tutorials advocate the use of hex instead of denary.<br /> <br /> But the Speccy doesn't actually have a Hex converter so you ne…
  • A very Slovakian adventure........Forever Hex DemopartyHey guys........I will be traveling from London Luton to Bratislava, and then onto Trencin for Forever Hex (the 8-bit Demo party - March 18-20)......…

Related Searches

  • modulo function def fn
  • fuse def fn 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
  • def fn trick

Copyright © 2024 World of Spectrum