Jump to content

array


Recommended Posts

i want to make an array with words, is this valid ->

part1[] = { "first", "second", "third" }

thx

<{POST_SNAPBACK}>

I am going to be working on it this weekend for this format. I want to get the following to work.

Dim $Part1[] = { "first", "2nd", "third", 4 }

Check out the beta after the weekend.

David Nuttall
Nuttall Computer Consulting

An Aquarius born during the Age of Aquarius

AutoIt allows me to re-invent the wheel so much faster.

I'm off to write a wizard, a wonderful wizard of odd...

Link to comment
Share on other sites

I am going to be working on it this weekend for this format. I want to get the following to work.

CODEDim $Part1[]= { "first", "2nd", "third", 4 }

Check out the beta after the weekend.

Oooh, i"m excited. Any chance of dynamic/empty arrays?
AutoIt3 online docs Use it... Know it... Live it...MSDN libraryglobal Help and SupportWindows: Just another pane in the glass.
Link to comment
Share on other sites

Submitted to JP, but may need some bug fixing before release. What is intended:

Dim $array[8] = [3, 1, 4, 1, 5, 9]  ; Populates the first 6 elements of an 8-element array
Dim $twoD[3][4] = [[3, 1, 5], ["Word 1", "Word 2", "Word 3", "Word 4"]]

David Nuttall
Nuttall Computer Consulting

An Aquarius born during the Age of Aquarius

AutoIt allows me to re-invent the wheel so much faster.

I'm off to write a wizard, a wonderful wizard of odd...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...