Forum
× General discussions, feature requests for CodeTyphon Project and discussions that don't fit in any of the other specific CodeTyphon forum categories.

Question v6.6 incminute

  • William Pattillo
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 month 1 day ago - 1 month 1 day ago #13162 by William Pattillo
v6.6 incminute was created by William Pattillo
trying to use all inc datetime functions in dateutils and none of them work

time does not update even after processmessages.

don't want to do manual verify when inc rolls up or down as that throws errors

Win10 1811 fully updated.
Last edit: 1 month 1 day ago by William Pattillo.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 month 1 day ago #13165 by Sternas Stefanos
Replied by Sternas Stefanos on topic v6.6 incminute
Thanks Sir
Did you try CT 6.7 or LAB 6.8 ?

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • William Pattillo
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 month 1 day ago - 1 month 1 day ago #13167 by William Pattillo
Replied by William Pattillo on topic v6.6 incminute
the server is crawling on its knees, will be near 2 hrs to get v6.7
I have no choice as the current project is a extensive date/time code.

Just go 6.7 running

NO GO

nn:=5;
dt:=encodedatetime(2019,2,20,9,nn,0,0);
nn:= 0-nn; Incyear(dt,nn);

shows 2/20/2019
Last edit: 1 month 1 day ago by William Pattillo. Reason: Still does not work after install 6.7

Please Log in or Create an account to join the conversation.

  • William Pattillo
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 month 1 day ago #13169 by William Pattillo
Replied by William Pattillo on topic v6.6 incminute
I show in the "control panel" host libraries d3dxof.dll and d3d8.dll not found.

I got a screen capture of a simple frame and 1 button with output that should have incremented month by 2.



thanks

Please Log in or Create an account to join the conversation.

  • Peter Heckert
  • Peter Heckert's Avatar
  • Away
  • Junior Boarder
  • Junior Boarder
More
1 month 18 hours ago - 3 weeks 5 days ago #13170 by Peter Heckert
Replied by Peter Heckert on topic v6.6 incminute
There is a bug in your codesnippet.

Instead of

Incyear(dt,nn);

write

dt := Incyear(dt,nn);

Then it works.
I wonder why pascal does not give a hint about the unused function result.
Also I learned, it is not possible to set breakpoints or step into dateutils.inc or other systemunits.
(It is possible to set breakpoints, but these are not hit. Even an "int 3" is not hit, because the code is not recompiled after modification)
These systemunits are precompiled, without debug symbols, so far I found.
Errors of this kind are tracked down in minutes, if it were possible to debug them or/and if the compiler would report them.
Is this possible?
Last edit: 3 weeks 5 days ago by Peter Heckert. Reason: Clarification

Please Log in or Create an account to join the conversation.