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 strongm 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: *

  • Users: PZ
  • Order by date
  1. PZ

    "TYPE" problems

    This problem is really killing me: what I need is a record that can contain arrays, something like this.. TYPE var1 as integer var2 as whatever var3 as array(1 to n) END TYPE Question is how do I declare var3?? Is it possible to have arrays in records with qb? Please help...
  2. PZ

    need help on variables, please

    simple, in the declaration of the sub/function insert your variables as parameters: yoursub (yourvar,yourvar2,etc..) or you might declare a var with DIM SHARED in the main module so that you can use it even in your subs/functions This is a game. Who is the toy? .:: PZ ::.
  3. PZ

    compiling

    The most common errors of qb that causes the program not to compile are: 1)maybe your program uses mouse routines. Try running qb.exe again with the /l option 2)not enough memory. Maybe some lines you typed are too long or some arrays are too big. Try running again with the /ah option 3)too many...
  4. PZ

    *.x files

    Anyone know where I can find more *.x files or object files for DarkBASIC? Thanx in advance! <p> Alex<br><a href=mailto:pizzapz@libero.it>pizzapz@libero.it</a><br><a href= > </a><br>*** Q(uick)BASIC RULEZ! :D***
  5. PZ

    how do I reboot the pc?

    In VB is there a way to reboot the pc with a code line or a statment? Thanx in advance! <p> Alex<br><a href=mailto:pizzapz@libero.it>pizzapz@libero.it</a><br><a href= > </a><br>*** Q(uick)BASIC RULEZ! :D***
  6. PZ

    IPX network in qbasic

    Hi! Forgive my ignorance, but I need to know everything possible on using IPX Network connections with q(uick)basic. Thanx in advance!
  7. PZ

    Incorporating other languages with Qbasic

    It's quite simple, really: the most classic incorporation in qbasic that you can find is ASM. The reason is very obvious: speed! To incorporate ASM with Qbasic you need first of all to know ASM and a ASM comiler. You might have noticed that every time you compile a BAS file, with the new EXE...
  8. PZ

    Easier way to build playing cards graphics?

    Lupine, if ya use BSAVE/BLOAD on bmp files and then use your BSAVEed files in a program, you have to remember 2 things: 1-You have to save the palette used for diplaying the BMPs 'cuz you need it to for your main program (otherwise you get weird colors and figures...) 2-Or, you can display BMP...
  9. PZ

    Easier way to build playing cards graphics?

    Ever tried the BSAVE/BLOAD command? BSAVE and BLOAD are two commands in the QBasic environment to allow you to save graphics created using your method explained above in a file. The file can then be loaded instantaneously from a program, eliminating many of the delays. Both of these commands...
  10. PZ

    point rotation

    I think I didn't explain myself fully, sorry. I'll try again:<br>this is my sub:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;zoom = 200<br> depth = 40<br> x2! = (x3d! * COS(rotZ!)) - (y3d! * SIN(rotZ!))<br> y2! = (x3d! * SIN(rotZ!)) + (y3d! * COS(rotZ!))<br> x3! = (x2! * COS(rotY!)) -...
  11. PZ

    point rotation

    Is there a way to rotate a point around a given axis in a 3d space? Example: point=P(3,4,5) and the axis is a line from (2,7,6) to (2,8,12). I can't find a way to make point P rotate around that axis! Please help me!<br><br>Thanx in advance! <p> Alex<br><a...
  12. PZ

    Tearing the E=mc2 theory with the STICK fonc.

    Qbasic doesn't have, like every other computer program, the concept of infinity, for this reason his counting range is limited. When that range is passed, QB just restarts from the smallest integer possibile (that's because of the binary conversion eg. MAX=01111111 min=10000000 at...
  13. PZ

    2 keys at once

    You need a good key-handler.<br>You can't press 2 key at once and detect them with INKEY$ (or if you can, it's real hell...). I suggest you use interrupts.<br><br>Alt255, I know I'm annoying with this, but I still suggest the Future Library to TheDutchBalrog...anyway there are a lot of good...
  14. PZ

    Low Level library for graphic Routines

    Workin on it<br><br>:D <p> Alex<br><a href=mailto:pizzapz@libero.it>pizzapz@libero.it</a><br><a href= > </a><br>*** Q(uick)BASIC RULEZ! :D***
  15. PZ

    Low Level library for graphic Routines

    Go to <A HREF="http://www.qb45.com" TARGET="_new">www.qb45.com</A> and download the Future Library. It's a complete graphics/SVGA library in ASM (VERY fast).<br><br>Hope I helped :D <p> Alex<br><a href=mailto:pizzapz@libero.it>pizzapz@libero.it</a><br><a href= > </a><br>*** Q(uick)BASIC RULEZ! :D***
  16. PZ

    User defined types and passing between subs.

    Try this out:<br><br>before your program starts declare your variable like this:<br><br>DIM SHARED player()<br><br>and you can use player.cash, player.hp, player.etc it in any sub/function without the COMMON SHARED statement.<br><br>Hope I helped :D <p> Alex<br><a...
  17. PZ

    clockwise check

    I need a &quot;something&quot; (sub or function, whatever!) that checks if 3 cartesian points of a triangle in a 2D space are clockwise or counter-clockwise.<br><br>Thanx :D <p> Alex<br><a href=mailto:pizzapz@libero.it>pizzapz@libero.it</a><br><a href= > </a><br>*** Q(uick)BASIC RULEZ! :D***
  18. PZ

    3D help

    I'm working on a 3D game engine (something like Zelda 64...)and I need a REALLY fast texture-mapper for polygons (I'm sick of flat-color surfaces! :( )<br><br>tell me about it at <A HREF="mailto:pizzapz@libero.it">pizzapz@libero.it</A><br><br>Thanx :D

Part and Inventory Search

Back
Top