You are here: PSPad forum > English discussion forum > Re: Request : Code Explorer

Re: Request : Code Explorer

Goto Page: Previous1 2 3

#21 Re: Request : Code Explorer

Posted by: pythonui | Date: 2015-05-22 10:57 | IP: IP Logged

But in the QBasic we have 'LET' for declaration and assignment both!
You can see in sample code!

Options: Reply | Quote | Up ^


#22 Re: Request : Code Explorer

Posted by: pspad | Date: 2015-05-22 11:07 | IP: IP Logged

Read the documentation you sent link
Yes, in QBasic (as in each interpreted language) you can use variable without declaration.

See the example:
pastebin.com
What do you want to see in code explorer? List of 'A' variable several times?

Options: Reply | Quote | Up ^


#23 Re: Request : Code Explorer

Posted by: pythonui | Date: 2015-05-22 11:12 | IP: IP Logged

As in javascript variable name and then list of line numbers(where this variable is used)!

Something like this!

We can use first occurance of variable from top to bottom for list variable name!

Options: Reply | Quote | Up ^


#24 Re: Request : Code Explorer

Posted by: pspad | Date: 2015-05-22 11:29 | IP: IP Logged

I wrote you, JScript uses VAR as variable definition.

QBasic uses DIM as variable declaration. If you will use DIM, you will see your variables in Code explorer.

Variable occurrences in code explorer was fault and it's for nothing. In my opinion, I would remove it from parsers.

Options: Reply | Quote | Up ^


#25 Re: Request : Code Explorer

Posted by: pythonui | Date: 2015-05-22 11:32 | IP: IP Logged

Okay! Understand you!

Options: Reply | Quote | Up ^


#26 Re: Request : Code Explorer

Posted by: pythonui | Date: 2015-05-22 11:48 | IP: IP Logged

Great!

Where can I find code explorer for QBasic? smiling smiley smiling smiley

Options: Reply | Quote | Up ^


#27 Re: Request : Code Explorer

Posted by: pspad | Date: 2015-05-22 11:52 | IP: IP Logged

Wait for next build in developer forum

Options: Reply | Quote | Up ^


#28 Re: Request : Code Explorer

Posted by: pythonui | Date: 2015-05-22 11:53 | IP: IP Logged

Ohh! Okay

Waiting!!!!!

Options: Reply | Quote | Up ^


#29 Re: Request : Code Explorer

Posted by: pythonui | Date: 2015-06-10 09:23 | IP: IP Logged

Hello Jan,

Sorry to disturb again for this!

Quote:
Variable occurrences in code explorer was fault and it's for nothing. In my opinion, I would remove it from parsers.

I think this is a nice thing that we can have subroutines occurrences in code explorer with line numbers as we have in javascript(variables count)

Thanks

Options: Reply | Quote | Up ^


Goto Page: Previous1 2 3





Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR