Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

what doesn't this select work

$
0
0
i have the following script which is run from another script but i am testing it stand alone.
so the value of $in1 is 0  therefore in the select statement if $logonto is 0 which it is, then
i should get the inputbox message.. I don't get that message
i should have even gotten the case else which i did not


$in1 = 0
if $cmdline[0] > 0 then
	  $in1 = $cmdline[1]
endif
$logonto = $in1
select
case  $logonto = "lon"
case  $logonto = "bos"
case  $logonto = "syn"
case  $logonto = "tok"
case  $logonto = 0
 $logonto = inputbox("","enter location")

case else
 $logonto = inputbox("","enter location")

endselect


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>