Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Multiple line comment error

dave1707dave1707 Mod
in Bugs Posts: 7,605

@Simeon Not sure if this has been reported before, but I though I'd show it. If you load this code you'll get a red error line on the 345 error. For every 2 blank lines you add between the --[[ and --]] at the beginning of the code, the red error line will move up a line.

--[[
--]]

function setup()
end

function draw()
    background(0)
    345                     -- this line is an error
end

Comments

  • SimeonSimeon Admin Mod
    Posts: 4,958

    Woah thank you for this. Will see what's going on

  • SimeonSimeon Admin Mod
    edited July 13 Posts: 4,958

    @dave1707 looks like a problem with the Lua parser we're using. Probably won't be able to fix in next release but thank you for making me aware

    Edit: never mind the above, managed to fix it!

Sign In or Register to comment.