![]() Adjusting the $tick by 8 will stop you getting ms = 000 with ctime not clicked over.I will post revised code here a bit later for people to look at. So the first tick after ctime clicks over will be on average 8ms pas the second. $ticks appear to increment in 15-16ms steps. I don't currently use spaces after commas, but I will start doing this. I did find a gotcha with missing brackets, so my code now has brackets everywhere. I already follow most of these because I value readability. Again, makes your code quite a bit easier to read Don't use pipes(|) to separate commands unless forced instead use a new line.It doesn't affect the code in any way but does make the code alot clearer. If you are passing parameters into an identifier, use a space after the comma to separate the parameters. ![]() There's some wonkiness with condition resolution that the brackets fix. If ($mid(%timestampfmt,$calc(%pos + 2),3) isnum) 's around code-blocks for if-then-else statements, while statements, events, and alias declarations. timer.ms.timestampfmt.fix -imo 0 15 ms.timestampfmt.fix ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |