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.001s
<1234567…34>
  • those darned recursive functions againI've been stuck on this one all evening. I want to dump out some memory in binary to debug a program. I've got a simple mod 2 division loop to do tha…

    10 DEF FN f(x) = VAL ("x*FN f(x-1)"(1 TO ... TO 10
    30 PRINT FN f(x)
    40 NEXT ... to 9) which is "x*FN f(x-1)".
    Note ... /> (besides there is a non-recursive formula for factorial which would ...
    i love the z80s i love the z80s October 2019 Sinclair Basic
  • Ported whole casettes of backuped utiltilitiesHi! A friend of mine gave me a few casettes he found in the attic - he used these to backup ORIGINAL casettes he had back in the spectrum games. The…

    ...
    11-102B9: Program : 3d fn Length: 19 Normal Speed ,Pause ...
    Tom-Cat Tom-Cat August 2003 MIA/STP/SDP
  • BASin Release 10a is up...Well, none of my releases ever get far before the inevitable bug fix version... Go grab it at [url="http://homepage.ntlworld.com/paul.dunn4/BASin_…

    ... ignored (BadBeard)
    Fixed DEF FN statements - not correctly tokenised (Chris ...
    Dunny Dunny June 2004 Emulators
  • Is there much ?Do you think there`s much cooperation, and in fact co-development now goes on within the 8-bit community.. in fact is there any? I know that`s a daf…

    ... thing or two regarding Def FN and special pokes etc etc ...
    CKay CKay November 2004 Development
  • Fuse 7.0 installJust installed slackware 10, and now having trouble installing Fuse, or rather libspectrum, haven't got to the fuse part yet. Missing a library some…

    ... .2'
    make[1]: *** [all-recursive] Error 1
    make[1 ... .2.2'
    make: *** [all-recursive-am] Error 2
    dasteph dasteph December 2004 Emulators
  • BASin release 12b available for downloadOk, there were a few nasty bugs in the last release, so in fine SPIN team tradition here's a new release that possibly fixes those errors. In this r…

    ... Crisis's bug with DEF FN, and colin's problem with ...
    Dunny Dunny October 2005 Sinclair Basic
  • Lesser used BASIC commandsAre there any interesting articles or books that explore some of the lesser used BASIC commands/functions e.g. DEF FN, IN, OUT etc? The Spectrum BAS…

    Are there any interesting articles or books that explore some of the lesser used BASIC commands/functions e.g. DEF FN, IN, OUT etc?

    The Spectrum BASIC manual only glosses over them without going into a lot of detail.

    Necros.
    Ian Hamilton Ian Hamilton January 2006 Sinclair Basic
  • BASin Release 13 is now availableI'm still at it. BASin is now in it's 13th incarnation (disregarding the inter-version updates) and is now available at [url="http://homepage.ntlw…

    ... a bit.
    Fixed - DEF FN lines were getting their last ... meant that REM and DEF FN behaved incorrectly.
    Fixed - REM ...
    Dunny Dunny January 2006 Emulators
  • BASin Release 13 is now available[unashamedly x-posted from Emulators forum] I'm still at it. BASin is now in it's 13th incarnation (disregarding the inter-version updates) and is …

    ... a bit.
    Fixed - DEF FN lines were getting their last ... meant that REM and DEF FN behaved incorrectly.
    Fixed - REM ...
    Dunny Dunny January 2006 Sinclair Basic
  • Firefox (new thoughts)Maybe more people would use Firefox if there was a version for the Speccy! [code] 10 PRINT AT 2, 2; "Press F for Firefox or I for M$IE" 20 LET K$=IN…

    ... TO 20
    60 DEF FN M$(IE)=""+M$(IE)+""" is ... evil"
    70 PRINT FN M$(IE)
    REM etc ...
    Where's that AY chip gone... Where's that AY chip gone... November 2006 Chit chat
  • Compiling FUSE from source for a complete and total beginner...?[b]ACHTUNG: this is going to take a while to read...[/b] A message above tells me it's been nearly 14 months since I last visited here. Ye gods. Wel…

    ... /xlib'
    make[2]: *** [all-recursive] Error 1
    make[2 ... /ui'
    make[1]: *** [all-recursive] Error 1
    make[1 ...
    The Mighty Dopethrone The Mighty Dopethrone December 2007 Emulators
  • BASIC Keyword ReferenceRealised that the Sinclair Basic section would be a better place for discussion of BASIC keywords, so for reference the old thread is in [thread=2005…

    ... RANDOMIZE : K : T
    DEF FN : E : SYM + 1 READ : E ... + V RUN : K : R
    FN : E : SYM + 2 SAVE : K ...
    icabod icabod March 2008 Sinclair Basic
  • Terminal Velocity!Hi, Don't know if I should be posting this sort of thing here, but I read the FAQ and didn't spot any "Don't" rules. So here you have my example of …

    ... e: ";e
    210 DEF FN h(e,x)=((e^((2 ... *x))-1))
    220 DEF FN v(a,c,e,g ... *m*g)/(p*a*c)))*FN h(e,(t*(SQR ((g ... =60
    240 LET v=FN v(a,c,e,g ...
    gcallard gcallard May 2008 Sinclair Basic
  • Julian Date / Mean AnomolyHere's another bunch of nonsense that (when finished) might be helpful*: [quote] 10 CLS : PRINT AT 0,0;"Please enter the information required:": …

    ... required:": PRINT
    20 DEF FN a(d,h,m,s ... /60/24)
    30 DEF FN b(j,m,d,c ... -1524.5
    31 DEF FN c(j)=357.5291+(0 ...
    gcallard gcallard May 2008 Sinclair Basic
  • BASin r14d - Final bugfix for the r14 seriesOk, there's not a great deal to "show" here, as most of the work has been going on "under the hood" so to speak. And there's been a [i]lot[/i] of wor…

    ... - GO TO, GO SUB, DEF FN etc. (Ref)
    Fixed - You ...
    Dunny Dunny December 2008 Emulators
  • 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…

    ... /> // page 150
    130 DEF FN d(s$) = (s$ > "9 ...
    rahtgaz rahtgaz January 2009 Sinclair Basic
  • The best ... beginning with "D"Name (in your opinion) your "Best game beginning with [A to Z, one letter per post]". So, for the letter "D", which do you think are the: [B]Best g…

    ... ] I'd say the DEF FN command, but you have to ...
    ewgf ewgf January 2009 Sinclair Miscellaneous
  • bin2asm - New Developer Tool AvailableI have developed a tool for my own use, but you are welcome to download if any use to you (I have submitted it to the Utilities section) called "bin2…

    ... ,255

    bin2asm i:fn o:fn [/l:x] [/h] [/org ...
    robpearmain robpearmain November 2009 Development
  • Problem with PRINT #stream on +128kWorking on a +128k, I want to choose whether all report output goes to screen or printer, so I use PRINT #stream where stream = 2 or 3 for screen or …

    ... =ea TO ez: LET start=FN s(i$(i)): LET length ... (i$(i)): PRINT #stream;FN p$(i);: LET col=0< ...
    Battle Bunny Battle Bunny July 2010 Sinclair Basic
  • Adventure Gamebook Solver"It would take me ages to solve that adventure gamebook without AGES" - is what someone might say if they didn't have the [url=http://www.users.globa…

    ... has no entry point) and recursive "wandering monster" locations (location 161 ...
    Battle Bunny Battle Bunny July 2010 Announcements
  • problem with DEFADD storageI have a function: DEF FN t(t$,m,t)=USR t which is called with, for an example: LET bc=FN t("t$()",mcworkspace,mcputt) where, at the time: mcworkspac…

    I have a function: DEF FN t(t$,m,t)=USR ... , for an example: LET bc=FN t("t$()",mcworkspace,mcputt)
    FN t(t$,m,t)=m ...
    Battle Bunny Battle Bunny July 2010 Sinclair Basic
  • storing machine code in BASICApart from putting m/c above RAMTOP, which means that it has to be POKEd or LOADed separately after the BASIC program; or putting it in a REM, which …

    ... -5):
    LET newVARS=FN p(23627)+machine_code_length+1:
    " POKE 23627,FN g(";newVARS;")"'
    " POKE 23628 ... STOP
    9162 LET mcpos=FN p(23627)-machine_code_length:
    LOAD ...
    Battle Bunny Battle Bunny August 2010 Sinclair Basic
  • Is this a bug in BASin?Hi Folks, I seem to be getting a lot of issues when trying to use functions with BASin. For example, the following: [CODE]100 DEF FN a(x,y,p$)=COD…

    ... :

    [CODE]100 DEF FN a(x,y,p$)=CODE ... TO y)
    110 PRINT FN a(3,4,"Paddy")[/CODE ...
    Paddy Coleman Paddy Coleman August 2010 Sinclair Basic
  • A cheat's way of viewing magazine scan archives as double-page scansI don't know why I didn't think of this sooner - previously I was viewing my locally-stored magazine page image scans a page at a time, sort of killi…

    I don't know why I didn't think of this sooner - previously I was viewing my locally-stored magazine page image scans a page at a time, sort of killing the effect a bit by not being able to see double-page spreads at a glance. So I came up with something.< ...
    NickH NickH November 2010 Sinclair Miscellaneous
<1234567…34>

Latest Posts

  • Where to Buy the New or Fairly Recent , Excellent ZX Spectrum Games Software?
    Your Spec-chum on 1:34PM
  • i am currently listening to........
    mel the bell on 11:34AM
  • Mis-labeled cassette titles or a name change?
    harriusherbartio on 11:06AM
  • Ways to preserve Speccy Tapes in the loft
    harriusherbartio on 10:58AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 10:47AM
  • Minor British Sports that did become games on the ZX Spectrum
    harriusherbartio on 10:30AM
  • How to return to basic properly from ASM
    Paradigm Shifter on 1:54AM
  • Frankie's ZX Spectrum Digouts
    Zup on April 8
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 8
  • 1992 Spectrum Software
    harriusherbartio on April 7

HitBox

Word Docs Hits
recursive 215 281
fn 866 4.4K

Related Threads

  • 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…
  • Recursive functionsA while ago Phil demonstrated a nice example of recursiveness in a DEF FN function. Sadly it doesn't appear to be online anymore and I have difficult…
  • Recursive acronymsBrowsing through Wikipedia (as one does, y'know -- it's so full of itself and What Wikipedia Is Not, strange that it never mentions the three main th…
  • 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…
  • Recursive 4-way floodfillHi guys)<br /> <br /> Shortly, I wanna find out whether there's a way to some object. Perhaps some of you have already encountered such an issue whic…
  • fn bug in basin?Hi.<br /> I was just trying to make myself some functions in basin and when i tryed them, the progam stopped on call.<br /> So i've tryed this simple…
  • FN nesting error?While playing with FN functions that call assembly, I've found something weird. <br /> <br /> Check out this code:<br /> [code]10 DEF FN f(a,b)=a+b<b…
  • stuck on recursive functionI want this function to PEEK 'l' bytes from memory starting at 's' and return them as a string, but however much I fiddle about with quoting and pare…
  • those darned recursive functions againI've been stuck on this one all evening. I want to dump out some memory in binary to debug a program. I've got a simple mod 2 division loop to do tha…
  • 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 …

Related Searches

  • recursive
  • modulo function def fn
  • fuse def fn keyboard
  • def fn usr
  • fn defadd
  • def fn
  • def fn within a function
  • fn h
  • upper case fn
  • def fn d
  • bin def fn
  • def fn recursive bug
  • def fn bug
  • recursive function
  • binary recursive function
  • recursive backtrack
  • def fn recursive bin
  • fn usr
  • dr beep s recursive def fn
  • recursive def fn

Copyright © 2024 World of Spectrum