1. Hello Guest! It's with a heavy heart that we must announce the removal of the Legacy GMC Archive. If you wish to save anything from it, now's the time! Please see this topic for more information.
    Dismiss Notice

"filename_change_ext()" only returns <null>

Discussion in 'Legacy GameMaker Community Tech Support' started by Karasu_Tomoe, Jan 24, 2018.

  1. Karasu_Tomoe

    Karasu_Tomoe Member

    Joined:
    Jan 23, 2018
    Posts:
    19
    I'm testing in the debug console, and no matter what kind of arguments I use, this function never returns anything but "<null>".

    Example:
    filename_change_ext("test.txt","") returns "<null>"
    filename_change_ext("test.txt",".jpg") returns "<null>"
    etc....

    Is this a bug with GM:S or something, or am I just not using it right? This function worked perfectly fine using it this way in GM8.x.
     
  2. Samuel Venable

    Samuel Venable Time Killer

    Joined:
    Sep 13, 2016
    Posts:
    1,299

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice