Welcome, Guest
Username: Password: Remember me
General discussions, feature requests for CodeTyphon Project and discussions that don't fit in any of the other specific CodeTyphon forum categories.
  • Page:
  • 1

TOPIC:

v6.6 incminute 5 years 1 month ago #13162

  • William Pattillo
  • William Pattillo's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
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.

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

Last edit: by William Pattillo.

v6.6 incminute 5 years 1 month ago #13165

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4508
  • Thank you received: 1100
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.

v6.6 incminute 5 years 1 month ago #13167

  • William Pattillo
  • William Pattillo's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
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

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

Last edit: by William Pattillo. Reason: Still does not work after install 6.7

v6.6 incminute 5 years 1 month ago #13169

  • William Pattillo
  • William Pattillo's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
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.

v6.6 incminute 5 years 1 month ago #13170

  • Peter Heckert
  • Peter Heckert's Avatar
  • Visitor
  • Visitor
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?

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

Last edit: by Peter Heckert. Reason: Clarification
  • Page:
  • 1