Recent

Author Topic: "[SOLVED]" What is Lazarus equivalent of the Consts unit  (Read 1842 times)

hydrabyte

  • New member
  • *
  • Posts: 5
"[SOLVED]" What is Lazarus equivalent of the Consts unit
« on: January 26, 2020, 04:36:41 am »
I am trying to port an older delphi program to Lazarus but I cant find what the equivalent of the VCL.consts unit.
Can anyone please advise?

Thanks for the help
« Last Edit: February 02, 2020, 07:09:43 am by hydrabyte »

trev

  • Sr. Member
  • ****
  • Posts: 402
  • Former Delphi 7 and Delphi 10.2 User
Re: What is Lazarus equivalent of the Consts unit
« Reply #1 on: January 26, 2020, 04:57:24 am »
o Lazarus v2.1.0 r62452, FPC v3.3.1 r42644, macOS 10.14.6 (with sup update), Xcode 10.3
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.0 (Parallels VM)
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7934
Re: What is Lazarus equivalent of the Consts unit
« Reply #2 on: January 26, 2020, 02:23:33 pm »
"rtlconsts" unit. 

But that is more by function (as in the FPC rtl concentrates resourcestrings there). It might not be a drop in for every case.

hydrabyte

  • New member
  • *
  • Posts: 5
Re: What is Lazarus equivalent of the Consts unit
« Reply #3 on: February 01, 2020, 05:19:34 am »
How do I mark as Solved

lucamar

  • Hero Member
  • *****
  • Posts: 2409
Re: What is Lazarus equivalent of the Consts unit
« Reply #4 on: February 01, 2020, 02:31:39 pm »
How do I mark as Solved

Edit your first post and change the Subject to add "[SOLVED]" to the beginning.
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus 2.0.4/2.0.6  - FPC 3.0.4 on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.