View Full Version : Piced Logic Engine
Dave Byron
20 Sep 10, 12:55 PM
By mistake I made a Template that included Logic Code, I then added the Template to a Piced Project that had the logic engine running.
Now the trouble starts, it added the Template Code to the existing code (now 2 copies of the same thing) with same names.
And I can not Stop the engine (code grey), or delete them as engine running.
Only way I found to get back control was to Disable the modules that I thought were the originals then I could stop the engine.
Not very nice
dave
Dave Byron
20 Sep 10, 01:05 PM
Found that the compiler will except code after the "if" line and before the "Begin".
Although it maybe correct syntax, caused me trouble finding it as most other compilers would not allow it, be nice if it warned me
if (GetLightingLevel("XDaybedStatus") < 50%) then
Delay("0:00:08");
begin
SetLightingLevel("XDaybed", 50%, "7s");
end;
end;
dave
Darren
06 Oct 10, 10:28 AM
By mistake I made a Template that included Logic Code, I then added the Template to a Piced Project that had the logic engine running.
Now the trouble starts, it added the Template Code to the existing code (now 2 copies of the same thing) with same names.
And I can not Stop the engine (code grey), or delete them as engine running.
Only way I found to get back control was to Disable the modules that I thought were the originals then I could stop the engine.
Issue number 20439
Darren
06 Oct 10, 10:32 AM
Found that the compiler will except code after the "if" line and before the "Begin".
Although it maybe correct syntax, caused me trouble finding it as most other compilers would not allow it, be nice if it warned me
if (GetLightingLevel("XDaybedStatus") < 50%) then
Delay("0:00:08");
begin
SetLightingLevel("XDaybed", 50%, "7s");
end;
end;
As you say, this is actually valid Pascal code, but a warning would be nice.
Issue 20440.
vBulletin® v3.7.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.