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 898 results in 0.001s
<1234567…30>
  • TXT2EMU enhancementI was looking at the encodings supported by BAS2TAP for entering graphics, print controls, etc. as plain text. Basically, there's only one needed, be…

    ... example, in:
    [code]DEF FN j$(s,l)=CHR$ PEEK ... (s)+VAL$ (("FN j$("+STR$ (s+1)+","+STR ... ))[/code]
    replace the quoted FN with {A8} thus:
    [code ... ]DEF FN j$(s,l)=CHR$ PEEK ...
    Battle Bunny Battle Bunny May 2013 Sinclair Basic
  • quick RAM copy using LET in BASICI'm in the process of reviewing, revising and refining all the programming tips & utility routines which I've posted on this forum over the last eigh…

    ... 33: RESTORE 20: LET fnq=FN p(23639)+8:
    ... LET qlo=FN l(fnq): LET qhi=FN h(fnq): LET ... /> GO TO 40: REM find FN q() from DATADD
    < ... b$,l)
    42 REM FN q() PARAMETERS
    a$= ... /> LIST 45: GO SUB FN q(s$,"16384",2048):
    Battle Bunny Battle Bunny July 2013 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:…

    ... icons"CODE
    20 DEF FN z(r,c,i)=USR ... this:

    [CODE]FLASH FN z(5, 8, 16)[/CODE ...
    Einar Saukas Einar Saukas July 2013 Brand new software
  • Full 16*16-digit BASIC multiplicationI liked Andre Adrian's 32-bit long multiplication routine so much that I decided to a decimal version. After all, 2^63 is only 9223372036854775808, a…

    ... /> 1001 PRINT " ";FN b$(V)+FN b$(X)+FN b$(B)+FN b$(C ... $(G)+FN b$(K)+FN b$(H)+FN b$(L)+
    FN b$(V)+FN ... b$(X)+FN ... b$(B)+FN b$(C ...
    Battle Bunny Battle Bunny July 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 …

    ... 12 CLEAR 62999: LET ORG=FN p(23730)+1: LOAD "MOVE_M ... /> LET DOTRAP=FN p(ORG): LET NOINT=FN p(ORG+2 ... ):
    LET NOTRAP=FN p(ORG+4): LET DOINT ... DISPLAY tables may be defined; FN i(d,a) selects **< ... ACTION tables may be defined; FN i(d,a) selects ...
    Battle Bunny Battle Bunny September 2013 Sinclair Basic
  • dumping protected BASIC loadersI wrote this a few weeks ago but forgot to post it. It will load & list from tape/TAP/TZX any BASIC program which has been saved with SAVE, including…

    ... />
    [code]
    2 DEF FN p(a)=PEEK a+256 ... a: PRINT :
    LET ps=FN p(bytes+11): LET bs ... =FN p(bytes+15): LET vs= ... *PEEK a+PEEK (a+1);":";FN p(a+2); PAPER 7 ...
    Battle Bunny Battle Bunny March 2014 Sinclair Basic
  • TAPlist - the emulator versionI've got this working reasonably well; there's just a couple of small extra features which I want to add. (Recall that TAPlist writes a formatted lis…

    ... commands in the range DEF FN (206) to COPY (255) which ... indent (currently set for: DEF FN, LPRINT, DATA, REM, FOR, INPUT ...
    Battle Bunny Battle Bunny March 2014 Sinclair Basic
  • PLOTTER - display file utilityI've been disassembling Gyron and needed something to help with working out where things were being put on the screen, so I wrote this program. I was…

    ... " error after some little while (FN h$(a) gets stuck in ...
    Battle Bunny Battle Bunny August 2014 Development
  • Decimal to Binary stringHi all, Anyone got a less labour intensive BASIC routine than this? Example:- take 170 and convert to a string "10101010" take 4 and convert to a s…

    ... certain functions such as DEF FN which won't convert....so ...
    IanJ IanJ August 2014 Sinclair Basic
  • Chompston Mazes in SpecBASAfter the discussion in ASH-II's Pacman thread, I checked out the link there about generating 2D Pacman style mazes. This one was quite good fun, …

    ... />
    [code]
    30 DEF FN d=INT(mind+INT(1 ... +1 TO),l$=l$+CHR$ FN d:
    LET x$=x ... e$ and call our function "FN d" from earlier to get ...
    Dunny Dunny October 2015 Sinclair Basic
  • Help With AY Music Program in BASICHi, last year I started writing a BASIC program for making and recording AY Music. I thought it would be easier than learning how to use Soundtracker…

    Hi, last year I started writing a BASIC program for making and recording AY Music. I thought it would be easier than learning how to use Soundtracker but, in the end - I just learned how to use Soundtracker anyway (Thanks to ZXF for those tutorials!).
    RetroPhase2014 RetroPhase2014 December 2015 Sinclair Basic
  • Function works in SpecBAS but not BASinSo, is there any reason why this user defined function works in SpecBAS but not BASin? [code] 10 DEF FN m$(a$,n1,n2)=a$(n1 TO n2) 20 LET a$="The…

    So, is there any reason why this user defined function works in SpecBAS but not BASin?

    [code]
    10 DEF FN m$(a$,n1,n2)=a$(n1 TO n2)
    20 LET a$="TheManInTheMoon"
    50 PRINT FN m$(a$,12,15)
    60 STOP
    [/code]
    Richey Richey May 2016 Sinclair Basic
  • SeBASIC Updated to version 3.2 by aowen...SeBASIC has just received an update!... Version 3.2 is now available, but it'll cost ya!... Its only $5 USD, and can be downloaded from here:…

    ... /> * Fixed a bug in DEF FN recursive functions (thanks to Miguel ... /> * ZXC3 version excludes the DEF FN fix, and moves the cursor ...
    kgmcneil kgmcneil November 2016 Announcements
  • Random Numbers, USR Return Values & Timing BASICI've been trying out Jon Ritman's random number routine, published in Your Sinclair Aug'87. Apart from a timing comparison I also did a frequency ana…

    ... /> 9999 LET t1=FN t(): LET t2=FN t(): LET t0=t1 ...
    Battle Bunny Battle Bunny January 2017 Sinclair Basic
  • SpecBAS 0.900 ReleasedAgainst my better judgement, here's 0.900. It's got lots and lots new, but mostly the new shiny is the editor. You can indent your code, you can e…

    ... 0 after error
    Fixed FN parsing crashing compiler thread
    Dunny Dunny April 2017 Sinclair Basic
  • ZEsarUX 6.0 stableHi! ZEsarUX 6.0 stable is out! This is a major version, it includes some new machines and a lot of new features and bug fixes :) You can downlo…

    ... : FS,FZ,FP,FV,FH,FN,FC
    *now you can ...
    chernandezba chernandezba November 2017 Emulators
  • SMB 1.0- a little program for MB-02+ messies:-)Hello, hello, hello, probably the last thing from me for the near future. I sit at the ZXS for several days to write this Basic utility which should …

    ... to Busy for advice, for FN(C) function and brilliant 64 ...
    Hood Hood March 2018 Brand new software
  • 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…

    ... Basic program that used DEF FN (A command I'm not ... yourselves:-

    10 DEF FN M(N) = ((A / N) - INT ... LET O$ = ""
    40 IF FN M(3) = 0 THEN O ... $ = "FIZZ"
    50 IF FN M(5) = 0 THEN O ...
    mik3d3nch mik3d3nch January 2019 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…

    ... potential of commands like DEF FN (DEFine FunctioN) now it seems ...
    mik3d3nch mik3d3nch February 2019 BASIC
  • Z80onDSK now compatible with +3e with ZXMMC or similarJust updated my utility to work on Spectrums equipped with +3e ROMs and IDE storage. I've tested this with ZXMMC at the moment but don't think there …

    ... user specified memory location
    ║ -fN: force machine type
    ║ 1 ...
    TomD TomD May 2019 Sinclair Miscellaneous
  • Writing faster BASIC programsThere was an article in INPUT years ago, that I thought I'd share again some of the tips from it and link to the article, as it contains some good ad…

    There was an article in INPUT years ago, that I thought I'd share again some of the tips from it and link to the article, as it contains some good advice on ways of writting your BASIC programs that they run faster. Nothing earth shattering but would not ...
    dmsmith dmsmith October 2019 Sinclair Basic
<1234567…30>

Latest Posts

  • Your Favorite Magazine Cover Tapes.
    dm_boozefreek on 4:45PM
  • Happy 40th Birthday to the Amstrad CPC464!
    dmsmith on 4:10PM
  • "Late Entries"
    harriusherbartio on 4:00PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 1:34PM
  • Simple Sprite Routine
    dmsmith on 1:25AM
  • I am currently watching.....
    zx1 on April 11
  • Today's BASIC program: visit attribute cells I am interested in, in pseudorandom order
    Paradigm Shifter on April 11
  • How do you share programs online?
    firelord on April 11
  • Celebrity deaths...
    Ælita on April 11
  • Who Has Got The Earliest ZX Spectrum Software?
    harriusherbartio on April 11

HitBox

Word Docs Hits
fn 866 4.4K
defadd 102 200

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…
  • problem with DEFADD storageI have a function: DEF FN t(t$,m,t)=USR t<br /> which is called with, for an example: LET bc=FN t("t$()",mcworkspace,mcputt)<br /> where, at the time…
  • 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…
  • fn bug in basin?Hi.<br /> I was just trying to make myself some functions in basin and when i tryed them, the progam stopped on call.<br /> So i've tryed this simple…
  • FN nesting error?While playing with FN functions that call assembly, I've found something weird. <br /> <br /> Check out this code:<br /> [code]10 DEF FN f(a,b)=a+b<b…
  • 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…

Related Searches

  • modulo function def fn
  • fuse def fn keyboard
  • def fn usr
  • def fn
  • def fn within a function
  • fn h
  • upper case fn
  • def fn d
  • recursive fn
  • bin def fn
  • def fn recursive bug
  • def fn bug
  • defadd
  • def fn recursive bin
  • fn usr
  • def fn library
  • def fn v
  • def fn gosub fast
  • def fn battlebunny
  • def fn fast

Copyright © 2024 World of Spectrum