Welcome to Dream.In.Code
Getting VB Help is Easy!

Join 131,543 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 2,235 people online right now. Registration is fast and FREE... Join Now!




Please Help In Qbasic!

 
Reply to this topicStart new topic

Please Help In Qbasic!, HELP ME!!!!!

dudewnc89[S-D]
post 16 Jan, 2005 - 07:14 AM
Post #1


New D.I.C Head

*
Joined: 16 Jan, 2005
Posts: 4

I am making a program with the mouse enabled....and i'm stuck huh.gif !!!!! please help!!!!

here is what i have so far!!!

xlength = 12
ylength = 9

FOR x = 1 TO xlength
FOR y = 1 TO ylength
READ z
PSET (x, y), z
NEXT
NEXT

DATA 00,00,00,00,00,00,00,00,00,00,00,00
DATA 00,00,00,00,00,00,00,00,00,00,00,00
DATA 00,00,00,00,00,00,00,00,00,00,00,00
DATA 00,00,00,00,00,00,00,00,00,00,00,00
DATA 00,00,00,00,00,00,00,00,00,00,00,00
DATA 00,00,00,00,00,00,00,00,00,00,00,00
DATA 00,00,00,00,00,00,00,00,00,00,00,00
DATA 00,00,00,00,00,00,00,00,00,00,00,00
DATA 00,00,00,00,00,00,00,00,00,00,00,00

DIM target(x, y)
GET (x, 0)-(y, 0), target

PLEASE TELL ME WHAT I AM DOING WRONG AND HOW TO "HELP" ME FIX IT!!!!! THANK YOU!!!!!!!!!!!!!!! biggrin.gif
User is offlineProfile CardPM

Go to the top of the page


skyhawk133
post 16 Jan, 2005 - 09:49 AM
Post #2


Head DIC Head

Group Icon
Joined: 17 Mar, 2001
Posts: 14,829



Thanked 45 times

Dream Kudos: 1650

Expert In: Web Development

My Contributions


Can you tell us exactly what you're trying to accomplish? Or just trying to get the mouse to work... ?
User is offlineProfile CardPM

Go to the top of the page

dudewnc89[S-D]
post 16 Jan, 2005 - 04:41 PM
Post #3


New D.I.C Head

*
Joined: 16 Jan, 2005
Posts: 4

yeah i'm trying to move the stored bit map in the data code. sry i didn't add the actual code in the data. it's just a few lines anyway.

but the problem is the data won't move to the spot i want it to crazy.gif !!!

so please help. if you need more info for this code please just post again and ask!
User is offlineProfile CardPM

Go to the top of the page

born2c0de
post 26 Jan, 2005 - 11:05 AM
Post #4


printf("I'm a %XR",195936478);

Group Icon
Joined: 26 Nov, 2004
Posts: 3,895



Thanked 34 times

Dream Kudos: 2800

Expert In: 80x86 Assembly, C/C++, VB6, VB.NET, C#, J2SE, Win32 API, Reversing

My Contributions


READ...DATA Statements were originally written for GW-BASIC and QuickBASIC...However it can still be used in VB...but they dont work like they used to in QB and GWBASIC.

I suggest reading the values from an array....
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 11/20/08 01:56AM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month