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

  1. ErezSh

    Virus

    Well, it depends on the person. People who knows nothing of programming and computers, will get more scared of graphical drawings, like a worm, and a message: "You have a virus!" People who knows normal, will not fall for the first, but might believe some normal text. Maybe a message...
  2. ErezSh

    large array size

    Well folks, it is pretty simple. The integer in QB is made of 2 bytes. The file is read byte-by-byte. So if u read two bytes, you proceed 2 bytes, and not one. Cheers Erez Sh.
  3. ErezSh

    large array size

    Oh. Old version. Qb 1.0 probably doesn't support it. U should upgrade to at least QB 4.0 (4.5 recommended). Go to: http://www.qbasicnews.com/features/compilers.html Using peek and poke can be useful sometimes, but in your case it can cause harm. Unless knowing exactly where to write in memory...
  4. ErezSh

    large array size

    Basically, it is limited to 32767 elements, per dimension. When I said qbasic support 100000 elements, i ment like this: DIM a(25000,4) as string*1 I works for any size, except for when it's out of memory. But that's something else. Cheers Erez Sh.
  5. ErezSh

    large array size

    U can dim an array of 100000 elements! Cheers Erez Sh.
  6. ErezSh

    What language support assembly!

    VB does not support assembly. (Visual)C/C++ does. Delphi does too. BTW Check this site: http://zedlands2.myip.org/logic.htm It's on a programming language that uses assembly. Cheers Erez Sh.
  7. ErezSh

    Assembly and C

    Hi all go to: http://www16.brinkster.com/logicpl/ It's about a new programming language that uses assembly... Cheers Erez Sh.
  8. ErezSh

    A new programming language

    goto - http://www16.brinkster.com/logicpl/ Cheers Erez Sh.
  9. ErezSh

    large array size

    I'm talking about using the GET statement. I don't think it will load 4 btes to each array element. I will probably load 1 byte to each. besides, DIM a(100000) as string*1 works for me Why shouldn't it work 4 u? Cheers Erez Sh.
  10. ErezSh

    large array size

    It is a waste to use an integer or a double to contain single bytes. use : DIM a(size) AS STRING * 1 But why load an entire file to memory??? Cheers Erez Sh.
  11. ErezSh

    large array size

    U need to dynamically dim the array. On command-line, there is a switch for it. For after compile, put a '$DYNAMIC before the DIM. Cheers Erez Sh.
  12. ErezSh

    INT What is it?

    INT will always return the lowest integer value. exmaple: INT(10.9)=10 , INT(-10.9)=-11 FIX will always return the integer part. example: FIX(10.9)=10 , FIX(-10.9)=-10 CINT will round up the number to the closest integer value. example: CINT(10.9)=11 , CINT(-10.4)=-10 Cheers Erez Sh.
  13. ErezSh

    call absolute(???????) does not work in qb7.1

    Hi. I had this problem too long time ago. It's true, u should use QBX /L qbx.lib or an other librar (i don't remember). Oh, also use the $include as above. Cheers Erez Sh.

Part and Inventory Search

Back
Top