Re: AW: test

AJ Romyn <[email protected]> Mon, 29 Oct 2007 13:43:13 -0700 (PDT)
Newsgroups gmane.comp.windows.autoit.user
Message-ID <[email protected]>
Basically I am creating a script which will add and populate a database of test customers.
basically I will use a user name first time through, then the next time through 
add a number to the customer name.


ex: customer
ex: customer1
ex: customer2
and so on .

for some reason the number part will not add or inc.


Stefan Lubitz <[email protected]> wrote:                               could you explain this a little bit more clearly....
 some details would be helpfull
  
 Some Examples:
 For me, this is working:
 $var = 0
 for $i = 1 to 20
  $var = $var +1
  MsgBox(0,"",$var)
 Next
  
 or dou you mean:
 $var = 0
 $name = "name"
 for $i = 1 to 20
  $var = $var +1
  $name_new = $name & $var
  MsgBox(0,"",$name_new)
 Next
  
 regards,
 stefan
 
 _____  
 
 Von: [email protected] [mailto:[email protected]] Im
 Auftrag von AJ Romyn
 Gesendet: Montag, 29. Oktober 2007 19:58
 An: [email protected]
 Betreff: Re: [AutoIt] test
 
 another issue !
 not sure how to get the number to increment ,
 it does not seem to be working.
 I should get 
 Name 0 (first time through)
 Name 1 (second time and so on so on )
 just not incre.
 
 ;add var.....
 $adname = 0 
 $adlast = 0
 
 ;concate names
 $f_newname = ($first_name & " " & $adname )
 $l_newlast = ($last_name &" " & $adlast)
 
 ;================================================
 ;start here
 do
 
 if $Loop_cnt < 2 Then 
 $first_name = $f_newname
 $last_name = $l_newlast
 $address1 = $address2
 $city = $city2
 $zip = $zip2
 EndIf
 
 $Loop_cnt = $Loop_cnt + 1
 $adname = $adname + 1 
 $adlast = $adlast + 1
 
 ;==========================
 Jeremy Landes <jlandes@landeserve. <mailto:jlandes%40landeserve.com> com>
 wrote: You'd want to do this:
 
 $sFirstName = "John"
 $sLastName = "Smith"
 $sFullName = $sFirstName & " " & $sLastName
 
 Hope this helps.
 
 Sincerely yours,
 Jeremy Landes
 jlandes@landeserve. <mailto:jlandes%40landeserve.com> com
 
 On Mon, October 29, 2007 12:42 pm, Nahuel José wrote:
 > $last_name = $last_name & $alastname ??
 >
 >
 >
 >
 > ----- Original Message -----
 > From: "AJ Romyn" <theezcoder@yahoo. <mailto:theezcoder%40yahoo.com> com>
 > To: <AutoItList@yahoogro <mailto:AutoItList%40yahoogroups.com> ups.com>
 > Sent: Monday, October 29, 2007 1:39 PM
 > Subject: RE: [AutoIt] test
 >
 >
 >> ?
 >> is there a way to concatinate to variables together.
 >>
 >> ex:
 >> $first_name = $first_name
 >> $last_name = $last_name + $alastname
 >> $address1 = $address2
 >> $city = $city2
 >> $zip = $zip2
 >>
 >> "HOGAN, RICHARD E." <rhogan@oswego. <mailto:rhogan%40oswego.org> org>
 wrote:
 > It's not dead yet...
 >>
 >> -----Original Message-----
 >> From: AutoItList@yahoogro <mailto:AutoItList%40yahoogroups.com> ups.com
 >> [mailto:AutoItList@yahoogro <mailto:AutoItList%40yahoogroups.com>
 ups.com] On Behalf Of larrydalooza
 >> Sent: Wednesday, October 17, 2007 2:43 PM
 >> To: AutoItList@yahoogro <mailto:AutoItList%40yahoogroups.com> ups.com
 >> Subject: [AutoIt] test
 >>
 >>
 >>
 >> test
 >>
 >>
 >>
 >>
 >>
 >> [Non-text portions of this message have been removed]
 >>
 >>
 >>
 >>
 >>
 >> __________________________________________________
 >> Do You Yahoo!?
 >> Tired of spam? Yahoo! Mail has the best spam protection around
 >> http://mail. <http://mail.yahoo.com> yahoo.com
 >>
 >> [Non-text portions of this message have been removed]
 >>
 >>
 >>
 >>
 >> Yahoo! Groups Links
 >>
 >>
 >>
 >
 >
 
 __________________________________________________
 Do You Yahoo!?
 Tired of spam? Yahoo! Mail has the best spam protection around 
 http://mail. <http://mail.yahoo.com> yahoo.com 
 
 [Non-text portions of this message have been removed]
 
 [Non-text portions of this message have been removed]
 
 
     
                               

 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]