FreeBasic cross reference list

General FreeBASIC programming questions.
Flyzone
Posts: 37
Joined: Nov 17, 2017 17:39

FreeBasic cross reference list

Postby Flyzone » May 12, 2021 11:50

Anyone know of a simple-to-use cross reference listing for FreeBasic? That is, a program that will provide a list of variable names and where, by line number, they are used in a program.
D.J.Peters
Posts: 8297
Joined: May 28, 2005 3:28
Contact:

Re: FreeBasic cross reference list

Postby D.J.Peters » May 12, 2021 13:55

Your IDE should have this simple feature !
(like geany, FBIDE ...)

Joshy
Flyzone
Posts: 37
Joined: Nov 17, 2017 17:39

Re: FreeBasic cross reference list

Postby Flyzone » May 12, 2021 23:15

D.J.Peters wrote:Your IDE should have this simple feature !
(like geany, FBIDE ...)

Joshy


Nope.
badidea
Posts: 2333
Joined: May 24, 2007 22:10
Location: The Netherlands

Re: FreeBasic cross reference list

Postby badidea » May 12, 2021 23:42

I think that Joshy means this:
Image
Variable 'my' used at line 10, 29 and 30.
Flyzone
Posts: 37
Joined: Nov 17, 2017 17:39

Re: FreeBasic cross reference list

Postby Flyzone » May 16, 2021 21:25

Thanks. I've been using FBIDE and it does not have this feature. But this is not a cross reference and it doesn't look like Geany has it either.

Update: But it does. Right click on variable, Show Usage, list statements containing the variable.
bfuller
Posts: 351
Joined: Jun 02, 2007 12:35
Location: Sydney, Australia

Re: FreeBasic cross reference list

Postby bfuller » May 17, 2021 6:48

I think that Joshy means this:

Is that FBEDIT or FBide?

Thanks. I've been using FBIDE and it does not have this feature. But this is not a cross reference and it doesn't look like Geany has it either.
Update: But it does. Right click on variable, Show Usage, list statements containing the variable.


Note my version of FBIde is 0.4.6 and does not have the feature--or at least I can't find it!

As a side question, what is the "go to" IDE for Freebasic these days?
badidea
Posts: 2333
Joined: May 24, 2007 22:10
Location: The Netherlands

Re: FreeBasic cross reference list

Postby badidea » May 17, 2021 12:01

bfuller wrote:As a side question, what is the "go to" IDE for Freebasic these days?
My "to go" IDE for any language on windows or linux is Geany.
But have a look here: FreeBASIC IDEs/Editors

Return to “General”

Who is online

Users browsing this forum: fxm and 6 guests