User Tag List

Results 1 to 8 of 8

Thread: Changing globals by index crash

  1. #1
    No Products Registered

    Join Date
    Jul 2006
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Changing globals by index crash

    I was trying to figure out a crash in my project, and it seems to happen when changing a global by index, when the index is zero.

    I've uploaded a sample application to show the problem.

    http://bledwards.googlepages.com/globalscrash.rar

  2. #2
    No Products Registered

    Join Date
    Jul 2006
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Changing globals by index crash

    I was trying to figure out a crash in my project, and it seems to happen when changing a global by index, when the index is zero.

    I've uploaded a sample application to show the problem.

    http://bledwards.googlepages.com/globalscrash.rar

  3. #3
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: Changing globals by index crash

    Ah sorry. The crash should be fixed in build 242. (but the index of the first global value is 1, you should not use 0)

    Yves.

  4. #4
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: Changing globals by index crash

    Ah sorry. The crash should be fixed in build 242. (but the index of the first global value is 1, you should not use 0)

    Yves.

  5. #5
    No Products Registered

    Join Date
    Jul 2006
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Changing globals by index crash

    Ok, cool. I found that the first one was 1, not 0.. although in the application properties it lists the first value as 0. Also when making the expression it says that the result should be between 0 and 26 (or however many globals you have).

  6. #6
    No Products Registered

    Join Date
    Jul 2006
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Changing globals by index crash

    Ok, cool. I found that the first one was 1, not 0.. although in the application properties it lists the first value as 0. Also when making the expression it says that the result should be between 0 and 26 (or however many globals you have).

  7. #7
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: Changing globals by index crash

    Hmm... we'll change this text.

    I've verified the routine in MMF 1.5, it was working due to an horrible bug... In fact setting the global value 0 via an expression in MMF 1.5 was writing the value into the global value 16. Hopefully the fix in MMF 2 won't cause compatibility issues with 1.5 applications that are using this function with 0-based indexes.

    Yves.

  8. #8
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: Changing globals by index crash

    Hmm... we'll change this text.

    I've verified the routine in MMF 1.5, it was working due to an horrible bug... In fact setting the global value 0 via an expression in MMF 1.5 was writing the value into the global value 16. Hopefully the fix in MMF 2 won't cause compatibility issues with 1.5 applications that are using this function with 0-based indexes.

    Yves.

Similar Threads

  1. Beta 14: String Parser 2 + Frame Changing = Crash
    By UrbanMonk in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 24th February 2011, 05:07 PM
  2. Beta 3: globals still not initialising?
    By Simon in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 22nd October 2010, 07:22 AM
  3. Listing used globals - wish for future
    By Tiny in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 30th August 2006, 09:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •