suggestions for help file

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
CodeLobster

suggestions for help file

Post 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

admin
Site Admin
Posts: 66360
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: suggestions for help file

Post 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.

CodeLobster

Re: suggestions for help file

Post 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.

Post Reply