| Welcome to LawsonTalk. We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. After registration, please check your e-mail within 24 hours for an message from us, read it, and reply to it. Join our community! If you're already a member please log in to your account to access all of our features: |
| Arrays in ProcessFlow; Creating an Array in ProcessFlow | |
|---|---|
| Topic Started: May 6 2009, 10:02 AM (179 Views) | |
| ajmohrf | May 6 2009, 10:02 AM Post #1 |
|
ProcessFlow Administrator
![]() ![]() ![]() ![]()
|
Can you define and use an array in ProcessFlow? An example I wrote (below) returned "array" is not defined. Am I writing this wrong, or does ProcessFlow not allow you to define and use array's with Javascript? var MSG_ARRAY = new array(10); MSG_ARRAY[0] = 'January'; MSG_ARRAY[1] = 'February'; MSG_ARRAY[2] = 'March'; MSG_ARRAY[3] = 'April'; MSG_ARRAY[4] = 'May'; MSG_ARRAY[5] = 'June'; MSG_ARRAY[6] = 'July'; MSG_ARRAY[7] = 'August'; MSG_ARRAY[8] = 'September'; MSG_ARRAY[9] = 'October'; Edited by ajmohrf, May 6 2009, 10:03 AM.
|
![]() |
|
| MannieJ | May 7 2009, 06:39 AM Post #2 |
|
Advanced Member
![]() ![]() ![]() ![]() ![]()
|
In Javascript I usually do something like this: var MyArray = new array(a1,a2,a3 .....a12) a1='January' ... a12 = 'December' then reference the array by position [0] to [12] |
![]() |
|
| « Previous Topic · BCI, Processflow and Addins · Next Topic » |





![]](http://209.85.48.22/static/1/pip_r.png)



10:19 PM Jul 31