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.007s
<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
  • 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
  • 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
  • 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
  • Beautiful codeSome people see beauty or something sublime in maths formulas and equations, can anyone suggest examples of beautiful or sublime programming?

    ... especially beautiful. A [I]recursive[/I] function calls itself for each major ... be further subdivided by the recursive calls), and combines the ... For example, here is a recursive data type for a binary ...
    And here is a recursive function to build a list of ...
    andrewbroad andrewbroad September 2014 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…

    ... ) I remembered Dr Beep's recursive DEF FN version, but in ... to the end of the function would do it the right ... reverse order, but if the function expanded s$ from right to ...
    Battle Bunny Battle Bunny March 2012 Sinclair Basic
  • 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
  • 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…

    ... priority; for example, the MOD function should normally occur first. Where ... BASIC would be tortuously slow. Recursive functions are possible, but are ...
    chev chev November 2004 Sinclair Basic
  • 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…

    ... the screen (handled by another function. The following code uses the ...
    Mr Millside Mr Millside February 2005 Development
  • 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…

    ... feedback for re-factoring my function that displays the colour for ... some help to improve the function that draws the tiles ? As ...
    Mr Millside Mr Millside February 2005 Development
  • 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…

    A 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 difficulties finding it out myself: does anyone have a good example? Thx.
    Paul van der Laan Paul van der Laan November 2006 Sinclair Basic
  • 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…

    ... %29]VISA[/url] is a recursive acronym!  (In the interests of ...
    robert@fm robert@fm April 2007 Chit chat
<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
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…
  • 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…
  • Possibly a little OT: Exporting ROM function addresses to the Z88DKOK, so I'm using the Z88DK. It's entirely possible that some documentation has bypassed me. But assume I have a function in ROM, say, at address 0xF0…
  • The Konix Liberator 10 Function Interface.In the 'What We Got' thread JP asked if I could upload some pictures of my Konix Liberator. Well here they are, well some of them. The rest are on my…

Related Searches

  • recursive
  • z88dk poke function
  • asm poke function
  • modulo function def fn
  • floor function
  • ceiling function
  • mod function
  • 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
  • recursive fn
  • def fn recursive bug
  • binary function
  • binary recursive function
  • recursive backtrack
  • def fn recursive bin

Copyright © 2024 World of Spectrum