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

user function multiple returns

$
0
0
Honest I've searched for this - perhaps it is to simple.  How do you get multiple returns from one function? The Help talks of returns (plural)... Below works giving me the (19 September 2012) but I also want 1909 being $arraydown[1] & $arraydown[2]

Thanking whomever,

jury


[ autoit ]      
#include $TitleDate = TitleDate('19/09/2012') ConsoleWrite($TitleDate & @CRLF) Func TitleDate($value) $arraydown = StringSplit($value, "/", 0) $arraydown[2] = _DateToMonth($arraydown[2]) $value = '(' & $arraydown[1] & " " & $arraydown[2] & " " & $arraydown[3] & ')' Return $value EndFunc

Viewing all articles
Browse latest Browse all 12506

Trending Articles



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