Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    Unrecognised type 1180137048

    Bug Reporting (FUZE 4 Nintendo Switch)
    1
    1
    115
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • sys64738
      sys64738 F last edited by

      Reposting in bugs as requested.

      While coding my synth program.
      I have it playing a patch(note) each step of the sequencer.
      Playnote(0,wave[step],note[step],volume[step],speed[step],pan[step])

      Working fine so I make the sequence blocks selectable. So it will only play on a selected block.

      If selectedblock[step] == true then
      Playnote(0,wave[step],note[step],volume[step],speed[step],pan[step])
      endif

      And it says error on line 48 (which is a blank line)
      In function sequencermain (No where near 48)
      Unrecognised type 1180137048

      Ok sure. So the only code I've changed is the if statement.

      So I comment out playnote

      If selectedblock[step] == true then
      //Playnote(0,wave[step],note[step],volume[step],speed[step],pan[step])
      endif

      And the error is gone.

      So next I commend out the if statement just to be sure

      //If selectedblock[step] == true then
      Playnote(0,wave[step],note[step],volume[step],speed[step],pan[step])
      //endif

      No error. So it's not the if statement and it's not the play note.

      So I try

      If selectedblock[step] == true then
      Playnote(0,2,440,1,1,1)
      endif

      And it works...

      So the error is the wave[step] BUT ONLY when it's in the if statement.

      Can someone smarter than me explain why type cannot be recognised only when in the if statement or this a bug in the compiler?

      If one of the devs want to look I've shared the code. It's called Piano synth
      Have commented in the block that's erroring. Touch some sequencer blocks then press down on dpad to play the sequencer and cause error

      1 Reply Last reply Reply Quote 1
      • First post
        Last post