DRAKON.SU
https://forum.drakon.su/

Error in Drakon Lua
https://forum.drakon.su/viewtopic.php?f=145&t=7105
Страница 1 из 1

Автор:  Luke Alan [ Пятница, 26 Ноябрь, 2021 20:46 ]
Заголовок сообщения:  Error in Drakon Lua

I found a bug/error when compiling a diagram to code in DrakonLUA. It is my understanding that the equivalent diagrams compiles correctly in DrakonJS.

Изображение

The if icon branch does not compile, but no errors shown in Drakon Editor

Код:
-- Autogenerated with DRAKON Editor 1.31

function test()
    local table
    -- item 8
    table = {
    "apple",
    "banana",
    "carrot"
    }
    for _, v in ipairs(table) do
        -- item 12
        print(v)
    end
end


Вложения:
Комментарий к файлу: example
luabugtest.drn [48 КБ]
Скачиваний: 144

Страница 1 из 1 Часовой пояс: UTC + 3 часа
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/