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.010s
<1234567…34>
  • 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…

    I want this function to PEEK 'l' bytes from ...
    Battle Bunny Battle Bunny February 2012 Sinclair Basic
  • Beautiful codeSome people see beauty or something sublime in maths formulas and equations, can anyone suggest examples of beautiful or sublime programming?

    ... beautiful. A [I]recursive[/I] function calls itself for each major ... be further subdivided by the recursive calls), and combines the ... here is a recursive data type for a binary tree, written ... recursive function to build a list of the values in a binary ...
    andrewbroad andrewbroad September 2014 Development
  • Let a=val "1"I see some basic programs which use Let a=val "1" instead of let a=1 syntax. what is the difference between val "1" and 1? is it an effect of some …

    The only logical use I have ever seen for VAL$ was in a recursive function to print
    n! where the result would be an empty string when n reached 0.
    Dr BEEP Dr BEEP July 2003 Sinclair Basic
  • 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…

    Looking at some of the examples I found on CSS, am I right in the assumption that it's not possible to make a recursive function that returns a string?
    Paul van der Laan Paul van der Laan November 2006 Sinclair Basic
  • 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…

    ... have it also as a recursive function, resulting in a printable string ...
    Dr BEEP Dr BEEP November 2006 Sinclair Basic
  • 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…

    ... be used as base for recursive function in Sinclair Basic.

    End Sub


    Function hanoi(v, n, s)
    End Function
    Dr BEEP Dr BEEP November 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…

    ... you even know what a recursive function is??

    2- Even ...
    Scottie_uk Scottie_uk November 2006 Chit chat
  • 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…

    1 - A recursive function is a function which calls itself. This can ...
    Where's that AY chip gone... Where's that AY chip gone... November 2006 Chit chat
  • Breakpoints and other questionsSome games have LDIRs, LDDRs, ANDs and XORs before they jump to the real start address (and some other stuff that I don't understand yet). If I want …

    You could use the binary export function, so change the code to not call the adress, but stop the program (sonething like DI:HALT sequence works), and then export the binary menory code. After reimporting it and the jump to correct adress it should work.
    LCD LCD June 2008 Emulators
  • Programming Books for Kids - Whats happened to programming?What has happened to Programming in the 00's :( I remember at the tender age of 9 exitedly going to my library to get one of them colourfull program…

    ... you did it as a recursive function.[/QUOTE]

    Ah I ...
    Scottie_uk Scottie_uk October 2008 Sinclair Miscellaneous
  • 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. …

    ... (or what they call Intrinsic Function in the compiler world). This ... can be done with a recursive function in BASIC.

    [url ... /533e1c87e465133a?rnum=1&q=recursive+basic&_done=/group/comp ...
    Dr BEEP Dr BEEP September 2010 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. …

    ... .

    Really clever this recursive function stuff though.

    Many ...
    Paddy Coleman Paddy Coleman September 2010 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. …

    ... a better version of the recursive function, but didn't have it ... of MC to alter a function in a piece of code ...
    Dr BEEP Dr BEEP September 2010 Sinclair Basic
  • variable variable names with VAL$It's possible to make the RH-side variable names in a LET statement be themselves variable by using VAL$. Thus, if v$ holds the [b]name[/b] of anothe…

    ... ]

    Errm, isn't recursive function working like asked, so I ...
    Dr BEEP Dr BEEP October 2010 Sinclair Basic
  • variable variable names with VAL$It's possible to make the RH-side variable names in a LET statement be themselves variable by using VAL$. Thus, if v$ holds the [b]name[/b] of anothe…

    ... BEEP;483688]Errm, isn't recursive function working like asked, so I ... .... I don't think so. Recursive functions work because you can ... , it's returned as the function result. So, the variable substring ...
    mcleod_ideafix mcleod_ideafix October 2010 Sinclair Basic
  • Transferring games into MicrodriveLast week a big pack of empty microdrive cartridges arrived, and now I'm ready to playing with my little microdrive equipped speccy. One of my aim w…

    ... the Spectrum using a BINARY tape send function (then saving to micro ... /> The problem is the BINARY save function as I don't know ... line application to save to BINARY or WAV. Being an audio ...
    ASM ASM November 2010 Sinclair Miscellaneous
  • numbers to binaryHi everyone, I have looked through the manual and have found nothing. How do you change a number to binary easily? I know you can go binary to decim…

    ... />
    I know a working RECURSIVE function like this exist already, who ... your STOP-question.
    A recursive formula in BASIC needs a ...
    Dr BEEP Dr BEEP June 2011 Sinclair Basic
  • Help with random numbers......Hi all, wonder if anyone can help me... sort of a novice here ... I have been trying to write a simple ish basic program to compare random sets of n…

    ... an example of using a recursive function to do the duplicate number ...
    Battle Bunny Battle Bunny July 2011 Sinclair Basic
  • Help with random numbers......Hi all, wonder if anyone can help me... sort of a novice here ... I have been trying to write a simple ish basic program to compare random sets of n…

    ... an example of using a recursive function to do the duplicate number ...
    loonix loonix July 2011 Sinclair Basic
  • 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…

    Glad you got it sorted out (and I wouldn't have been much help to be honest), but I have to say that I thought the thread title "stuck on recursive function" was sort of a subtle joke?
    ewgf ewgf February 2012 Sinclair Basic
  • 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…

    ... for those interested. A recursive function needs an evaluating bit, ... bit, respectively. This function returns a single character from ... recursive functions is being able to see what the function ... course, even when a recursive function is defined correctly it can ...
    Battle Bunny Battle Bunny February 2012 Sinclair Basic
  • Project on ZX Spectrum in UniversityHi everyone, I am Max, student of media studies in berlin, and I have to do a little project on the spectrum. I am working on a sinclair zx spectrum…

    ... write certain forms of recursive function. For example, this function PEEKs 'l' bytes ...
    Battle Bunny Battle Bunny December 2012 Announcements
  • calculator and sinusok, look at the Sysel's routine: [PHP]3 5b00 *s 4 5b00 tabsin = #7000 03 mksin 19.11.1995 Busy soft …

    ... self-modifying code and a recursive function to boot.
    [code]
    Battle Bunny Battle Bunny January 2013 Development
  • User defined function in Sinclair BASICI'm looking to create a user defined function in Sinclair BASIC to add up numbers being input. This is the program without a user defined function be…

    ... this case).

    The function scans the digits in the ... for example.

    A recursive function calls itself but needs some ... ;1)
    (this is the recursive looping bit);
    or adds ...
    Battle Bunny Battle Bunny February 2017 BASIC
  • 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…

    ... out some memory in binary to debug a program. ... I remembered Dr Beep's recursive DEF FN version, but ... , as this produces the binary conversion backwards, swapping s$ ... the end of the function would do it the ... order, but if the function expanded s$ from right ...
    Battle Bunny Battle Bunny March 2012 Sinclair Basic
  • Converting an integer arbitrary large binary number into a printable decimal formThis was asked a long ago at the comp.sys.sinclair newsgroup. At that time, I came up with a solution by extrapolating the classic algorithm of suces…

    ... about, to easily convert a binary number into BCD, from which ... is: enough memory for the binary representation of the number, plus ... (10) ) . ceil() is the C function that gives us the integer ...
    mcleod_ideafix mcleod_ideafix November 2013 Development
  • VSYNC FunctionI have written a VSYNC function, so that I can clear the screen before redraw without flicker on the screen, I do this by peeking at the address 2367…

    I have written a VSYNC function, so that I can clear ...
    robpearmain robpearmain May 2004 Development
  • Game loop design?Having some thoughts on how to design the game loop and could do with some hints and tips from folks who have done it before! It's all about how to …

    ... a simple EI,RET interrupt function, so that HALT can be ... perhaps to let the interrupt function add a counter and then ... /> I have implemented the spritemove function so it may be called ... now the movement is quite binary - the sprite moves in constant ...
    ekoman ekoman July 2004 Development
  • ZX80 - it wont die.The Mighty Dope Throne's ZX80 cgc entry has got me thinking. Does anyone know anything about how the zx80 works internally? is it very close to the z…

    ... seem to be a load binary function in the emulator, how am ...
    Sharopolis Sharopolis September 2004 Development
