#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2009
    Posts
    25
    Rep Power
    0

    Simultaneous code execution


    Hi All
    Does anyone know how to to execute more than one line of code simultaneously? I need code to send some simultaneous commands to the LPT port but as far I know, Delphi will execute code line for line. I need to send eg 5 commands to five pins on the LPT port with one command code. It is like someone throwing 5 balls together instead of one by one.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jan 2006
    Location
    Carlsbad, CA
    Posts
    2,057
    Rep Power
    383
    DISCLAIMER: This is logic and experience talking - not knowledge.
    I can not imagine that what you are trying to do is required.
    It would make much more sense that there is a single API call that takes all five parameters.

IMN logo majestic logo threadwatch logo seochat tools logo