Qbasicnews.com
May 26, 2020, 06:19:16 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: pset wont work  (Read 2791 times)
wrath
New Member

Posts: 17



« on: August 16, 2003, 10:24:17 PM »

:evil: ARRRCGHH pset will not work is my qbasic out of date or somthin it is realy stuffing my rpgs
 :evil:
Logged

evil: tell me if this hurts :evil:
Agamemnus
x/ \z
*****
Posts: 3491



« Reply #1 on: August 16, 2003, 10:30:29 PM »

Be more specific.
Logged

Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
wrath
New Member

Posts: 17



« Reply #2 on: August 16, 2003, 10:38:52 PM »

:evil: all it does is say illegal function call and wont let me use it :evil:
Logged

evil: tell me if this hurts :evil:
xhantt
Member
*
Posts: 90



« Reply #3 on: August 16, 2003, 11:11:00 PM »

Do you set a graphics mode available for your video card?
Logged
whitetiger0990
__/--\__
*****
Posts: 2964



WWW
« Reply #4 on: August 16, 2003, 11:11:04 PM »

screen mode?
Logged


[size=10]Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.[/size]
Mech1031
Na_th_an
*****
Posts: 1536



WWW
« Reply #5 on: August 16, 2003, 11:13:29 PM »

lets see some code here...
Logged

the mind is a beautiful thing, use it and make the world a more beautiful place.
wrath
New Member

Posts: 17



« Reply #6 on: August 16, 2003, 11:14:37 PM »

:evil: im a newb to qbasic could you tell me how to do that :evil:
Logged

evil: tell me if this hurts :evil:
Ninkazu
Been there, done that
*****
Posts: 1169



WWW
« Reply #7 on: August 16, 2003, 11:16:56 PM »

SCREEN 13
Logged

am an asshole. Get used to it.
whitetiger0990
__/--\__
*****
Posts: 2964



WWW
« Reply #8 on: August 16, 2003, 11:17:42 PM »

http://venosoft.com/tutorials.html
Logged


[size=10]Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.[/size]
wrath
New Member

Posts: 17



« Reply #9 on: August 16, 2003, 11:29:01 PM »

:evil: is that screen mode i knew the code but not the name neway it worked  :bounce: thx guys :evil:
Logged

evil: tell me if this hurts :evil:
whitetiger0990
__/--\__
*****
Posts: 2964



WWW
« Reply #10 on: August 16, 2003, 11:29:39 PM »

your welcome.
Logged


[size=10]Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.[/size]
ak00ma
Ancient Guru
****
Posts: 669



« Reply #11 on: August 17, 2003, 03:18:05 AM »

SCREEN 13 initializes the most used screen mode in QB.

There are 320 Pixel from (0 to 319) in the horicontal, 200 Pixel (from 0 to 199) in the vertical and 256 (from 0 to 255) colors to use.

So, here follows an example:

Code:

SCREEN 13

For x = 0 TO 319  
For y = 0 TO 199
 PSET (x, y), INT(RND * 256)
 'Draws a pixel with a randomly built color to the coordinates x,y
NEXT y
NEXT X


If you don't know what a FOR-loop is, go here: http://www.qbasicnews.com/tutorials.php?action=view&id=1

And if you have any other questions about SCREEN 13 or PSET, just have a look at this: http://www.qbasicnews.com/tutorials.php?action=view&id=2

Hope I could help ya
Logged

B 4 EVER
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!