<1234567…34>

Latest Posts

  • Your Favorite Magazine Cover Tapes.
    Your Spec-chum on 2:19PM
  • 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

HitBox

Word Docs Hits
binary 3K 4.2K
recursive 215 281
function 4.3K 6.5K

Related Threads

  • SpecBAS INT function vs Spectrum INT functionDunny's SpecOS (SpecBas) vs Normal Spectrum Basic.<br /> <br /> INT function<br /> <br /> The Spectrum rounds -ve INT values down (e.g. INT -2.2 = -3…
  • 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…
  • Access Database function in ZX-Rainbow S.E. yes or no?Dear friends and users of ZX-Rainbow!<br /> <br /> history:<br /> I have had some problems with ZX-Rainbow S.E. and a very bad time last weeks: The g…
  • VSYNC FunctionI have written a VSYNC function, so that I can clear the screen before redraw without flicker on the screen, I do this by peeking at the address 2367…
  • Help needed to speed up functionCan anyone help me to re-factor this code snippet. The "MAP" section holds information about which tiles go where on the screen (handled by another f…
  • Anyone help re-factoring a tile functionI had some excellent feedback for re-factoring my function that displays the colour for my screen tiles. Can anyone offer some help to improve the fu…
  • Method to read byte as binary string rather than dec?Hi all<br /> <br /> Am fiddling around with the screen buffer and have written a routine to scan the screenbuffer into upper ram and then write it ba…
  • 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…
  • "Binary Love"...anyone seen this?I downloaded a game (or I thought it was a game) for my speccy emulator called "binary Love"...but it's not a game, it's more of a graphics demo. any…
  • 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…

Related Searches

  • recursive
  • z88dk poke function
  • asm poke function
  • modulo function def fn
  • convert decimal to binary
  • floor function
  • ceiling function
  • mod function
  • decimal to binary
  • binary
  • function
  • i demand a working search function
  • search function
  • def fn within a function
  • zesarux function keys
  • using user defined function to run machine code
  • undo function
  • zup binary
  • recursive function
  • binary function

Copyright © 2024 World of Spectrum