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>
  • Full 16*16-digit BASIC multiplicationI liked Andre Adrian's 32-bit long multiplication routine so much that I decided to a decimal version. After all, 2^63 is only 9223372036854775808, a…

    ... /> 1001 PRINT " ";FN b$(V)+FN b$(X)+FN b$(B)+FN b$(C ... $(G)+FN b$(K)+FN b$(H)+FN b$(L)+
    FN b$(V)+FN ... b$(X)+FN ... b$(B)+FN b$(C ...
    Battle Bunny Battle Bunny July 2013 Sinclair Basic
  • Koch CurveNot tried it yet but it appears to have all the required components. Recursive curve program in just 69 bytes! [url]http://www.retroprogramming.com/2…

    Not tried it yet but it appears to have all the required components.
    Recursive curve program in just 69 bytes!
    [url]http://www.retroprogramming.com/2013/08/zx-spectrum-koch-levy-c-curve.html[/url]
    BloodBaz BloodBaz August 2013 Sinclair Miscellaneous
  • MOVE_M Object Movement Manager for BASICAs moving things around on the screen is usually the slowest part of a game written in BASIC, I've been pottering around with this routine to handle …

    ... 12 CLEAR 62999: LET ORG=FN p(23730)+1: LOAD "MOVE_M ... /> LET DOTRAP=FN p(ORG): LET NOINT=FN p(ORG+2 ... ):
    LET NOTRAP=FN p(ORG+4): LET DOINT ... DISPLAY tables may be defined; FN i(d,a) selects **< ... ACTION tables may be defined; FN i(d,a) selects ...
    Battle Bunny Battle Bunny September 2013 Sinclair Basic
  • 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…

    ... $(row,col) use FN c$(row,col) where FN c$() is defined ... as DEF FN c$(r,c ...
    Battle Bunny Battle Bunny October 2013 Sinclair Basic
  • that "listing variables during runtime" thingWell, I did eventually finish this, but with my meds playing up I don't have much time each day that I can spend at the computer, so it's taken rathe…

    ... from the function:
    DEF FN s$(r,k)=STR$ USR ...
    Battle Bunny Battle Bunny November 2013 Sinclair Basic
  • dumping protected BASIC loadersI wrote this a few weeks ago but forgot to post it. It will load & list from tape/TAP/TZX any BASIC program which has been saved with SAVE, including…

    ... />
    [code]
    2 DEF FN p(a)=PEEK a+256 ... a: PRINT :
    LET ps=FN p(bytes+11): LET bs ... =FN p(bytes+15): LET vs= ... *PEEK a+PEEK (a+1);":";FN p(a+2); PAPER 7 ...
    Battle Bunny Battle Bunny March 2014 Sinclair Basic
  • TAPlist - the emulator versionI've got this working reasonably well; there's just a couple of small extra features which I want to add. (Recall that TAPlist writes a formatted lis…

    ... commands in the range DEF FN (206) to COPY (255) which ... indent (currently set for: DEF FN, LPRINT, DATA, REM, FOR, INPUT ...
    Battle Bunny Battle Bunny March 2014 Sinclair Basic
  • PLOTTER - display file utilityI've been disassembling Gyron and needed something to help with working out where things were being put on the screen, so I wrote this program. I was…

    ... " error after some little while (FN h$(a) gets stuck in ...
    Battle Bunny Battle Bunny August 2014 Development
  • Decimal to Binary stringHi all, Anyone got a less labour intensive BASIC routine than this? Example:- take 170 and convert to a string "10101010" take 4 and convert to a s…

    ... certain functions such as DEF FN which won't convert....so ...
    IanJ IanJ August 2014 Sinclair Basic
  • New Game: COMPLICA DX<div style="font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant: normal; line-height: normal; font-weight: normal;"><img s…

    ... Artificial Intelligence algorithm implemented as recursive Minimax strategy with alpha-beta ...
    Einar Saukas Einar Saukas June 2015 Brand new software
  • ZX-Assembler version 0.8 (beta) releasedDear readers, yesterday I've published ZX-Assembler in its first version 0.8. It offers you some interesting features, even if I know there are …

    ... .

    * MACRO functions and recursive macros.
    clausjahn clausjahn July 2015 Emulators
  • Chompston Mazes in SpecBASAfter the discussion in ASH-II's Pacman thread, I checked out the link there about generating 2D Pacman style mazes. This one was quite good fun, …

    ... />
    [code]
    30 DEF FN d=INT(mind+INT(1 ... +1 TO),l$=l$+CHR$ FN d:
    LET x$=x ... e$ and call our function "FN d" from earlier to get ...
    Dunny Dunny October 2015 Sinclair Basic
  • Help With AY Music Program in BASICHi, last year I started writing a BASIC program for making and recording AY Music. I thought it would be easier than learning how to use Soundtracker…

    Hi, last year I started writing a BASIC program for making and recording AY Music. I thought it would be easier than learning how to use Soundtracker but, in the end - I just learned how to use Soundtracker anyway (Thanks to ZXF for those tutorials!).
    RetroPhase2014 RetroPhase2014 December 2015 Sinclair Basic
  • Function works in SpecBAS but not BASinSo, is there any reason why this user defined function works in SpecBAS but not BASin? [code] 10 DEF FN m$(a$,n1,n2)=a$(n1 TO n2) 20 LET a$="The…

    So, is there any reason why this user defined function works in SpecBAS but not BASin?

    [code]
    10 DEF FN m$(a$,n1,n2)=a$(n1 TO n2)
    20 LET a$="TheManInTheMoon"
    50 PRINT FN m$(a$,12,15)
    60 STOP
    [/code]
    Richey Richey May 2016 Sinclair Basic
  • Random Numbers, USR Return Values & Timing BASICI've been trying out Jon Ritman's random number routine, published in Your Sinclair Aug'87. Apart from a timing comparison I also did a frequency ana…

    ... /> 9999 LET t1=FN t(): LET t2=FN t(): LET t0=t1 ...
    Battle Bunny Battle Bunny January 2017 Sinclair Basic
  • SpecBAS 0.900 ReleasedAgainst my better judgement, here's 0.900. It's got lots and lots new, but mostly the new shiny is the editor. You can indent your code, you can e…

    ... 0 after error
    Fixed FN parsing crashing compiler thread
    Dunny Dunny April 2017 Sinclair Basic
  • ZEsarUX 6.0 stableHi! ZEsarUX 6.0 stable is out! This is a major version, it includes some new machines and a lot of new features and bug fixes :) You can downlo…

    ... : FS,FZ,FP,FV,FH,FN,FC
    *now you can ...
    chernandezba chernandezba November 2017 Emulators
  • SMB 1.0- a little program for MB-02+ messies:-)Hello, hello, hello, probably the last thing from me for the near future. I sit at the ZXS for several days to write this Basic utility which should …

    ... to Busy for advice, for FN(C) function and brilliant 64 ...
    Hood Hood March 2018 Brand new software
  • Random-Access to Microdrive FileI am working on a BASIC program to backup a microdrive text-file to standard tape array-file. To backup a text-file from one microdrive to a secon…

    ... 253
    320 POKE DEFADD,FN l(udg):
    ... POKE defadd+1,FN h(udg):
    LET s ...
    1311 DATA FN l(buf),FN h(buf)
    ... 1312 DATA FN l(512),FN h(512)
    ... ):
    POKE defadd+1,FN h(udg):
    LET ...
    mattsteel mattsteel May 2018 Sinclair Basic
  • Need the title of the Sinclair Basic manual to look for itI had a copy but I've lost the USB chip it was on! I need it to look up commands because some Basic programs I looked at all used the command MOD and…

    ... Basic program that used DEF FN (A command I'm not ... yourselves:-

    10 DEF FN M(N) = ((A / N) - INT ... LET O$ = ""
    40 IF FN M(3) = 0 THEN O ... $ = "FIZZ"
    50 IF FN M(5) = 0 THEN O ...
    mik3d3nch mik3d3nch January 2019 BASIC
  • While we're on the subject of BASIC Although my memory of the past still seems to be fairly reliable, memories relating to learning computer programming seem to have disappeared…

    ... potential of commands like DEF FN (DEFine FunctioN) now it seems ...
    mik3d3nch mik3d3nch February 2019 BASIC
  • Z80onDSK now compatible with +3e with ZXMMC or similarJust updated my utility to work on Spectrums equipped with +3e ROMs and IDE storage. I've tested this with ZXMMC at the moment but don't think there …

    ... user specified memory location
    ║ -fN: force machine type
    ║ 1 ...
    TomD TomD May 2019 Sinclair Miscellaneous
  • Writing faster BASIC programsThere was an article in INPUT years ago, that I thought I'd share again some of the tips from it and link to the article, as it contains some good ad…

    There was an article in INPUT years ago, that I thought I'd share again some of the tips from it and link to the article, as it contains some good advice on ways of writting your BASIC programs that they run faster. Nothing earth shattering but would not ...
    dmsmith dmsmith October 2019 Sinclair Basic
<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