Hello
Guest
it is
May 28, 2025, 04:52:03 PM
Guest
Login
Register
Menu
Home
Help
Search
Login
Register
YouTube
Machsupport Forum
/
Mach Discussion
/
VB and the development of wizards
/
Using Arrays
« previous
next »
Print
Pages:
1
Go Down
Author
Topic: Using Arrays (Read 7886 times)
0 Members and 1 Guest are viewing this topic.
davidimurray
129
Using Arrays
«
on:
June 02, 2006, 10: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
3,860
Re: Using Arrays
«
Reply #1 on:
June 02, 2006, 10:43:47 AM »
You can't have a global Array
But you can use the 1999 Vars in Mach3
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
www.newfangledsolutions.com
www.machsupport.com
Print
Pages:
1
Go Up
« previous
next »