Results 1 to 2 of 2

Thread: An Array Constant

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2001
    Posts
    23

    Question An Array Constant

    Is there a way to make a global constant array? I've tried a couple options, like:

    const thearray() = ("a", "b", "c")
    const thearray = array("a", "b", "c")

    But cannot seem to figure out a solution. Anyone know of a way?


    Thanks.

  2. #2
    The Array() function would be your best bet, but it won't make it constant (the compiler will yell at you).

Posting Permissions

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



Click Here to Expand Forum to Full Width