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

Can't pass identical variables as parameters to function in Rules #573

Open
stundenblume opened this issue Nov 6, 2024 · 4 comments
Open
Labels

Comments

@stundenblume
Copy link

Hi,
first: Thank you so much for this very useful software. I really enjoy your work!

Seems to be a small bug wich is easily bypassable.

Problem: This don't work: action(#foo, #foo); After saving the rule, the website loads a long time and will end with an "Error: Connection Lost". After reloading the website the rule is unchanged.
This works: action(#foo, #bar);

on System#Boot then
  #foo = 0;
  #bar = #foo;
  setTimer(1, 10);
end

on action($x, $y) then
 $z = $x + $y;
end

on timer=1 then
  action(#foo, #foo);
end

Testet on the small and big PCB.
Software Version: 3.8

Copy link

github-actions bot commented Dec 7, 2024

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@CurlyMoo
Copy link
Contributor

CurlyMoo commented Dec 7, 2024

Should be fixed in IgorYbema#144

@stundenblume
Copy link
Author

Thank you!
I will wait for the next release and try it.

@github-actions github-actions bot removed the Stale label Dec 8, 2024
Copy link

github-actions bot commented Jan 8, 2025

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants