Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 01:49:58 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  VB and the development of wizards
| | |-+  Using Arrays
Pages: 1   Go Down
Print
Author Topic: Using Arrays  (Read 1140 times)
0 Members and 1 Guest are viewing this topic.
davidimurray
Active Member

Offline Offline

Posts: 118


View Profile
« on: June 02, 2006, 09:05:10 AM »

Hello

Has anyone got any experience of using arrays ?

I want to create a 2 dimensional array that stores desired spindle speed against actual speed as entered by the user.

The values are taken fom two dro's - spindle speed and a user one.
Anybody done soemthing like this before?

Also will the array be available globally so I can use other buttons in a wizard to edit the array?

Cheers

Dave
Logged
Brian Barker
Administrator
*
Offline Offline

Posts: 3,383



View Profile
« Reply #1 on: June 02, 2006, 09:43:47 AM »

You can't have a global Array Sad But you can use the 1999 Vars in Mach3 Wink To write to a var Call SetVar(100,1.234) this will set Var 100 to 1.234 and to get the Test = GetVar(100)  will set Test to what is in Var100

That is how I do global stuff in Mach3
Logged

Fixing problems one post at a time Wink

www.newfangledsolutions.com
www.machsupport.com
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!