# Using the Code Editor to Edit Non-Widget Source
Updated: 7/28/2021, 11:15:35 PM
Created: 7/28/2021, 11:15:35 PM
Last Updated By: Kevin Munoz
Read Time: 1 minute(s)
The dashboard code editor can be used to edit widget subroutines and other PickBASIC programs on your system.
# Note #1
Your dashboard user must have the administrative rights to use the code editor
To open the code editor, click the code editor icon from the title bar of any widget on any dashboard. This opens the code for that particular widget.
To edit other programs or create new programs with the code editor:
Click the Load icon from the code editor. The Open Item dialog box displays
Do one of the following:
- To open an existing program, type the account name and file name where the code is stored and the item ID of the code. Click Open.
- To create a new program, enter the account name and file name where you want to store the code and provide an item ID for the code. Click Open. If the item already exists, the code will be displayed in the code editor. If the item doesn’t exist, an empty code editor window opens.
Create new code or modify existing code as appropriate, then click Save.
Click the Compile icon to compile your code.
Close the code editor.
# Note #2
As installed, the code editor is configured to use the
BASICcommand to compile, and the
CATALOGcommand is subsequently invoked by the code editor for the MVDB.SUBS file only. If you want the code editor to compile and catalog your code, configure the code editor to use the
COMPILE-CATALOGcommand (see Running in D3 Flashed Mode for more information). This will result in MVDB.SUBS subroutines to be cataloged twice, which has no negative effect.