Weekly Qbasic and Qb64 Lesson Topics
April 16, 2024, 05:08:46 am
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Want to see a specific Tutorial? ASK!
 
  Home Help Search Arcade Links Staff List Login Register  

Opens Notepad,but need to know more

Pages: [1] 2
  Print  
Author Topic: Opens Notepad,but need to know more  (Read 1938 times)
GarrisonRicketson
Admin
Administrator
Hero Member
*****
Posts: 583



WWW
« on: April 27, 2011, 09:19:40 pm »

OK , now I am ready to ask some questions on this,...Since the enire code is already posted I don't see the need,...
Code:
 
  LOCATE 25, 4
  PRINT " press + hold escape to exit"
  GOSUB Pickphrase
LOOP UNTIL _KEYDOWN(27)
SYSTEM
END 
Is how it is now,Now see below----
 
Code:
       LOCATE 24, 4
    PRINT " press + hold escape to exit"
    LOCATE 25, 4
    PRINT "Use page down to move to next page,pageup to move back to the previous"
    GOSUB Pickphrase
LOOP UNTIL _KEYDOWN(27)
SYSTEM
END     
I Guess, the main loop would end sort of like this, the idea being after ,the text has been read, the user can "pagedown" to get the next image, and text,...That seems realtively simple to me, as it would be repeating the same code, but just loading a new image, with appropriate text,....From what I understand, I would need to free the first image, and the text file,..So maybe I can figure it out, but If you can give me a example, that would be nice, the last item is:
Code:
PRINT STRING$(Length%, 32)   
If 32 is changed, say to 64 will that increase the length of line it can display ? I guess I can just try that and see, I ask because I was trying with some different text, but the lines were longer, also lots of commas, so after I read your comment on the commas, I took them out, but it still errored, finally, by shortening all the lines, I got it working,....
guess thats about it from Garry
and thanks,...
Report Spam   Logged


Pages: [1] 2
  Print  
 
Jump to:  

Powered by EzPortal
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum


Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy