Can't run main program if function defined above

Issue #27 resolved
Jayant Murthy created an issue

function calcx, i
i=10
return,i
end

for i=0,20 do print,i
end

test.pro attached. There is no output when I run the program
Windows 0.79.49

Comments (2)

  1. Lajos Foldy repo owner

    The bug is already fixed. I’ll create a new snapshot sometime around end of June.

    As a temporary workaround, you can add a name to the main procedure and call it by that name.

    Thank you for the report.

  2. Log in to comment