The QBasic / QB64 Discussion Forum      Other Subforums, Links and Downloads
 
 Return to Index  

it looks like you're not passing a$ to anything

December 19 2007 at 10:05 PM
mennonite  (no login)


Response to i need help with my game for school ASAP

the sub won't be able to know the value of a$

either look up how to pass a$ to check, or switch from using sub to gosub, or make a$ shared.

 
 Respond to this message   
Response TitleAuthor and Date
I hate to say it (View Thread) on Dec 20
   i disagreemennonite on Dec 20
      You're right (URL*) on Dec 21
*It's shared, but he put the DIM line way down the code. (View Thread) on Dec 20
   *however, I think x1,x2,y1,y2 need to be shared on Dec 20
      *along with DEFINT A-Z, that allows horizontal movement. on Dec 20
      conclusions so far. on Dec 20
         I was wrong on Dec 20

Newbies usually go to www.qbasic.com and click on The QBasic Forum
Forum regulars have their own ways, which include The QBasic Community Forums