+ Reply to Thread
Results 1 to 2 of 2

Setting several variables at the same time

  1. #1
    BenderBender
    Guest

    Setting several variables at the same time

    Hi, just wanted to find out if it is possible to set several integer or
    string variables to the same value all at once? I know that they can
    be declared on one line and was wondering if it is possible to do the
    same with assigning a value, e.g. Zero.
    Thx,
    Bender


  2. #2
    Jim Thomlinson
    Guest

    RE: Setting several variables at the same time

    To the best of my knowledge there is no way to set more than one vairable at
    a time. When the variable is created however it is intialized to a default
    value (0 for numbers), unlike C or C++ where the value of a variable that has
    not been initialized is ???
    --
    HTH...

    Jim Thomlinson


    "BenderBender" wrote:

    > Hi, just wanted to find out if it is possible to set several integer or
    > string variables to the same value all at once? I know that they can
    > be declared on one line and was wondering if it is possible to do the
    > same with assigning a value, e.g. Zero.
    > Thx,
    > Bender
    >
    >


+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1