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.012s
<1…10111213141516…34>
  • That thing on ZX_Beccy's shelfI am sure I am not the only one who thinks ZX_Beccy has the most amazing Sinclair collection but has anyone else been curious about that white spectr…

    [QUOTE=murtceps;534043]there's also two < Symbols and two > Where = ended up.[/QUOTE]

    Also, no CIRCLE, DRAW, DEF FN, FN, OPEN#, CLOSE#, CAT, MOVE, ERASE, FORMAT :)
    memrah memrah May 2011 Chit chat
  • BASin Problems etc.Hi Folks, Paul has asked me to open this thread to document any outstanding issues that we find within BASin. No guarantees that Paul can/will fix …

    ... =Paddy Coleman;507897]
    [*][B]DEF FN [/B]does not work - causes ...
    Arda Arda May 2011 Sinclair Basic
  • BASin Problems etc.Hi Folks, Paul has asked me to open this thread to document any outstanding issues that we find within BASin. No guarantees that Paul can/will fix …

    ... questions...

    1) ([B]DEF FN[/B]) I am using version ...
    Paddy Coleman Paddy Coleman May 2011 Sinclair Basic
  • Storing and displaying attributes...Hi Folks, I have a requirement to store and then redisplay a line of attributes from the screen. For example: 100 DIM a$(1,32) 110 LET line=10 120…

    ... delimiter character for a DEF FN definition, telling the FN variable search routine ...
    Battle Bunny Battle Bunny June 2011 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…

    1 def fn b$(d)=val$ (("str$ d" and d1))
    Dr BEEP Dr BEEP June 2011 Sinclair Basic
  • 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…

    ... $[/B]
    [code]
    1 def fn b$(d)=val$ (("str$ d ...

    [code]
    1 DEF FN b$(d)=VAL$ ((CHR$ 19 ...
    Dr BEEP Dr BEEP June 2011 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…

    [code]
    1 DEF FN b$(d)=VAL$ ((CHR$ 19
    3+"d" AND d1))
    [/code]
    Dr BEEP Dr BEEP June 2011 Sinclair Basic
  • Saving and Loading from tape in MC?I'm actually having problems with saving and loading from the ROM routines for the interpreter... I'm currently using the following codes for saving…

    ... :

    [code]
    4 DEF FN p(a)=PEEK a+256 ... ):
    DEF FN g(v)=v-FN h(v)*256:
    DEF FN h(v ... =FN p(FN p(errsp)): LET sp=FN p(errsp):
    POKE sp,FN ... errsp THEN
    LET sp=FN p(errsp):
    POKE sp ...
    Battle Bunny Battle Bunny July 2011 Development
  • Can anyone see a way to speed up the following line of code?Hi Folks, Been looking at bottle necks in my code using BASin's Profiler and the following line (well the 2nd LET statement) is somewhat slow. [COD…

    ... ?
    I dont mean the DEF FN placing in LINE 0 here ... one, put the most used DEF FN ahead.
    Further, longer variable ...
    Paddy Coleman Paddy Coleman July 2011 Sinclair Basic
  • Keys redefine routine and key check.I have written some asm code which allows me to redefine keys (for a game etc.), and also allows me to be able to check any keypresses for the redefi…

    ... this:
    [code]
    1 DEF FN b$(b)="00000000"(TO 8 ... LEN STR$ FN b(b))+STR$ FN b(b):
    DEF FN b(b ... )=VAL (("b-INT (b/2)*2+10*FN b ... b))
    10 LET b$=FN b(USR main)
    [/ ... I tried merging the two DEF FNs into one, but that ...
    Battle Bunny Battle Bunny September 2011 Development
  • 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 string variable

    DEF FN x(x$)=PEEK (4+PEEK ...
    mattsteel mattsteel September 2011 Sinclair Basic
  • checking bits in BASICThe question of manipulating bit patterns in BASIC was raised recently in this [thread=35728]Keys redefine routine and key check[/thread] thread. I s…

    ... typed in as

    DEF FN b$(b,u)=("" AND USR ... />
    but became

    DEF FN b$(b,u)=("" AND USR ...
    mattsteel mattsteel September 2011 Sinclair Basic
  • checking bits in BASICThe question of manipulating bit patterns in BASIC was raised recently in this [thread=35728]Keys redefine routine and key check[/thread] thread. I s…

    ... no reason for combination with DEF FN.
    Still treasures can be ...
    roko roko September 2011 Sinclair Basic
  • checking bits in BASICThe question of manipulating bit patterns in BASIC was raised recently in this [thread=35728]Keys redefine routine and key check[/thread] thread. I s…

    ... the "2A0B5C......" string in the DEF FN stmt next to the "00000...".
    roko roko September 2011 Sinclair Basic
  • checking bits in BASICThe question of manipulating bit patterns in BASIC was raised recently in this [thread=35728]Keys redefine routine and key check[/thread] thread. I s…

    ... the "2A0B5C......" string in the DEF FN stmt next to the "00000 ...
    Dr BEEP Dr BEEP September 2011 Sinclair Basic
  • checking bits in BASICThe question of manipulating bit patterns in BASIC was raised recently in this [thread=35728]Keys redefine routine and key check[/thread] thread. I s…

    ... no reason for combination with DEF FN.
    Still treasures can be ... /> [/QUOTE]
    I found useful DEF FN because all variables are vectorized ...
    mattsteel mattsteel September 2011 Sinclair Basic
  • checking bits in BASICThe question of manipulating bit patterns in BASIC was raised recently in this [thread=35728]Keys redefine routine and key check[/thread] thread. I s…

    ... br /> [code]
    6 DEF FN n(n$)=CODE n$-CODE ... 7 DEF FN h(h$)=16*FN n(h$(1))+FN n( ... :
    DEF FN l()=LEN a$-1: DEF FN c()=INKEY$= ... /> LET a$(FN l())=CHR$ FN h(a$(FN l() TO ... /> LET a$=a$( TO FN l()):
    PRINT CODE ...
    Battle Bunny Battle Bunny September 2011 Sinclair Basic
  • fn bug in basin?Hi. I was just trying to make myself some functions in basin and when i tryed them, the progam stopped on call. So i've tryed this simple thing: 10 …

    ... simple thing:

    10 def fn a(x)=x*10
    20 print fn a(10)

    and ... ago. I am afraid that FN is off limits in BASin ...
    Paddy Coleman Paddy Coleman September 2011 Sinclair Basic
  • INSTR function...Hi Folks, Another little program that people might find useful: [CODE]100 DIM i(4) 110 LET a$="This is some sample text" 120 LET b$="text" 130 GO S…

    [code]
    2 PRINT FN i("hello and hello","ll", ... 1)
    3 PRINT FN i("hello and hello","ll ... ",4)
    4 PRINT FN i("hello and hello","ll ... )
    9 STOP
    40 DEF FN i(m$,s$,p)=VAL ... p+LEN s$-1)=s$)+("+FN i(m$,s$,
    p ...
    Dr BEEP Dr BEEP September 2011 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…

    ... /> [QUOTE=Dr BEEP;544274]1 def fn b$(d)=val$ (("str$ d ... :

    2 DEF FN c$(d,b)=VAL$ (("FN z$(d)" AND ... d=b))
    5 DEF FN z$(d)=CHR$ (d+48 ... />
    :smile:

    And FN c$(45648,36) gives Z80 ...
    mattsteel mattsteel September 2011 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…

    ... :

    2 DEF FN c$(d,b)=VAL$ (("FN z$(d)" AND ... d=b))
    5 DEF FN z$(d)=CHR$ (d+48 ... />
    :smile:

    And FN c$(45648,36) gives Z80 ...
    BloodBaz BloodBaz September 2011 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…

    ... four subordinate functions are:
    FN k$(n) - get character ... ",36,10) gives 2176782350. FN n$("1000000",36,2) gives ... /> [code]
    DEF FN n$(n$,o,p)=FN t$(FN f(n$,o ... ,1),p)

    DEF FN f ... (n$,b,c)=FN m(n$(c ...
    Battle Bunny Battle Bunny September 2011 Sinclair Basic
  • saving part of a BASIC programHere's a short routine to save part of a BASIC program. The idea is that it can be merged into a program and then used to save sub-routines, etc. to …

    ... 1 DEF FN g(v)=VAL "v-FN h(v)*256": DEF FN h ... (v)=VAL "INT (v/256)":
    DEF FN ... PEEK (a+1)":
    DEF FN n(n)=n-CODE " ... 9990 CLS: RANDOMIZE USR VAL "FN p(23637)+96":
    ... LET v=FN p(VAL "16384"): LET ...
    Battle Bunny Battle Bunny September 2011 Sinclair Basic
  • 3 lines of funHello! I'm looking for a tattoo to remember forever our fabulous 8 bit era. A part the pictures I posted here [url]http://www.worldofspectrum.org/for…

    ...

    [code]
    10 DEF FN h(n)=(n-48)*(n ...
    Geoff Geoff October 2011 Sinclair Basic
<1…10111213141516…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
modulo 70 93
function 4.3K 6.5K
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…
  • 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…
  • 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…
  • 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…

Related Searches

  • 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
  • bin function def fn

Copyright © 2024 World of Spectrum