Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleNow change the matching code so we go through all the of the list

Let’s modify the code to go through the entire list of prefixes:

Code Block
languagelua
for i = 1, #IdList do
   if APPmatchPrefix(IdList[i], JustFileName) then 
      return true
   end
end
return false -- we didn't match anything

And this is what you should see:

Image RemovedImage Added

Concepts used:

...