You must be logged in to do that.

ListFilePattern

ListFilePattern
string ListFilePattern(string file_pattern)

Documentation

Searches for a specified file pattern and returns a list. This list is in string form, where every file is seperated by a | character. There is one extra | at the end of the string. Returns a null string "" on failure to find any files.

This does not appear to be able to search pakfiles and dwells in verge's platform-specific code.

Example Usage

// Find every .png file in this directory!
Log(ListFilePattern("*.png"));
Talkback

There are no talkbacks on this documentation page yet. Post the first?

Post a new comment?

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.