Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2006
    Posts
    132
    Provided Answers: 1

    Unanswered: Square Brackets -when/when not

    Just a quick question on Style:
    Since I go back to a time when spaces, and even underscores, were not permitted in variable names, I never use them.
    I know that square brackets around a name will allow those. However, just as a personal style I've usually used [] around names of objects and variables.
    I've never had a problem, but are there any situations when square brackets should NOT be used?
    PGT

  2. #2
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    629
    Provided Answers: 33
    No, brackets insure a valid field. I never put spaces in fields either just to avoid the brackets.

Posting Permissions

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