Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/03/2019 in File Comments

  1. You forget to check the value that is returned by your "GetLibraryTextBase" function. If the library was not found, function will return nil, which will be assigned to the variable "Base". Then some number is added to the variable, what leads to the error "attempt to perform arithmetic __add on nil and number" in this case. Typical user most likely won't understand what happened, so maybe it is better to handle this case appropriately.
    1 point
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.