News:

;) This forum is the property of Proton software developers

Main Menu

Problem Using Long Variable

Started by GDeSantis, Jan 13, 2025, 09:31 PM

Previous topic - Next topic

GDeSantis

After troubleshooting a program that uses a Long variable, the following was noted:

   - Variable sDATA was declared as a Long Variable; but does not show up in the Code Explorer window.
   - When the variable is used,  it does not automatically change to match its declaration
   - Positron file  "Database.mcd" was examined and includes the definition for KEY ("Long") and KEY ("Pin")

For reference, I am running Positron 4.0.5.1 – 1.1.2.3

RGV250

Hi,
I wonder if it is because of this.
QuoteNote.
Because of the fragmented, and low amount of, RAM on the older 12-bit core and standard 14-
bit core devices, and also because they are no longer current devices, the Long variable type
is only supported with enhanced 14-bit core devices and 18F devices.
Although I tried it on an 18F25K20 and it didn't show either???

Bob

top204

#2
The IDE installed with the compilers is a third party program that is no longer developed.

I added the 24-bit Long variables to the compiler after development of the IDE stopped, so it does not recognise them in the code explorer.

However, John's and Norm's IDEs are excellent, and the plugin created by Atomix for the microsoft Visual Studio Code IDE is excellent to use, and they all support the compiler features, and continue to be developed when required.