Results 1 to 3 of 3

Thread: With...do...

  1. #1
    Join Date
    Jun 2006
    Posts
    1,492
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default With...do...

    Well, this is rather embarassing, but...

    I forgot how to do the "with...do..." statement. I know it's simple, but can someone quickly show me a piece of code with this? I'm sure I could decipher it.

  2. #2
    Join Date
    Mar 2007
    Posts
    3,042
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    SCAR Code:
    with Players[0] do
    begin
      Name := 'blah';
      Pass := 'blahblah';
    end;

    As far as I know that should be the syntax.
    :-)

  3. #3
    Join Date
    Jun 2006
    Posts
    1,492
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ok, I appreciate it!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •