-
VariablesVariable Help: Can BASIC discriminate between odd and even variables? If so, what simple syntax can express it?
So to conclude, no BASIC has no actual function or command which will return "even" or "odd" - though you can code a short stub which will tell you, and the a/2 = INT(a/2) is probably the best.
D. -
VariablesVariable Help: Can BASIC discriminate between odd and even variables? If so, what simple syntax can express it?
Well there is a function :)
10 DEF FN p$(n) = ("ODD" AND
n/2INT (n/2))+("EVEN" AND n/2=
INT (n/2))
20 PRINT FN p$(3)
30 PRINT FN p$(1000) -
QuickBASICQuickBASIC Emulation: Is it possible to declare and pass global variables throughout a program along with confine a local variable to just a module-…
... you're using a DEFined FuNction. Paramaters passed there are considered ... "local" to that function.
Libraries are similarly ... -
+2A DiagnosticsHi, I searched the forums to find any info about it but wans't able to find it, maybe someone know how to do it. So i remember when i used my +2a tha…
... emulator having a 'Press QAZPLM' function. Can't remember which, though ... -
Coder`s with time....How many coders are there who can program anything? i.e. Commercial quality games, full blown applications, utilities etc.... who can do the lot? I…
When Speccy Limitations an AdvantageHi, just came to think that sometimes the technical limitations of Spectrum have resulted in a better game. Take for example the scrolling of Scuba …
... one, and say your laser ( plot/draw ) is within a FOR ...An intriguing question...Well, intriguing for me anyway. As we all know, when calling a Machine Code function from BASIC, we use the USR (address) function. But for this to …
Yep, the USR function returns whatever is in BC ...Need som help with fuse code.Hi I'm working on a fuse port for the xbox. Nearly done actually, but I have a question. I would like to see the whole loading cycle (when using .tap…
... it just a cool nostalgic function?
Perhaps you could ...What childhood toy from the 80's are you?[url="http://www.quizilla.com/users/littlelilly/quizzes/What%20childhood%20toy%20from%20the%2080s%20are%20you%3F"]http://www.quizilla.com/users/littl…
... who is which toy, and plot a pie chart! Us Speak ...Finishing my Ragnar game...Hi all, Way back then, in my youth, I worked on a game for the Speccy called "Ragnar", which was a 3d isometric style mcoded game written from scrat…
... you start out with your function waiting for the next interupt ...EmuZWin 2.5.0.1Version 2.5 Release 1.0 (10-Jun-2004): a lot of changes and fixes in ??? Map Builder ??? GFX Editor ??? Loading & Saving ??? Sound & Video ?? Speed…
... more smooth drawing.
[+] New function (menu Tools) added: Enter Poke ...Beta Basic Manual 3 and 4?Hi all, The Beta Basic V3 manual is here in a pdf doc :- [url="ftp://ftp.worldofspectrum.org/pub/sinclair/utils-info/BetaBasicV3.0.pdf"]ftp://ftp.w…
... Beta Basic`s Get & Plot command for grabbing and putting ...Beta Basic Manual 3 and 4?Hi all, The Beta Basic V3 manual is here in a pdf doc :- [url="ftp://ftp.worldofspectrum.org/pub/sinclair/utils-info/BetaBasicV3.0.pdf"]ftp://ftp.w…
... `Get` was for keyscanning and `Plot` to be normal ...Beta Basic Manual 3 and 4?Hi all, The Beta Basic V3 manual is here in a pdf doc :- [url="ftp://ftp.worldofspectrum.org/pub/sinclair/utils-info/BetaBasicV3.0.pdf"]ftp://ftp.w…
... the roll, Scroll, Get, and Plot commands rather than udg`s ...what game would be a nice comic-book??Hi Im actually starting a comic. My puspose its to show to some editorials from here and france, but be sure I will show you all; and translate it, o…
... -terrorist squad called TFC. The plot was about stuff being leaked ...SMAX - My Spectrum Killer App that never quite materialisedThis is basically a copy of my post to CSS, for anyone that doesn't read the group:- One or two of you may, if you have particularly good memories, …
... for example would be a function in most other languages that ...ZX-Paintbrush for Windows platforms publishedDear ZX-Spectrum and emulator fans, I want to announce that a new program has been published for your pleasure. It's still under construction, but t…
... now programming the open file function for BMP/JPG/GIFs. They ... adjusted, after this the new function can open the file directly ...Game loop design?Having some thoughts on how to design the game loop and could do with some hints and tips from folks who have done it before! It's all about how to …
...
--back to screen drawing function
finished drawing
return ... from function -
exit IM2 - after where ... we called function
--now back to our ...What sort of new games would you like to see on the Speccy?With the amount of coders we have around, I'm surprised that we don't see more new Speccy games. _________________ [url="http://www.gamestyle.net"]h…
... do with the time travel plot...and I was so fucking ... NEVER be a time travel plot in the x-files, which ...Best games voting system -The "Best Games" right now shows Spectrum CP/M to be the "best game", when in fact it is not a game. Also isn't there something inherently wrong if…
... when I added the randomseek function...
As always, I ...An emulator(another on of my projects) Does anyone know how to write an emulator? The emulated computer is very simple (a MK14, infact -also by Sir Clive) and a…
Spectrums games vs. modern games; very interesting... I've read a number of replies (on Matt's tears thread) regarding spectrum and modern console games. I found it very interesting. I think the games …
... of buildings necessary to the plot, where you can only interact ...RGB values for Spectrum colorsDoes anybody know the true rgb color values for the spectrums 15 colors. I'll assume that black is 0,0,0 White is probably 255,255,255 But what are t…
... [/url] to fix the screenshot function.
The colours are ...Spectrums games vs. modern games; very interesting... I've read a number of replies (on Matt's tears thread) regarding spectrum and modern console games. I found it very interesting. I think the games …
... memory brain cells continue to function in thousands of ways, slowing ...Spectrums games vs. modern games; very interesting... I've read a number of replies (on Matt's tears thread) regarding spectrum and modern console games. I found it very interesting. I think the games …
... memory brain cells continue to function in thousands of ways, slowing ...What does SPIN have?I have been asking this question since somebody answered another I had made that RealSpectrum was a brilliant emulator. It is in fact. But... I see e…
It's Windows-native. I'm getting old, I can't remember which function keys to press on RealSpectrum any more. I need menus and icons. :)What does SPIN have?I have been asking this question since somebody answered another I had made that RealSpectrum was a brilliant emulator. It is in fact. But... I see e…
... /> 1 - There is no 'find' function, which is curious, as one ... think this is a trivial function to implement.
2 - All ...