Am 20.03.2013 07:09, schrieb Sarmed N.:
> The meaning of using asterisk "*" is what ever, or anything could be place instead asterisk. I learned that easily from C64 user manual.
> The question is can we know this easily from MSDN or windows help, without buying a heavy book, or asking experts like Stefan or Richard!
From the LB help file section of the FILEDIALOG command:
This parameter is used as a filter so that only files matching a
wildcard are listed. To view all file types, the templateString is " *.*
" To access multiple extensions in a filedialog, separate the desired
extensions with a semicolon character, like this example, which displays
files with extensions of both BAS and BAK files in the dialog.
filedialog "Open code file", "*.bas;*.bak", fileName$
Drive and folder information can be included in the template string to
force the filedialog to open in a designated location.
filedialog "Open", "c:\*.txt", fileName$
So I would suggest to read the help file more often and experiment by
changing what is provided.
LB 4.04 Pro ... http://www.libertybasic.com/assist.html
LB 4.04 ....... http://www.libertybasic.com/lb404setup.exe
LB Community Wiki .............. http://basic.wikispaces.com/
LB Programmer's Encyclopedia ... http://lbpe.wikispaces.com/
LB Bug Tracker ................. http://libertybasicbugs.wikispaces.com/
Books at http://www.lulu.com/
Alyce Watson ... APIs for Liberty BASIC
Carl Gundel .... Beginning Programming with Liberty BASIC
Windows 7 Home Premium 64-bit SP1
AMD Turion X2 RM-70 2GHz, 4GB RAM