📄 file-formats.txt
字号:
BASIC IDE File Format:
This document gives information about the layout of files generated by the BASIC IDE. Most of these are INI files.
******************************
BPJ (BASIC IDE Project) files:
* Project section:
This contains information about to the project (as, Name, compile commands, and the like).
ProjectName: Full path information to the project file.
CompileCommand-Long: Command used to compile the project. The full-fleged file and path name to the compiler. This command is executed when the project is compiled.
CompileFile-Long: File that will be ran though the compiler. This file is added to the Compile-Command when the %s is found.
CompileCommand-8.3: The compile command in 8.3 format. This is actually executed.
CompileFile-8.3: The file to be compiled in 8.3 format. Actually passed.
* Code View section:
This section contains information about the code view/code editor.
PageCount: The number of tabs open (at time of save) to hold BASIC files. Starts counting at 0.
BASICFile?: (The ? is any number between 0 and 255, 255 is the limit of how many BASIC files can be in a project). This includes full path information to one BASIC file that is in the project at time of save. There is one of these for _every_ file, starts counting at zero. For example, if there were two BASIC files in the project, the entries would look like this:
BASICFile0=<path to file 1>
BASICFile1=<path to file 2>
LastActiveTab: File that was last active at time of save. This tab it brought back up when the project is opened.
BASICFiles: Number of BASIC files in a project. Usually the same as PageCount.
* Form Designer
This section contains information about the form designer.
FormFile?: (The ? is any number between 0 and 255, 255 is the limit of how many forms can be in a project). This contains full path information. Counting starts at 0. There is _one entry per form_. For example, in a project with two forms, there would be:
FormFile0=<path to form 1 (0)>
FormFile1=<path to form 2 (1)>
FormFiles: The number of forms in a project. Starts counting at 0.
******************************
BASICIDE.INI file
This file contains information about how the BASIC IDE functions. It is usually located in the C:\Windows for 9x and ME, or in the users home directory (or what ever it is called).
* Options section
This section contains global options for the BASIC IDE.
CompileCommand: Command that will be run through the compiler. Full path in 32 bit format.
MenuStyle: Integer for menu style:
They are:
Normal: 0
Stripes: 1
XP: 2
Language: The written language that the UI appears in. For more information, see below in Languages.INI and *.lng.
* Form Designer
This section contains information about how the form designer looks and functions.
GrabHandleStyle: How the grab-handle looks on a component. This is in integer form. They integers are:
Delphi: 0
High Contrast: 1
3D: 2
******************************
Languages.INI
This file contains information on the languages (written, not programming) that a user has installed in the BASIC IDE. It is located in the same folder as the BASIC IDE (BASICIDE.EXE). The file is well commented, but here is a what all is a description of all the settings.
* Main section
This section contains information on language counts and labels.
LanguageCount: Number of languages installed. Starts counting at 1.
Language?: (Where ? is the number of a language installed). Starts counting at 1. Label for the language. Here's the format:
Language?=<language name>
Language?=<language name>
For example:
Language1=English
Language2=Espa駉l
* Language?
(Where ? is any number). This contains information for the spacific language as identified by the Main section and Language? entries in the Main section.
Filename: *.lng file which contains definition of the language ? (where ? is the unique number of the language). These language files are located in the Languages sub-directory of where the BASIC IDE is installed (BASICIDE.EXE).
Name: The name of the language in that section.
******************************
*.lng
These files are located in the Languages sub-directory of the locating the BASICIDE is installed (BASICIDE.EXE). They define new languages (written, not programming) for the BASIC IDE.
* Information section
This section contains information about the translation file.
TranslatedBy: Name of the person who translated it.
Email: The translators email address.
Date: Date the translation was made.
ForVersion: Which version of the BASIC IDE the translation was made for. A non-matching version number in the IDE will result in a warning.
* Menu Bar
This file contains captions for the menu bar.
Identifiers will be released with the BASIC IDE translations release notes. Use & for hot-keys (Alt+ combonations), e.g. &File. This would underline the F and you could press Alt+F to bring down the file menu. Please do not use the same hot-key more than once for menu items resideing on the same parent. For example, the following is _not good_:
| &File E&dit &Format | <== Both File and Format have the same hot-key
On the other hand, this is OK:
| &File Edit F&ormat |
|----------------- ------|
C&hange style
&Fly <== on a different level or parent, than the File menu.
* xxxxxx
No, this section isn't named xxxxxx, but this stands for the name of a menu. See the BASIC IDE translation release notes for section names. There is one per menu etc. The identifiers are used for the translated names. See the BASIC IDE translation release notes for names. Follow the same hot-key instructions as outlined for the Menu Bar section.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -