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
<1…45678910…34>
  • Oneliner contestHello to you all, I dare you to make a program on 1 BASIC line. Here is the place to sent your ONELINERS [url]http://www.zxspectrum.00freehost.co…

    ... :
    LET b=256:
    DEF FN w(x)=PEEK ABS x ... (x+1):
    LET e=FN w(g+15):
    LET ... /> LET z$="":
    LET k=FN w(-p-1):
    LET ... +4:
    LET p=q+FN w(p+2):
    LET ...
    Einar Saukas Einar Saukas August 2007 Development
  • Oneliner contestHello to you all, I dare you to make a program on 1 BASIC line. Here is the place to sent your ONELINERS [url]http://www.zxspectrum.00freehost.co…

    ... this:

    [CODE]
    DEF FN i(x)=(x
    Einar Saukas Einar Saukas September 2007 Development
  • Oneliner contestHello to you all, I dare you to make a program on 1 BASIC line. Here is the place to sent your ONELINERS [url]http://www.zxspectrum.00freehost.co…

    ... places, you could use a DEF FN to position the cursor like ...
    Einar Saukas Einar Saukas September 2007 Development
  • Oneliner contestHello to you all, I dare you to make a program on 1 BASIC line. Here is the place to sent your ONELINERS [url]http://www.zxspectrum.00freehost.co…

    ... places, you could use a DEF FN to position the cursor like ...
    Digital Prawn Digital Prawn September 2007 Development
  • Oneliner contestHello to you all, I dare you to make a program on 1 BASIC line. Here is the place to sent your ONELINERS [url]http://www.zxspectrum.00freehost.co…

    [code]
    2 DEF FN w(a,s)=VAL ((a$( ... f,g*7-3;((STR$ FN w(f,g)+b$ AND ... /> in 3,1 ; FN W(1,1)*FN W(2,1)
    Dr BEEP Dr BEEP September 2007 Development
  • 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…

    ... a DEF FN.
    I defined the function something like:[CODE]DEF FN P ... it with:[CODE]LET A=FN P(2,30,"Boobs")[/CODE ... get the parameters of the DEF FN function are to look at ... variable which points to the DEF FN function in use.

    icabod icabod December 2007 Development
  • 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…

    ... , to the parameters of the DEF FN.
    So in order to ... you had a DEF FN of:
    [CODE]DEF FN P(A,B$)=usr ... gets called, and calling the FN from BASIC. Just look at ...
    icabod icabod December 2007 Development
  • 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…

    ... , and that was via a DEF FN.[/quote]

    Interesting... I ... be entirely doable as an FN.
    Winston Winston December 2007 Development
  • 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…

    ... />
    The nice thing about DEF FN + some USR call is that ...
    Winston Winston December 2007 Development
  • 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…

    I like the DEF FN method of calling USR functions. Always think it is worth having a distinct m/c entry point to go with it though.
    BloodBaz BloodBaz December 2007 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…

    ... /> DPEEK (address)
    FN P (address)

    DEF FN P(A)=PEEK ...
    jp jp January 2008 Sinclair Basic
  • Why are we here? (At WoS)No, not a deep philosophical question about the nature of life, the universe and human existence. The thread &#8220;what does your partner think of …

    ... (except for recursive use of DEF FN, if I remember my [B ...
    ewgf ewgf March 2008 Sinclair Miscellaneous
  • Disappearing/appearing effectI remember doing a small routine in BASIC which could be used to cover the attributes section randomly, until all 704 characters were filled with the…

    ... I devised was:
    1 DEF FN r(c,d,p)=c ... >=-d)
    10 PLOT FN r(RND*255,255,PEEK ... 23672),FN r(RND*175,175,PEEK ... the completion time substantially. (The DEF FN version takes about 80 minutes ...
    Battle Bunny Battle Bunny March 2008 Sinclair Basic
  • Disappearing/appearing effectI remember doing a small routine in BASIC which could be used to cover the attributes section randomly, until all 704 characters were filled with the…

    ... 10, 7, 1
    10 DEF FN l(v,a,b) = INT ... if it is
    20 DEF FN t(x,n) = INT(x ... LET val = FN l(val,FN t(val,8),FN t(val,1 ...
    Alcoholics Anonymous Alcoholics Anonymous March 2008 Sinclair Basic
  • St. Michael Micromasters: Computer GamesHi, The [URL="http://www.worldofspectrum.org/infoseekid.cgi?id=2000988"]St. Michael Micromasters: Computer Games[/URL] book doesn't currently have a…

    ... :let n=11:let m=fn r(8)
    410 let ... =y(m):let p=2*fn r(2)
    420 if ... =r+1:let c=c+fn r(3)-2
    250 ...
    1020 return
    2000 def fn r(n)=int(rnd*n ... =1
    220 let r=fn r(16)+2
    230 ... let c=fn r(16)+4
    240 ...
    c1541 c1541 March 2008 MIA/STP/SDP
  • St. Michael Micromasters: Computer GamesHi, The [URL="http://www.worldofspectrum.org/infoseekid.cgi?id=2000988"]St. Michael Micromasters: Computer Games[/URL] book doesn't currently have a…

    ... 0
    190 let m=fn r(11)-6:let l ... 3
    610 let k=fn r(10)-1:ink k ...
    1020 return
    2000 def fn r(n)=int(rnd*n ...
    1020 return
    2000 def fn r(n)=int(rnd*n ... gosub 700
    240 if fn r(2)=1 then let ... j
    330 let k=fn r(x):let n=m ...
    c1541 c1541 March 2008 MIA/STP/SDP
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    ... .

    [code]
    1 DEF FN a(r,n)=r-INT ... $(x)-40):
    LET c=FN a(3+PEEK 23673,256 ...
    Dr BEEP Dr BEEP March 2008 Development
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    [code]
    1 DEF FN a(r,n)=r-INT (r/n)*n:
    READ c$,m,n,v,p:
    LET x=RND*36+10:
    POKE n*(c$(x)>"O"),3:
    LET c$(x)=CHR$ (CODE c$(x)-40):
    LET c=FN a(3+PEEK 23673,256):
    CLS :
    LET x=x+n*(c$(p)
    Dr BEEP Dr BEEP March 2008 Development
  • BASIC Keyword ReferenceHi. I do most of my ZX work on a grey-case +2 which, as we all know, is devoid of most of the 48k BASIC keywords (it has LOAD and stuff, but not much…

    ... +Symbol Shift, then 'D'
    DEF FN Caps Shift+Symbol Shift, then ... Symbol Shift and 'V'
    FN Caps Shift+Symbol Shift, then ...
    Dunny Dunny March 2008 Sinclair Miscellaneous
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    [code]
    1 DEF FN a(r,n)=r-INT ( ... ;"O"),3:
    LET c=FN a(3+PEEK 23673,256 ... $(p)=x$):
    PRINT "Room:";FN a(CODE c$(p),40 ... x$=h$;"NESW"(g);":";STR$ (FN a(CODE h$,40)^2 ...
    Dr BEEP Dr BEEP March 2008 Development
  • BASIC Keyword ReferenceHi. I do most of my ZX work on a grey-case +2 which, as we all know, is devoid of most of the 48k BASIC keywords (it has LOAD and stuff, but not much…

    ...
    DATA : E : D
    DEF FN : E : SYM + 1
    DIM ... /> FLASH : E : SYM + V
    FN : E : SYM + 2
    FOR ...
    icabod icabod March 2008 Sinclair Miscellaneous
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    [code]
    1 DEF FN a(r,n)=r-INT ( ... new

    LET c=FN a(3+PEEK 23673,256 ... reached

    PRINT "Room:";FN a(CODE c$(p),40 ... x$=h$;"NESW"(g);":";STR$ (FN a(CODE h$,40)^2 ...
    Dr BEEP Dr BEEP March 2008 Development
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    [code]
    2 DEF FN r(u)=z+z*u*( ... =l+5-4*m(q+FN r(1)*((l=15)-(l ...
    Dr BEEP Dr BEEP March 2008 Development
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    ... in #591 which has the DEF FN removed. I agree it is ...
    Digital Prawn Digital Prawn April 2008 Development
  • A BASIC compiler projectHi, I started my own BASIC compiler for the ZX Spectrum (and Z80 machines) 3 months ago. It's still in ALPHA stage (when it is mature, I will write …

    ... to interpreted languages only (VAL$, DEF FN, READ, DATA, RESTORE...).

    boriel boriel April 2008 Development
  • A BASIC compiler projectHi, I started my own BASIC compiler for the ZX Spectrum (and Z80 machines) 3 months ago. It's still in ALPHA stage (when it is mature, I will write …

    ... /> REM Bye bye, my beloved DEF FN :-(
    Function myfunctions (Param1, param2 ...
    boriel boriel April 2008 Development
  • Trying to read in a list of items from DATA statementsThus far I have: data "cherry","apple","banana","grape","orange" But when I read it in using this: FOR X=1 TO 5: READ n$(X): NEXT X It only reads…

    ... you put that into a DEF FN statement :-)

    There's ... some bloody evil FN coders out there - Phil Kendall ... has written some very nice DEF FNs too, so let's ...
    Dunny Dunny May 2008 Sinclair Basic
  • oh my the old days :)programming on the speccy again here is a routine i remember of the top of my head to load screens or code without a header wow 5 Clear 27999 : Re…

    ... /> [CODE]10 DEF FN h(y)=INT (y/256): DEF FN l(y)=y ... -256*FN h(y)[/CODE ... .

    [CODE]PRINT FN h(32768),FN l(32768)[/CODE]
    jp jp June 2008 Sinclair Basic
<1…45678910…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
def 11.7K 12.9K
fn 866 4.4K
copying 1.8K 2.1K

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…
  • 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…
  • Copying Spectrum tape games to +3 disksIs there an easy way of doing this? I know you can use a multiface 3, but I don't have one of these and they sell for silly money on eBay. I picked u…
  • Campaign for free to air High Def TV on FreeviewThe government are on the verge of selling the analogue tv bandwidth ( if thats what its called ? ) to mobile phone companies, but the decision hasn'…

Related Searches

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

Copyright © 2024 World of Spectrum