Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Corbinealious

    problem with OUT OF MEMORY

    'the program starts with sub declarations such as... DECLARE SUB drawbots () DECLARE SUB wallcheck (playerdircheck, playerwallcheck) DECLARE SUB drawmap () 'then goes straight to... DIM movx(8), movy(8), botalive(8), botdir(8), movebackqueue(8), movequeue(8) COMMON SHARED movx(), movy()...
  2. Corbinealious

    problem with OUT OF MEMORY

    ok so this is odd, i seem to be getting less memory the more pieces i put it in. so far ive only added one bas file with 2 subs (and the program functions, ive shared all the proper variables), and if i dim bob(2000) i run out of memory. while in my all together version i can dim bob(2000) just...
  3. Corbinealious

    problem with OUT OF MEMORY

    just kidding for that last part about using 2 dimensional common arrays! apparently you need to dim the array before the common statement. even for 1 dimensional arrays... fracturing my program now! fracturing?... is that a good word?...
  4. Corbinealious

    problem with OUT OF MEMORY

    ok... a few things. i read through the whole help file, and it all sounded exciting, but either im not really understanding it and im using it wrong, or i just dont understand my real problem at all. so with defint a-z. as mentioned it causes at least one of my arrays to supposedly be not...
  5. Corbinealious

    problem with OUT OF MEMORY

    oh! and im quite content continuing in qb4.5. the only problem ive ever had with it is this stupid memory thing. id make this in c++ or java but i dont know how to work with graphics in those haha... but im taking classes!
  6. Corbinealious

    problem with OUT OF MEMORY

    so i tried DEFINT A-Z and for some reason it tells me one of my arrays isnt defined. i define it at the beggining as DIM SHARED temphand(12) nothing special. i tried initializing it again and it flags it as a duplicate definition, so it should be registering it, i have no idea why defint a-z...
  7. Corbinealious

    problem with OUT OF MEMORY

    ah... yeah with vbs7.1 i guess i dont have expanded memory available. should i try the extended memory route? i dont really know what the difference is. oh and by the way im running XP as well. the bob() array was just whatever the default value is, which i believe is int? i didnt set a...
  8. Corbinealious

    problem with OUT OF MEMORY

    hey! ok so as mentioned before i found i was allocating more memory than i needed, and by cutting down ive been able to continue but i know it wont last forever.. anyway ive been continuing in qb4.5. and i tried the ? fre(-3) command there and it works. my program has about 26k left. for kicks i...
  9. Corbinealious

    problem with OUT OF MEMORY

    alright, so i run qbx and then just essentially write a program that only contains one line saying "? fre(-3)" and execute it? if so, it turns the "?" to "PRINT", and tells me "Feature unavailable". if there's somewhere else im supposed to run it from i dunno where it is. (well, i hit f6 and ran...
  10. Corbinealious

    problem with OUT OF MEMORY

    aha! wow i cant believe i did that... well so now it runs the program, but i still run out of memory at the same point. i even tried doing 20000 instead of 500. do i have to tell my program to allocate the variables im dim-ing into the expanded memory? and if so, how?
  11. Corbinealious

    problem with OUT OF MEMORY

    ok so i can run vbs7.1. but apparently by default it allocates less memory than qb4.5. ive been able to continue my game because i realized i was reserving way more memory than needed (every graphic i reserved 280 when i could get by with 256, etc...) so i lowered some numbers. but i realize...
  12. Corbinealious

    problem with OUT OF MEMORY

    sounds promising, i went to http://vetusware.com/download/Microsoft%20BASIC%20Professional%20Development%20System%207.1/?id=225 and downloaded it, but it contains no installation instructions i found some other instructions, but they seem incomplete... heres a screenshot of where i ended up...
  13. Corbinealious

    problem with OUT OF MEMORY

    for those of you who want to jump straight into the question, basically... i'm looking for a programming environment thats essentially just like qbasic but can compile using more memory. for the longer explanation... ive been writing a game in Qbasic (4.5) and ive reached a point where i cant...

Part and Inventory Search

Back
Top