Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. BitFiddler

    Level Maps

    @RedOktober You don't move the map, you change the start-of-reading point within the map. Something like this : '-- MAP(?,?) is the stored Map-data '-- Guess what MapWidth & MapHeight are :-) '-- Where do I draw my map on the screen ? BoxX=3:BoxY=2 '-- What's the width & height of the drawn...
  2. BitFiddler

    Call Absolute in QBasic 1.1 <-> writing assembly

    @Oak Yes, this (and other) methods can be used moderatily well, and I have used them in the past. But I would like to be able to use QBasic's own mechanism to retrieve the contents of the user-supplied arguments ... So, although I can let QBasic communicate with some Assembly-code, I regard...
  3. BitFiddler

    Call Absolute in QBasic 1.1 <-> writing assembly

    @agual You're right. I've downloaded "winer.zip" and the last chapter talked about some assembler. Alas, it talks about Assembler in QB, and my problem is not with creating an Assembly-program, nor with QB. My problem is with retrieving argument-related data in *QBasic 1.1*...
  4. BitFiddler

    QBasic 1.1 bombs-out

    @MiggyD First off, due to a pourly done snipping of mine, the command DEFINT A-Z became part of a remark-line :-( It should be present just above the "Call ViewMap" -line. And, as far as I can tell, Constants do not have a fixed type (integer,long,string, etc). A constant can hold...
  5. BitFiddler

    QBasic 1.1 bombs-out

    @agual >DECLARE FUNCTION PlaceFgBlock% (Gx%, Gy%, iBlock%) >and function is defined as: >FUNCTION PlaceFgBlock (Gx, Gy, iBlock) >END FUNCTION That's correct. The DEFINT A-Z (above the function itself) is suppressed in the saved file, because of the DEFINT A-Z in the main module, which becomes...
  6. BitFiddler

    QBasic 1.1 bombs-out

    @agual Could you show me which declarations have changed, and how ? I mean, I do not write my own declarations, I just let QBasic generate them as he likes. I've even removed them a number of times, just to be sure the "correct" definitions where (re) generated. Listening to you I...
  7. BitFiddler

    QBasic 1.1 bombs-out

    @MiggyD "DIM SHARED ViewRec" : this does not work. The "ViewRec" in this declaration will be(come) a simple variable of the default type(in my case, Integer). It will have nothing to do with de *structure-definition* of the same name. *Structure-definitions* are (AFAIK)...
  8. BitFiddler

    QBasic 1.1 bombs-out

    @MiggyD "Simply removing the declarations at the main module does not mean that the Sub/Func Modules are ALSO erased/deleted." I know ! The whole point here is that even when I do not change anything to *my code*, QBasic responds differently depending one th existence of those few...
  9. BitFiddler

    Call Absolute in QBasic 1.1 <-> writing assembly

    Hello all, Some time ago I tried to make sense of the "call absolute" statement in QBasic 1.1 , and was amazed that I could not find anything worthy on the 'net. What I tried to do was to find, for every argument used in the "call absolute" statement, in Assembly, what...
  10. BitFiddler

    Input into a program

    Are you sure you have to have the full contents of that data-file into (QB's) memory ? Maybe you can read your data-file line-by-line, and process it that way ? Handle=freefile open "yourfile.dat" for input as #Handle while not eof(Handle) line input #Handle,Line$ '-- here...
  11. BitFiddler

    QBasic 1.1 bombs-out

    quebasic (Programmer) Jul 18, 2002 > qb 4.5 works as an interpeter and then can be compiled So much for my memory and/or knowledge :-( :-) I just have un-zipped QB45 (yes, I had it stored somewhere), and saw you where right. Thank you for correcting me. Now let's explore some and see what...
  12. BitFiddler

    QBasic 1.1 bombs-out

    Hello quebasic, I'm sure you are right. Alas, QuickBasic 4.5 is non-comparable to QBasic 1.1. If I'm not mistaken, QB 4.5 is an compiler, while QBasic is an interpreter. And I like the Interpreter-behaviour of QBasic :-) I hoped one of the "old timers" in this forum would...
  13. BitFiddler

    QBasic 1.1 bombs-out

    To MiggyD : Thank you for you answer. But alas, the problem is not an Argument-count mis-match. As I allready said in my first post, the error(s) are generated at places fully un-related to the change/adition just made by me ... The Error(s)dis-appear when I remove the sub/function...

Part and Inventory Search

Back
Top