Page 1 of 1

suggestions for help file

Posted: 22 Jun 2011 21:37
by CodeLobster
1 . add examples of empty chars in formatlist(, e)

suggestion i received from forum admin concerning invisible item (pilcrow?)
is not solved using it but i do see as reasonable to include examples of what exctly "empty" means.

2 . mention that correct syntax: echo format("00:5:3", "hh:mm:ss");// 00:05:03

as format("00:5:3", "00:00:00"); doesnt work despite what help suggests with

text format(1, "000");
//001
text format(1234.56, "#,0.00");
//1,234.56

Re: suggestions for help file

Posted: 23 Jun 2011 09:30
by admin
1. there is an example for e in the help
2. "suggests"? i don't think so. simply follow the rules, not the sugestions... :wink: there a lots of examples in the help for formatting dates, nowhere "00:00:00" is used.

Re: suggestions for help file

Posted: 23 Jun 2011 19:56
by CodeLobster
admin wrote:1. there is an example for e in the help
2. "suggests"? i don't think so. simply follow the rules, not the sugestions... :wink: there a lots of examples in the help for formatting dates, nowhere "00:00:00" is used.
sorry but i have to disagree.

1. help entry does not apply for the case you suggested in http://www.xyplorer.com/xyfc/viewtopic.php?f=3&t=6569. therefore suggestion didn't work.

2. formatdate is different from format and as far as i can tell format does what i need but theres no mention in help it supports "hh:nn:ss", despite theres a mention that specifies <date> as string. now i know its easy but i wonder about others being confused when referring to this without knowing the little tricks beforehand?

another little problem: "hh:mm:ss" is also supported, which is wrong.