11/25/2024 11:23:59 PM
|
|
slxdeveloper.com Community Forums |
|
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
|
|
|
| |
|
Re: Variables as arrays in 6.2
Posted: 01 May 06 11:18 PM
|
fiogf49gjkf0d Sure. SalesLogix just uses standard VBScript.
ie:
Dim A
A = Array(10,20,30) MsgBox A(2) '<-displays "30"
-or-
Dim Values(9) ' Declare an array with 10 elements.
-or-
Dim Values() ' Declare a dynamic array
etc. ReDimming is also allowed:
ReDim MyArray(10, 10, 10) '. . . ReDim Preserve MyArray(10, 10, 15)
If IsArray(MyArray) Then For i = LBound(MyArray) To UBound(MyArray) MsgBox MyArray(i) Next End If
Erase MyArray
etc, etc, etc...
As I mentioned before, it's all just standard VBScript (there's nothing that is SLX specific about it - SLX just adds a few stuff for extra SLX functionality).
You can download the official MS Scripting Help files (the VBScript docs all apply 100% to SLX scripts) from here: http://www.slxdeveloper.com/page.aspx?action=viewarticle&articleid=30 |
|
|
| |
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|