Can you do group not checks? EX:
Code:!(A & B & C) -> D = 1;
Yepp, you can create any kind of conditions, so that is a perfectly valid example.Can you do group not checks? EX:
[/b]Code:!(A & B & C) -> D = 1;
CAUTION: Just note that if you do not assign a value to D before that it will never revert to 0 (variables are kept through each execution), like so:
Although that would be the same as (for 0/1):Code:D = 0 !(A & B & C) -> D = 1;
Code:D = !(A & B & C)
How dou you write the inverted sine (triganometry). is it like sin-1 or sin^-1 or what?
"If he's dead i'm taking his spleen..."
DON'T EAT THE CHEESECAKE!!!!
[quote]Wire igniter? I think it'll turn to hell...[/quote]
Inverse sine is called arcus sine and is defined as "asin" in the expression gate as is common.How dou you write the inverted sine (triganometry). is it like sin-1 or sin^-1 or what?[/b]
So asin(x)![]()
I think mod() may not be working, Google gives me: 87 mod 6 = 3. When I wire up output = mod(87,6) I get -1. BTW, the docs you wrote only has one input for mod, it should have two! BTW, was looking at your code and realized % can be used - and it works correctly.
mod(n,c) was broken earlier but has been fixed recently (a week ago or something), but forgot to fix the documentation obviously (thanks!), so if you used mod(n,c) and it didn't work (-1) then you just need to update.I think mod() may not be working, Google gives me: 87 mod 6 = 3. When I wire up output = mod(87,6) I get -1. BTW, the docs you wrote only has one input for mod, it should have two! BTW, was looking at your code and realized % can be used - and it works correctly.[/b]
The difference between % and mod is the negative range, % discards the sign, mod keeps it.
Syra -- quick question: can Lua evaluate itself, or more directly: could it be possible to program in EC with Lua? (I still understand the arguments: crashing servers, etc. but I don't know enough Lua to know if it's possible.)
Lua can evaluate itself, but it was removed from garrysmod because people used it highly irresponsibly... I already had plans for this as it improved the performance of more than 20x for the expression gate, but it is not possible in garrysmod.Syra -- quick question: can Lua evaluate itself, or more directly: could it be possible to program in EC with Lua? (I still understand the arguments: crashing servers, etc. but I don't know enough Lua to know if it's possible.)[/b]
Interesting. Maybe we need to touch base (or try) with Gary and see if it would be possible to add it back but have it only work with "signed devices". Anybody know what the best way to get Gary's attention?Lua can evaluate itself, but it was removed from garrysmod because people used it highly irresponsibly... I already had plans for this as it improved the performance of more than 20x for the expression gate, but it is not possible in garrysmod.[/b]
well if you just want attention post a thread about "i love you garry" and you will get his attention in one of 2 ways either he will.
1. listen to you.
or
2. chase you with his auto-banhammer
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Super Easy Wire Download
Bookmarks