This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.
Old posts that have not been replied to for several years.
-
l
loze
Post
by loze »
How do i check if $minute ends with 0??
set minute [clock format [clock seconds] -format "%m"]
-
stdragon
- Owner
- Posts: 959
- Joined: Sun Sep 23, 2001 8:00 pm
-
Contact:
Post
by stdragon »
2 ways:
if {![expr $minute % 10]} { ... }
if {[string match "*0" $minute} { ... }
-
l
loze
Post
by loze »
thanks for help