QBasic Forum


QBasic Forum: QBasic Help, QuickBasic Help, QBasic Programming
[QBasic FAQ] [QB Links and Downloads] [Subforums and Chat Room] [Search]

Post New TopicView All Messages

Message TitleAuthor and Date
Identifying Virtual Machines in QBasic on Aug 26
 "identifying virtual machine" should be replaced with "identifying DosBox" causekool kamel on Aug 29
RotationBen on Aug 26
 * URL to a URL. Have you tried making a 2-D cube and spinning in your chair? :) on Aug 26
 2D rotation on Aug 26
 The secret is in the X/Y co-ordinates on Aug 26
 this is everyone's favorite, because it's so easyZip on Aug 26
 Rotations without trigonometry. on Aug 26
  * Except you still need trig functions to define the transformation vectors with angles on Aug 27
   oh is that so?wfbarnes on Aug 27
    Precision, and angles on Aug 27
     jesus guys, stop arguing lolZip on Aug 27
      I agree with Zip. Tim, Don't backpedal.wfbarnes on Aug 27
       *No asterisk but don't agree with Zip, he is a shit.roy on Aug 29
        If our newcomer had to choose, who do you think he would feel was out of line here? on Aug 29
         * Probably Tim...................No? on Aug 29
  Well I am a programmer...welll, sort of... and made this important correction...Pete on Aug 27
   cool tips, Petewfbarnes on Aug 27
    *Heh heh, Pete and I don't mind the lack of indentation at all on Aug 27
  I've worked out your program - excellent. on Aug 27
   Thanks Artelius for checking out the code.wfbarnes on Aug 27
    I think you misunderstood about the screen unit vectors. on Aug 28
     Ah, gotcha!wfbarnes on Aug 29
 * Thanks everyone, I got everything working like I wanted.Ben on Aug 27
#^^&\!|{& `(}$$ #@!~- $&`() Oops, binary encryption question... on Aug 24
 Any old encryption method will work, doesn't have to be ASCII format on Aug 24
  I was just messing with that... on Aug 24
   * Glad you figured it out cause link in post did not woik! on Aug 24
    Well, I got this far, at least... and about link inside... on Aug 24
     Encrypt/DecryptMarineDon on Aug 24
      Nice Screen shot! on Aug 24
       Sweet! on Aug 24
        * I'm trying to figure how he got the long filenames? on Aug 24
         * He used DIR > tempfile and parsed it on Aug 25
          That's how I find LFN's for my apps, too.Pete on Aug 25
           Thanks Pete on Aug 25
           "In XP..." Not in mine!Ralph on Aug 25
            *Sorry Ralph, Clippy caught an error in my code. Re-read the post now, it's corrected.Pete on Aug 25
             * Typo Pete = SHELL "DIR CMD /C" gives you LFN's. on Aug 25
              No typos that I can see. Both Ralph and I post a forward slash switch...Pete on Aug 25
               * Shouldn't CMD /C come first? on Aug 25
                *Thanks! I'm either getting senile or lexdyslic. OK, I'm going back and edit the post. on Aug 25
             * ALWAYS TEST your code before posting! on Aug 25
              I did, I did test my code 'befoe' posting Mr. Duck! on Aug 25
               * I knew what you meant anyhow QUACK. Poor Ralph........ on Aug 25
           I was just wondering...Ben on Aug 25
            *Long file names are easier to recognize. That is one reason to have them included. on Aug 25
            Suppose you had 2 identical short named files on Aug 25
             You can actually manually set the short name for a file in XPqbguy on Aug 25
             If all your files are "shorty" files... on Aug 25
           DIR /x works in xp and is documentedqbguy on Aug 25
            Never mind that... I just acquired pencilsharpener.com! on Aug 25
             A fix of the XPertQB.Bas Program on Aug 25
            * So how do you get LFNames in Win 95 and 98? on Aug 26
             True DOS gives both without work... on Aug 26
 Re: #^^&\!|{& `(}$$ #@!~- $&`() Oops, binary encryption question...Ben on Aug 24
  Looks interesting but not for DOC files... on Aug 24
   Add DIM i AS LONGqbguy on Aug 24
    * I'm more of a steak guy. Ever had tri-cera-tip?Fred Flintstone on Aug 24
 What about this ?Lisztfr on Aug 24
 SuperC works tooIain on Aug 27
Subroutine questionLisztfr on Aug 22
 *Can you explain the problem better? I'm not sure what you want, nor why... on Aug 22
 I assume you meant sub program, not subroutine... on Aug 22
  Oops...Lisztfr on Aug 22
   * Ok Gosub should do what i wantLisztfr on Aug 22
    Yes, you want GOSUB, also... on Aug 22
     GOSUB has features tooLisztfr on Aug 23
      exempleLisztfr on Aug 23
       Not a good idea, lisztfr... on Aug 23
        I hardly can avoid all GOTO and GOSUBLisztfr on Aug 23
         No need to "avoid" GOSUB or even GOTO... on Aug 23
          FRE(-2)Lisztfr on Aug 23
           *Right! The program worked fine for me in QB1.1 - I got an error after 45 Esc presses. on Aug 23
            Program construction...Lisztfr on Aug 24
             Can you show us the entire code? on Aug 24
              OK...Anonymous on Aug 24
               Go Modular on Aug 24
                explanation :Lisztfr on Aug 24
                 but later...Lisztfr on Aug 24
                 A question on Aug 25
                  Because the line wrapping routine PRINTs in a flow...Lisztfr on Aug 25
                   It's not so easy to put all that togetherLisztfr on Aug 25
   Suggest you learn to use subprocedures.Solitaire on Aug 22
    Solitaire, CALL?Ralph on Aug 22
     DEF FNBen on Aug 22
      I wouldn't say that Ben............... on Aug 22
      Summary of DEF FN, SUB, FUNCTIONqbguy on Aug 22
       * Addionally SUB and FUNCTION release the memory used when done! on Aug 22
        * So DEF FN's waste memory and are slower?Ben on Aug 22
         * No, DEF Fn is not slower as far as I know on Aug 22
      A lack of variable scope is greater cause for worry. on Aug 24
       spaghetti codeAnonymous on Aug 24
        No, you can't set a string as a parameter for a GOTOqbguy on Aug 24
         Inside a SUB or GOSUB one can't make a choice for return/ not returnLisztfr on Aug 24
          What do you mean by that? on Aug 24
           OkLisztfr on Aug 24
            How bout this? on Aug 24
             Nice ! imho the 2 nd solution is goodLisztfr on Aug 24
              I wouldn't know. I rarely ever have used GOTO ! on Aug 24
             Hi Clippy...Anonymous on Aug 25
              * I did not use NOT. ELSE takes care of that! on Aug 25
          Sure you can! Us a Gosub inside a sub and EXIT sub to leave it. on Aug 24
          Re: Inside a SUB or GOSUB one can't make a choice for return/ not returnBen on Aug 24
     Some people prefer CALL on Aug 22
      Thanks, Clippy. I now understand t...Ralph on Aug 22
       The nice stuff about SUBs and Functions on Aug 22
      Some people CALL me the Space Cowboy... on Aug 22
     CALL is used to quickly identify the location of a subprocedure call,Solitaire on Aug 23
      I completely agree with the use of CALL to track subs but about shared variables.Pete on Aug 23
       CALL and SUBs, GOSUB and subroutines...Ralph on Aug 23
        * Like I used to say I would NEVER get married :-( on Aug 23
        Bah, I use plenty of GOSUB routines... on Aug 23
         I agree that GOSUB's have their place... on Aug 23
          *Pete and Bob...I feel free again! Thanks!!!Ralph on Aug 23
           *Great! And sorry for the "Bah" response. I hope you didn't think it was a sheep chot! on Aug 23
            *Honestly, Pete, I tried to trum your pun, but, I had to give up! You're the master!Ralph on Aug 23
       True, SHARE does have its place in QB programming.Solitaire on Aug 23
Quick QuestionBen on Aug 21
 This quick question doesn't have a quick answer on Aug 21
  Re: This quick question doesn't have a quick answerBen on Aug 22
   Ok, so, more details... on Aug 22
    Thanks.Ben on Aug 22
     Correct. on Aug 23
took a break from the Tim Hartnell Project for this (URL) on Aug 21
 Nice idea, but I suggest you learn about arrays...Earthborn on Aug 21
 Give up on the Tim Hartnell Projectroy on Aug 22
  * :(bp on Aug 23
A note about various Forum Searches on Aug 20
QBasic QuestionBen on Aug 20
 These refer to RAM... on Aug 20
  My method is even easier than Bob's explanation... on Aug 21
   *You hire gardeners? In that case, how about giving me back my mower! on Aug 21
    Hey Bob. you know the difference between an American mower and a Canadian one? on Aug 21
     ps: I'd send you a book of California jokes, but since Arnold became the Governor... on Aug 21
      *My brain must be a "door hinge". Time stamp? Not sure what you refer to. on Aug 21
       * Next to the date, it would display the time the post was made. on Aug 21
        *That's the only one I was aware of, but the Graphics Forum already has that - doesn't it? on Aug 21
         *...or did you mean, without opening the post? on Aug 21
          Without opening a post. on Aug 21
           * I don't think we need that info. A simple post click tells you that. on Aug 21
           *Up to you -- either way is fine with me. on Aug 21
            * Okay, okay, okay, geeze, Canadians are sooooo pushy! :) on Aug 21
             *lol -- that should be "so pushy, eh?" on Aug 22
 My 2 cents (some more info) on Aug 21
  * This helps, thanks alot.Ben on Aug 21
Line wrappingLisztfr on Aug 19
 To check for end of file on Aug 19
 This took 10-minutes, so don't put too much faith in it... on Aug 19
 Word WrapSolitaire on Aug 20
  hm hmLisztfr on Aug 21
   I posted a scrolling example a year ago, URL on Aug 21
V'GER Lite Simple changes on Aug 17
Quickbasic, not qbasic... on Aug 17
 QuickBasic 4.5 was the latest version.Solitaire on Aug 17
  From what I can gather... on Aug 18
Calling qbguy, calling qbguy. Emergency, please stop by.... on Aug 17
 I was on vacationqbguy on Aug 17
  * No wonder I didn't miss him! on Aug 17
what do you guys think on Aug 17
 Been there, done that, and in QB.... on Aug 17
  I remember something like that (URLs)Beatlefreak on Aug 18
   Yes, we really do love to reinvent the wheel around here... on Aug 18
    It's comming along on Aug 18
 Call(URL)bp on Aug 17
Just to Start OffJoel on Aug 15
 Check out some of these tutorials, here: