- Managing the errors
- Equivalence
fSize (Function) In french: fTaille Syntax Versions 15 and later New in version 15Remarks The function fSize generates an error in the following cases: - the specified file does not exist,
- the name of the specified file is invalid.
Remark: fSize does not operate on the hidden files.
This page is also available for…
|
|
|
| |
| | https://youtu.be/HyN7Hq54yIw
https://windevdesenvolvimento.blogspot.com/2019/06/dicas-2171-windev-webdev-mobile-arquivo.html
// BTN_TAMANHO_ARQUIVO
n_tamanho_arquivo is int=fSize(EDT_ARQUIVO) EDT_RESPOSTA=LengthToString(n_tamanho_arquivo,sizeB)+CR EDT_RESPOSTA+=LengthToString(n_tamanho_arquivo,sizeGB)+CR EDT_RESPOSTA+=LengthToString(n_tamanho_arquivo,sizeKB)+CR EDT_RESPOSTA+=LengthToString(n_tamanho_arquivo,sizeMB)+CR EDT_RESPOSTA+=LengthToString(n_tamanho_arquivo,sizeTB)+CR
|
|
|
|
| |
| |
| |
| |
| |
| |
| | |
|