Recent

Author Topic: [Solved]Unused variable names not displaying in message box.  (Read 1575 times)

Robert.Thompson

  • Jr. Member
  • **
  • Posts: 56
  • "A very bad coder."
    • Google Voice for Canadians
[Solved]Unused variable names not displaying in message box.
« on: September 13, 2017, 05:27:55 pm »
Hello:

Using Lazarus 1.6.4  FPC 3.0.2 on LinuxMint 18.2

When I compile and run my program, the "unused variable names" do not appear in the "Messages" window. I looked at the Project options and I think that the correct boxes are "checked".

Does someone have a list of all things to be set to enable the listing of "unused variables" ?

Thanks,
« Last Edit: September 13, 2017, 06:54:12 pm by Robert.Thompson »
Lazarus:  1.8.4  2018-11-17
FPC:   3.0.4 x86_64-linux-gtk2
System:   Kernel: 4.15.0-39-generic x86_64 bits: 64 gcc: 7.3.0 Cinnamon 3.8.9 Linux Mint 19 Tara
              Phoenix v: 11JB.M044.20100622.hkk date: 06/22/2010
Intel Core i5 M 460 (-MT-MCP-) arch: Nehalem rev.5 cache: 3072 KB
NVIDIA GeForce 310M

Handoko

  • Hero Member
  • *****
  • Posts: 5131
  • My goal: build my own game engine using Lazarus
Re: Unused variable names not displaying in message box.
« Reply #1 on: September 13, 2017, 05:48:45 pm »

Robert.Thompson

  • Jr. Member
  • **
  • Posts: 56
  • "A very bad coder."
    • Google Voice for Canadians
Re: Unused variable names not displaying in message box.
« Reply #2 on: September 13, 2017, 06:53:50 pm »
Thank you Handoko, they were defined as "global variables".
Lazarus:  1.8.4  2018-11-17
FPC:   3.0.4 x86_64-linux-gtk2
System:   Kernel: 4.15.0-39-generic x86_64 bits: 64 gcc: 7.3.0 Cinnamon 3.8.9 Linux Mint 19 Tara
              Phoenix v: 11JB.M044.20100622.hkk date: 06/22/2010
Intel Core i5 M 460 (-MT-MCP-) arch: Nehalem rev.5 cache: 3072 KB
NVIDIA GeForce 310M

 

TinyPortal © 2005-2018