1. Hey! Guest! The 36th GMC Jam will take place between February 27th, 12:00 UTC - March 2nd, 12:00 UTC. Why not join in! Click here to find out more!
    Dismiss Notice
  2. NOTICE: We will be applying a Xenforo update on Tuesday 25th of February. This means that from approximately 10:00 to 14:00 BST the forums will be offline (or possibly longer). Sorry for the inconvenience! Official Announcement here.

"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,311

Share This Page