for example works, but a line like this will return a syntax error: -print "".(localtime)[2]."\n"
Is there documentation on this notation and/or why this syntax is wrong?print (localtime)[2]."\n"
In reply to print list element from function syntax by bsdz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |