vicsmurf Posted March 30, 2005 Posted March 30, 2005 (edited) Hi there, I'am new to Autoit and i must say i like it Now i have a question I'am used to work with Visual Basic and i use the Type statement alot. Now i want to use that in Autoit as well. Is there a statement like that in Autoit or how can i do it otherwise? Do i have to use an Array for that.. Example VB: Type EmployeeRecord ' Create user-defined type. ID As Integer ' Define elements of data type. Name As String * 20 Address As String * 30 Phone As Long HireDate As Date End Type How can i do the above in Autoit? Thnx in advance, VicSmurf Edited March 30, 2005 by vicsmurf
jpm Posted March 30, 2005 Posted March 30, 2005 Hi there,I'am new to Autoit and i must say i like it Now i have a question I'am used to work with Visual Basic and i use the Type statement alot. Now i want to use that in Autoit as well. Is there a statement like that in Autoit or how can i do it otherwise? Do i have to use an Array for that..Example VB:Type EmployeeRecord ' Create user-defined type. ID As Integer ' Define elements of data type. Name As String * 20 Address As String * 30 Phone As Long HireDate As DateEnd TypeHow can i do the above in Autoit? Thnx in advance,VicSmurf <{POST_SNAPBACK}>No type as in VB. Look at Language reference in the help file
vicsmurf Posted March 30, 2005 Author Posted March 30, 2005 No type as in VB. Look at Language reference in the help file <{POST_SNAPBACK}>There is no alternitive to Type? (I looked in the Language Reference in the help file). Then i have to look further
jpm Posted March 30, 2005 Posted March 30, 2005 There is no alternitive to Type? (I looked in the Language Reference in the help file). Then i have to look further <{POST_SNAPBACK}>You right, no real alternative. the function return values with a specific type and you can convert some types with specific functions. I was just pointing out the doc so you can understand the limit of the AutoIt3 language.
vicsmurf Posted March 30, 2005 Author Posted March 30, 2005 (edited) You right, no real alternative. the function return values with a specific type and you can convert some types with specific functions. I was just pointing out the doc so you can understand the limit of the AutoIt3 language.<{POST_SNAPBACK}>Ok thnx for you awnsers! I will look further into it Edited March 30, 2005 by vicsmurf
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now