Hey, im trying to make an elevator but when i make the expression (2) it says something like
"unknown char (@) found at line x char x"
it also happens with ;
This is the expression
Code:
N@Elevator
I@F1 L1 F2 L2 F3 L3 Es
O@LengthH Flor Ed D1 D1c D2 D2c D3 D3c
interval (20) Dest > LengthH -> LengthH += 0.02 * 100; LengthH > Dest -> LengthH -= 0.02 * 10
Flor1 = 432 Flor2 = 280 Flor3 = 148
F1 | L1 == 1 -> Dest = Flor1; If LengthH == Flor1 -> Flor = 1;
F2 | L2 == 1 -> Dest = Flor2; If LengthH == Flor2 -> Flor = 2;
F3 | L3 == 1 -> Dest = Flor3; If LengthH == Flor3 -> Flor = 3;
Ed = 1, Dest == LengthH -> Ed = 110;
Es == 1 -> Dest = LengthH +1;
LengthH & Dest = Flor1 -> D1 = 1; LengthH != Dest -> D1 = 0; D1 == 1 -> D1c = 0; D1 == 0 -> D1c = 1;
LengthH & Dest = Flor2 -> D2 = 1; LengthH != Dest -> D2 = 0; D2 == 1 -> D2c = 0; D2 == 0 -> D2c = 1;
LengthH & Dest = Flor3 -> D3 = 1; LengthH != Dest -> D3 = 0; D3 == 1 -> D3c = 0; D3 == 0 -> D3c = 1;
Please help mee i was trying to look for a solution in the forum but i didnt found anything
Sorry for my bad english
Bookmarks