Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question Reactive Script #894

Open
fazerlab opened this issue Dec 15, 2023 · 2 comments
Open

Question Reactive Script #894

fazerlab opened this issue Dec 15, 2023 · 2 comments

Comments

@fazerlab
Copy link

fazerlab commented Dec 15, 2023

I´m trying Reactive Script and have questions:

I started with a basic script:

file = io.open("testwrite.txt","w")
myText = "Hello"
file:write(myText)
file:close()

image

Raise Error:

image

This script was tested with Lua 54 and work fine.

Another question: Is possible install Lua modules? for example LuaSocket https://github.com/lunarmodules/luasocket

My setup:

Win10
PlotJuggler-Windows-3.6.0

Thank you

@simonsag96
Copy link
Contributor

image

Here are the lua libraries loaded for the reactive function editor.
I assume your script isn't working bc the io library is not explicitly loaded.

Adding the library could be done there, but I imagine that especially file io would be pretty slow for doing on cursor movement.

@fazerlab
Copy link
Author

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants