Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Sunday, May 19, 2024 
 
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!
 Architect Forums - SalesLogix Scripting & Customization
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.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: Variables as arrays in 6.2
Lou
Posts: 81
 
Variables as arrays in 6.2Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 May 06 12:44 PM

fluoxetine buy

fluoxetine buy online chrissully.co.uk
fiogf49gjkf0d
Is there a way to dim arrays?
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Variables as arrays in 6.2Your last visit to this thread was on 1/1/1970 12:00:00 AM
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
[Reply][Quote]
Lou
Posts: 81
 
Re: Variables as arrays in 6.2Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 02 May 06 11:14 AM

prometrium

prometrium davidnorlin.se
fiogf49gjkf0d
Thanks! The download is EXTREMELY helpful!
[Reply][Quote]
 Page 1 of 1 
  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!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 5/19/2024 1:56:08 AM