![]() |
Who knows QBASIC?
Does anyone have any basic knowledge of QBASIC. I have this really dumb project due and right now I am absolutely clue-less as what to do.
I have to make something animate across the screen using basic FOR & NEXT style commands in Screen 9. The teacher wrote a really basic program of a car driving across the monitor and I can't seem to imitate it with something else. Does anyone have any old programs of something, or maybe help with some pointers or commands? |
what the **** is it?
|
READ s$
'CLS 'INPUT "Enter a string"; s$ CLS i = 1 lft = 40 - LEN(s$) / 2'34 tp = 12 ln = LEN(s$) '20 j = 1 FOR z = 1 TO 23 LOCATE z, lft: PRINT s$ NEXT DO FOR i = 1 TO LEN(s$) LOCATE tp, lft PRINT MID$(s$, i, ln); IF i + ln + 1 >= LEN(s$) THEN PRINT MID$(s$, 1, (i + ln) - ln - 1) FOR k = 1 TO 1500 IF UCASE$(INKEY$) = "Q" THEN END NEXT NEXT i LOOP DATA "-==--==--==--==--==--==--==--==--==-" |
whoa, qbasic is like high school....man im old.......
|
Quote:
Its considered a math class for me. I figured it out though. |
actually the most basic would prolly be BASIC :-P
|
All times are GMT -5. The time now is 04:42 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.