Jump to content

Mirus

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by Mirus

  1. thank you to everyone, i'll try to writing something today and i'll post the result ;D
  2. yes, i'll read the helpfile and i'll try on my own, i thought and i realized that: in the imputbox i write the code, the script read the code and see if it is registered in a cell of excel, if it is not it will write that on the last cell of the array on excel (array.resize dim +1) . if it is registered it return on another col of the array the description wrote in excel. after that i'll transfer eveything in a new excel file for adding stuff and print it. is that possible? im sure that the second part (when i put the array on excel) is possible. i dont want the code or somethjng like that, i'd want to know if it's possible and if you have any idea about that. Thank you.
  3. Hi, i'd like to create a script that create a sort of database. example: i have the code, the number of the product and a description. i want that after i write that, the first time, for one product it will be saved in a database. so, when i'll write the same code it will appear in the list or in the array the description too. (in another cell/column) the number of product is everytime different. please give me some idea, thank you.
  4. ; to add all data: For $i=0 To UBound($array)-1 For $j=0 To UBound($array,2)-1 $array[$i][$j] = inputbox("", "insert value of row=[" & $i+1 & "], col=[" & $j+1 & "]") Next next _ArrayDisplay($array) thank you it works, but i don't understand what means the 2 on "For $j=0 To UBound($array,2)-1" i know that it modify the dim of the array but why 2? can you explaine that ? i'm new to AutoIt and i remember ubound from vb but not well.
  5. Hi i'd like to know how to put in an array, by an imputbox, some data. #include <Array.au3> local $var1 $var1 =InputBox( "", "insert number of row") $var2 = 5 ; number of col Local $array[$var1] [5] For $I = 0 To $var1-1 step 1 $array[$I][$I] = inputbox("", "insert value of first row") next _ArrayDisplay($array) that's what i've done. what i want to do is put the first value on col1 row1 [0][0] then he ask me again the $value and i want to put that (it's a different number) on col2 row1 [0][1]. how can i do? thank you.
×
×
  • Create New...