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

    ... I need it to look up commands because some ... Basic program that used DEF FN (A command I'm ... )). Well, see for yourselves:-

    10 DEF FN M(N) = ... ((A / N) - INT (A / N)) * N
    20 FOR ... $ = ""
    40 IF FN M(3) = 0 THEN O ...
    mik3d3nch mik3d3nch January 2019 BASIC
  • 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…

    ... this function to scan strings for characters without needing to use ... FOR...NEXT and IF...THEN, ... br />
    Using:

    DEF FN w(w$,o$,c)=VAL ...
    with:

    w$(FN w(w$,o$,1))
    FN w(w$,o$,1)*100).
    Battle Bunny Battle Bunny September 2010 Sinclair Basic
  • 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 …

    ... after each parameter in the DEF FN definition. There's code there ... , but it's not working for some reason. As I don ...
    Battle Bunny Battle Bunny April 2012 Emulators
  • Confounded DEF FNCan anyone see why this is going wrong? I've been tinkering with it since tea time and got nowhere. [code] 2 DEF FN t$(n,t,d) =STR$ INT (n/t)…

    ... nowhere.
    [code]
    2 DEF FN t$(n,t,d)
    +VAL$ (("FN t$("
    +STR$ (n-INT ...
    Battle Bunny Battle Bunny August 2013 Sinclair Basic
  • 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. By the time, the WoS f…

    ... after every parameter of a DEF FN.

    By the time ...
    programandala.net programandala.net August 2015 Sinclair Basic
  • BASIC Bug: DEF FN after REMHello all, 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 when call…

    ... BASIC was at locating the DEF FN when called upon.
    < ... this:
    [code]
    10 DEF FN a()=10
    20 PRINT ... br /> [code]
    10 REM : DEF FN a()=10
    20 PRINT ... the ROM routine that looks for DEF FN, DATA and (oddly) NEXT appears ...
    BloodBaz BloodBaz May 2022 BASIC
  • 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 function defined such as DEF FN g(x, y, p, q ...
    carlinski carlinski December 2007 Development
  • What Torrents Should I Look For?As I am a bit of a nostalgia freak (obviously) and I have recently been looking for old British shows to download. I am currently downloading Knight…

    ... I have recently been looking for old British shows to download ... thinking about things to search for my mind goes completely blank ... . Anyway, I am not asking for links to such stuff but ... suggest some cool stuff to look for. It can be comedies, kids ...
    Klepto Klepto November 2008 Chit chat
  • I look for gameHere is a title screen [URL=http://savepic.ru/3218959.htm][IMG]http://savepic.ru/3218959m.jpg[/IMG][/URL] game was translated into Russian and I lo…

    Here is a title screen

    [URL=http://savepic.ru/3218959.htm][IMG]http://savepic.ru/3218959m.jpg[/IMG][/URL]

    game was translated into Russian
    and I look for the original version
    Jerri Jerri October 2012 Games
  • Fast and easy read/write of attributes?What are the fastest or easiest ways to check the attributes of tiles on the screen, in BASIC? It seems to be a great way of storing object info. …

    ... 5: CLS: PAPER 7:
    FOR y=1 TO 20: PRINT ...
    Battle Bunny Battle Bunny June 2014 Sinclair Basic
  • is there a way of adding a define procedure command to zx basic?i know you can add things like renumber, using randomize usr to call it, but this would have to be keywords. this would be so helpful in basic as you…

    ... def fn is for defining functions, not procedures.
    [/quote]
    Have a look ... "]Beta Basic[/url] which has DEF PROC which I think is ...
    dbolli dbolli July 2019 Sinclair Basic
  • QuickBASICQuickBASIC Emulation: Is it possible to declare and pass global variables throughout a program along with confine a local variable to just a module-…

    ... />
    I used the DEF FN routine for it as stated by Dunny ...
    Dr BEEP Dr BEEP June 2004 Sinclair Basic
  • Very basicI found the wos site a few months ago when searching for solutions to my broken spectrum, that i had dug out of storage and was learning basic on. Si…

    ... 'll actually find out what DEF FN is for.
    chop983 chop983 September 2009 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... the time stuff in a DEF FN but for some reason they blow ...
    Paddy Coleman Paddy Coleman September 2010 Sinclair Basic
  • DIM and FOR, NEXT loopHi there. I'm making a program with 100 items on screen using dim and a for next loop. The thing is, each time I want to manipulate the items I do an…

    ... arrays rather than number arrays for small integers.
    [*]Use ... rather than simple strings for strings which are altered ... hasn't changed, but not for a DIMensioned string.)
    ... GO TO, DEF FN, RESTORE, FOR. It's particularly critical for DEF FN as every ...
    Battle Bunny Battle Bunny May 2014 Sinclair 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…

    ... with the trouble of grasping DEF FN syntax, for example. As a kid ... I think so it goes for other languages too. JS/C ...
    Arjun Arjun February 2019 BASIC
  • is there a way of adding a define procedure command to zx basic?i know you can add things like renumber, using randomize usr to call it, but this would have to be keywords. this would be so helpful in basic as you…

    [quote="dbolli;953949"] You could use these and just return status or an error code as the result[/quote]
    im not sure what you mean by this. also def fn is for defining functions, not procedures.
    digital digital July 2019 Sinclair Basic
  • BASin release 12b available for downloadOk, there were a few nasty bugs in the last release, so in fine SPIN team tradition here's a new release that possibly fixes those errors. In this r…

    ... /> Fixed Crisis's bug with DEF FN, and colin's problem with ... of BASin, so please - look out for bugs that it may introduce ...
    Dunny Dunny October 2005 Sinclair Basic
  • IZX: a new standard format and driver for ZX-Spectrum icons[B]IZX[/B] is a very compact and efficient standard format to create icons for the ZX-Spectrum. You can download it from here: [LIST] [*][URL="http:…

    ... format to create icons for the ZX-Spectrum. You ... format and reference implementation for
    ZX-Spectrum ... also contains a driver for drawing icons, that make ... icons"CODE
    20 DEF FN z(r,c,i)=USR ... [/B] standard, so it will look like this:

    Einar Saukas Einar Saukas July 2013 Brand new software
  • 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…

    ... given the higher priority; for example, the MOD function ... i])
    [code]
    DEF FN C$(n)=CHR$ INT (n ... [/b]()
    [code]
    DEF FN F()=65536-USR 7962
    [code]
    DEF FN H$(n)=CHR$ (INT (n ... i])
    [code]
    DEF FN L$(l$)=CHR$ (CODE l ...
    chev chev November 2004 Sinclair Basic
  • BASin Release 13 is now availableI'm still at it. BASin is now in it's 13th incarnation (disregarding the inter-version updates) and is now available at [url="http://homepage.ntlw…

    ...
    Release 13 Notes: (Credits for bugs found/features requested are ... in the manual to look more like BASin code.< ... RAM page bank switching mechanisms for the RAMDisk routines.
    ... compatibility meant that REM and DEF FN behaved incorrectly.
    Fixed ...
    Dunny Dunny January 2006 Emulators
  • BASin Release 13 is now available[unashamedly x-posted from Emulators forum] I'm still at it. BASin is now in it's 13th incarnation (disregarding the inter-version updates) and is …

    ...
    Release 13 Notes: (Credits for bugs found/features requested are ... in the manual to look more like BASin code.< ... RAM page bank switching mechanisms for the RAMDisk routines.
    ... compatibility meant that REM and DEF FN behaved incorrectly.
    Fixed ...
    Dunny Dunny January 2006 Sinclair Basic
  • Speccy look for the forumaye, not sure where to post this... besides, we?ve had already some talks about it... but, l@@k at [url=http://zx.pk.ru/index.php?]this[/url] - the …

    ... the standard size (the same for everyone) of an avatar if ... icon/avatar only32x32 or 64x64, for example) - this should be ok ... ?s disturbing and breaks the look of the forum
    de Vandemar Croup de Vandemar Croup May 2006 Sinclair Miscellaneous
  • BASin r14d - Final bugfix for the r14 seriesOk, there's not a great deal to "show" here, as most of the work has been going on "under the hood" so to speak. And there's been a [i]lot[/i] of wor…

    ... feature - the compiler. Thanks for choosing the hardest one, folks ... keyword - GO TO, GO SUB, DEF FN etc. (Ref)
    Fixed - ... table returned the wrong token for keywords.
    Fixed - Crash ... the right-click context menu for commands and variables with ...
    Dunny Dunny December 2008 Emulators
  • Copying a SCREEN$ in ZX BASIC in 1 second?!Following on from the revived "[thread=20207]Saving a complete SCREEN$ in BASIC[/thread]" thread (although Arjun really only needed a suitable POKE i…

    ... for yourself first.

    [code]
    10 DIM s$(6912): DEF FN ... p(a)=PEEK a+256*PEEK (a+1):
    DEF FN l ... (v)=v-256*FN h(v): DEF FN h(v ... works because LOOK-VARS searches the DEFADD area (where FN variables are ...
    Battle Bunny Battle Bunny April 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 ... or what?

    thanks for help
    rikokun rikokun September 2011 Sinclair Basic
  • Find-Fill-Copy functions for BASICThere's not much going on here, so here's three m/code routines to provide some data manipulation functions which are otherwise slow to do from BASIC…

    ... 'b'
    . eg. FN f("z$()","wxyz",fill) -or ... (may overlap)
    . eg. FN c(22528,22529,127,CHR ... p2...,pn],r1" or "DEF FN f(p1[,p2...,pn])=USR ... ,Z80,ASM,TAP files for each set, including demo ... programs which provide for testing all the options; ...
    Battle Bunny Battle Bunny October 2011 Sinclair Basic
  • handy method for passing m/c parametersI knew that a single number or string parameter could be passed to a m/c routine with either: [b]LET a=b+USR address[/b] puts b on the calculator st…

    ... recently saw this similar method for passing two m/c ... a DEF/FN, as there's no need to search for the DEF every ... time, although it's not very good for ... mixing number & string parameters, for which a DEF FN would ...
    Battle Bunny Battle Bunny May 2013 Sinclair Basic
  • 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 …

    ... version works while asking for suggestions for changes or additions to ... , colours
    ACTION defines, for each object, attributes which require ... 10 REM Title
    11 DEF FN p(a)=PEEK a+256 ... /> ; MOVE_M moving object control for BASIC
    ; runs with ...
    Battle Bunny Battle Bunny September 2013 Sinclair Basic
  • It's my turn to look for a film...I'm looking for a film that I saw in my local CEX ages ago and I wish I'd bought it, but I didn't (it was only ?1.50 too) and it's basically a Batman…

    I'm looking for a film that I saw ... characters saying "oh look, here comes the director for his cameo" as ...
    Bermondsey Bob Bermondsey Bob January 2014 Chit chat
<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
def 11.7K 12.9K
fn 866 4.4K
look 49.6K 56.6K
for 352.6K 637.2K

Related Threads

  • 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…
  • Corona Encantada for MSX and Invasion of the Zombie Monsters for CPC, from RELEVO, for saleWe have a remaining of the stock of games we offered in the crowfunding of the book "Enciclopedia Homebrew". They are Corona Encantad for MSX in cart…
  • Looking for the game Rex for spectrumHello,<br /> I am looking for the game Rex(I think there are two parts 1&amp;2) by Martech.
  • Heres one for you tooo make some money :) For MIA`sYou have a massive archive "INFOSEEK", but i know you dont allow offsite looking at this source of info.<br /> <br /> But if you produced a CD with t…
  • ANNOUNCE: Speccy-Player (AY file player for a Real Spectrum) version 0.1 available for downloadI finally managed to get my AY file player for Real Spectrum 128 (working title "Speccy-Player") into a suitable state to unleash it on the unsuspect…
  • Spectaculator - any hope for support for CTRL ?When running CP/M for +3, the CONTROL key is SSHIFT+CAPSS (i.e. EXTENDED).<br /> 1. It would be fine to emulate this to the PC's CTRL key. At present…
  • Anyone want to swap all my tapes, for all systems, for game carts?I live in terrace house, not much bigger than the ones on Coronation Street. I don't have a whole lot of spare room left, and my wife, bless her, obj…
  • Recommend a 48k music program for me, or teach me how to search for them in infoseek. ThxThe only 48k music tracker I happen to know is Wham!<br /> <br /> Which ones do you like?<br /> <br /> Can anybody point me to some old threads on th…
  • Search plugin for Firefox/Mozilla..... for WoS?Hello!<br /> <br /> Is there a searchplugin made for Firefox/Mozilla.... thats work with WoS - Sinclair Infoseek? If not can someone make one please.…

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
  • spaghetti def fn
  • dr beep s recursive def fn
  • dr beep def fn
  • def fn trick
  • def fn copying

Copyright © 2024 World of Spectrum