You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
; (Lines starting with ";" are treated as comments)
4
4
;
5
5
6
6
%type
7
-
Built-inCommand
7
+
Built-incommand
8
8
%ver
9
9
3.7
10
10
%note
11
-
ver3.7StandardCommand
11
+
ver3.7standard command
12
12
13
13
%date
14
14
2022/04/07
@@ -23,13 +23,13 @@ Cli
23
23
24
24
%index
25
25
bcopy
26
-
Copya File
26
+
Copyfile
27
27
%group
28
28
FileOperationCommands
29
29
%prm
30
30
"filename1","filename2"
31
-
"filename1":SourceFileName
32
-
"filename2":DestinationFileName
31
+
"filename1":Sourcefilename
32
+
"filename2":Destinationfilename
33
33
34
34
%inst
35
35
Copies the file "filename1" to a file named "filename2".
@@ -43,17 +43,17 @@ bsave
43
43
44
44
%index
45
45
chdir
46
-
ChangeDirectory
46
+
Changedirectory
47
47
%group
48
48
FileOperationCommands
49
49
%prm
50
50
"dirname"
51
-
"dirname":DestinationDirectoryName
51
+
"dirname":Destinationdirectory name
52
52
53
53
%inst
54
-
Moves to the directory with the name specified by "dirname".
55
-
If the specified directory does not exist,or the format is incorrect, error12 ("File not found or invalid name") will occur.
56
-
The current directory can be referenced with the system variable dir_cur.
54
+
Moves to the directory specified by "dirname".
55
+
If the specified directory does not exist or the format is incorrect, error12 ("File not found or invalid name") will occur.
56
+
The current directory can be referenced by the system variable dir_cur.
57
57
%href
58
58
dir_cur
59
59
%port+
@@ -63,44 +63,44 @@ Let
63
63
64
64
%index
65
65
delete
66
-
Deletea File
66
+
Deletefile
67
67
%group
68
68
FileOperationCommands
69
69
%prm
70
70
"filename"
71
-
"filename":FileNameto Delete
71
+
"filename":Filenameto delete
72
72
73
73
%inst
74
74
Deletes the file specified by "filename".
75
-
If the specified file does not exist,or the format is incorrect, error12 ("File not found or invalid name") will occur.
76
-
Be sure to check for the existence of the file using the exist command before executing the delete command.
75
+
If the specified file does not exist or the format is incorrect, error12 ("File not found or invalid name") will occur.
76
+
Be sure to check the existence of the file with the exist command before executing the delete command.
77
77
78
78
79
79
80
80
%index
81
81
dirlist
82
-
GetDirectoryList
82
+
Getdirectory list
83
83
%group
84
84
FileOperationCommands
85
85
%prm
86
86
p1,"filemask",p2
87
-
p1=Variable:String variable to store the directory list
87
+
p1=Variable:String variable to store the directory list
88
88
"filemask":File mask for the list
89
-
p2=0〜(0) :Directory acquisition mode
89
+
p2=0〜(0) :Directory acquisition mode
90
90
91
91
%inst
92
92
Creates a list of files in the current directory and assigns it to a variable.
93
-
"filemask" specifies the file mask to use for creating the list.
94
-
The file mask is a parameter specified in a wildcard format, such as "*.*".
95
-
For example, the file mask "*.as" creates a list ofall files with the as extension."*.*" will create a list ofall files in the current directory.
96
-
The directory list is assigned to the string variable specified by p1 as a string separated by line feeds (\n) for each file.Thisdata is in a format that can be handled by the memory notepad command.
93
+
"filemask" specifies the file mask for creating the list.
94
+
The file mask is a parameter specified in a wildcard format such as "*.*".
95
+
For example, the file mask "*.as" creates a list ofall files with the as extension.Tocreate a list ofall files in the current directory, use "*.*".
96
+
The directory list is assigned to the string variable specified by p1 as a string separated by line breaks (\n) for each file.Thisdata is in a format that can be handled by the memnote command.
97
97
^
98
-
When the dirlist command is executed, the system variable stat is assigned the number of files for which the list was created.
98
+
After the dirlist command is executed, the system variable stat is assigned the number of files for which a list was created.
99
99
If there are no files, the system variable stat is assigned 0.
100
-
By specifying the p2 mode, you can select the typeof file to acquire.The details of the mode values are as follows.
100
+
By specifying the p2 mode, you can select the typeof file to be acquired.The details of the mode values are as follows.
@@ -114,7 +114,7 @@ If the mode is omitted, it will be 0.
114
114
%sample
115
115
sdim a,64
116
116
dirlist a,"*.*" ; Get the current directory
117
-
mes a ; Displaythe contents
117
+
mes a ; Displaycontent
118
118
stop
119
119
%href
120
120
dirlist2
@@ -124,15 +124,15 @@ dirlist2
124
124
125
125
%index
126
126
exist
127
-
GetFileSize
127
+
Getfile size
128
128
%group
129
129
FileOperationCommands
130
130
%prm
131
131
"filename"
132
132
"filename":Nameof the file to check the size of
133
133
134
134
%inst
135
-
Checks whether the file specified by "filename" exists and gets its file size.When the exist command is executed, the system variable strsize reflects the result.
135
+
Checks whether the file specified by "filename" exists and gets its file size.After the exist command is executed, the result is reflected in the system variable strsize.
136
136
^
137
137
If the file exists, its file size is assigned to strsize.
138
138
If the file does not exist, -1 is assigned to strsize.
@@ -144,48 +144,48 @@ Let
144
144
145
145
%index
146
146
mkdir
147
-
CreateDirectory
147
+
Createdirectory
148
148
%group
149
149
FileOperationCommands
150
150
%prm
151
151
"dirname"
152
-
"dirname":DirectoryName to Create
152
+
"dirname":Nameof the directory to create
153
153
154
154
%inst
155
155
Creates a directory with the name specified by "dirname".
156
156
Directories can only be created one level deep.
157
157
If an error occurs during creation, error12 ("File not found or invalid name") will occur.
158
-
Be sure to check for the existence of the folder with the dirlist command before executing the mkdir command.
158
+
Be sure to check the existence of the folder with the dirlist command before executing the mkdir command.
159
159
160
160
161
161
162
162
163
163
%index
164
164
bload
165
-
LoadFile into Buffer
165
+
Loadfile into buffer
166
166
%group
167
167
FileOperationCommands
168
168
%prm
169
169
"filename",p1,p2,p3
170
-
"filename":FileNameto Load
171
-
p1=Variable:VariableName
172
-
p2=64〜(-1):Size to Load (inBytes)
173
-
p3=0〜(-1) :FileOffset
170
+
"filename":Filenameto load
171
+
p1=Variable:Variablename
172
+
p2=64〜(-1):Size to load (inbytes)
173
+
p3=0〜(-1) :Fileoffset
174
174
175
175
%inst
176
176
Loads the contents of a file into a memory buffer.
177
-
Normallyused with memory buffers secured with the sdim command, but can also be used with variables of other types or array variables.
178
-
If the buffer size p2 is omitted or a negative value is specified, the variable buffer size is automatically set.
177
+
Normally, it is used for memory buffers allocated with the sdim command, but it can also be used for variables with other types or array variables.
178
+
Ifyou omit the buffer size ofp2 orspecify a negative value, the variable buffer size will be set automatically.
179
179
^
180
-
Also, after the bload command is executed, the system variable strsize reflects the size ofthe loaded data.
180
+
Also, after the bload command is executed, the size of the loaded data is reflected inthe system variable strsize.
181
181
^
182
-
Specifyinga file offset value shifts the location of the operation by that value from the beginning of the file.For example, if you specify an offset value of100with the bload command, datais normally read into memory from the beginning of the file, but data is read into memory from the location 100 bytes past the beginning (skipping 100 bytes).
182
+
If you specify a file offset value, the operation will be performed from a location shifted from the beginning of the file by that value.For example, if you specify an offset value of100in the bload command, datawill normally be read into memory from the beginning of the file, but it will be read into memory from a location 100 bytes past the beginning (skipping 100 bytes).
183
183
^
184
-
This makes it possible to read only a partof a large file, or to process it in segments.
184
+
This makes it possible to read only a portionof a large file, or to process it in segments.
185
185
^
186
-
It is recommended to use the dedicated noteload command to read text files.
186
+
It is recommended to use the dedicated noteload command when reading text files.
187
187
^
188
-
Notethat when reading a file encrypted with the #epack command using the bload command, you cannot specify the file offset value.
188
+
Please note that if you reada file encrypted with the #epack command with the bload command, you cannot specify the file offset value.
189
189
190
190
%href
191
191
noteload
@@ -199,28 +199,28 @@ Let
199
199
200
200
%index
201
201
bsave
202
-
SaveBuffer to File
202
+
Savebuffer to file
203
203
%group
204
204
FileOperationCommands
205
205
%prm
206
206
"filename",p1,p2,p3
207
-
"filename":FileNameto Save
208
-
p1=Variable:VariableName
209
-
p2=0〜(-1) :Size to Save (inBytes)
210
-
p3=0〜(-1) :FileOffset
207
+
"filename":Filenameto save
208
+
p1=Variable:Variablename
209
+
p2=0〜(-1) :Size to save (inbytes)
210
+
p3=0〜(-1) :Fileoffset
211
211
%inst
212
212
Writes the contents of a memory buffer to a file.
213
-
Normallyused with memory buffers secured with the sdim command, but can also be used with variables of other types or array variables.
214
-
If the buffer size p2 is omitted or a negative value is specified, the variable buffer size is automatically set.
213
+
Normally, it is used for memory buffers allocated with the sdim command, but it can also be used for variables with other types or array variables.
214
+
Ifyou omit the buffer size ofp2 orspecify a negative value, the variable buffer size will be set automatically.
215
215
^
216
-
Specifyinga file offset value shifts the location of the operation by that value from the beginning of the file.
217
-
By specifying an offset with the bsave command, you can save from a location past an arbitrary size from the beginning of the file.
216
+
If you specify a file offset value, the operation will be performed from a location shifted from the beginning of the file by that value.
217
+
If you specify an offset with the bsave command, you can save from a location past an arbitrary size from the beginning of the file.
218
218
(In this case, the file contents before that offset will not change.
219
219
Also, an error will occur if the file does not exist when the offset is specified.)
220
220
^
221
-
This makes it possible to update only a partof a large file, or to process it in segments.
221
+
This makes it possible to update only a portionof a large file, or to process it in segments.
222
222
^
223
-
It is recommended to use the dedicated notesave command to save text files.
223
+
It is recommended to use the dedicated notesave command when saving text files.
224
224
225
225
%href
226
226
notesave
@@ -230,25 +230,25 @@ bload
230
230
231
231
%index
232
232
memfile
233
-
MemoryStreamSetting
233
+
Memorystream settings
234
234
%group
235
235
FileOperationCommands
236
236
%prm
237
237
p1,p2,p3
238
-
p1=Variable:VariableName to be Streamed
239
-
p2=0〜(0) :BufferOffset
240
-
p3=0〜(MAX) :BufferSize
238
+
p1=Variable:Variablename to be streamed
239
+
p2=0〜(0) :Bufferoffset
240
+
p3=0〜(MAX) :Buffersize
241
241
%inst
242
-
Sets a variable that has a memory space to be treated as a substitute for a file (memory stream function).
243
-
The variable specified by p1 will be the read source of the file specified by "MEM:filename"thereafter.
244
-
p2 specifies the offset (start position when reading).If0 is specified or omitted, it will be read from the beginning of the buffer.
242
+
Sets a variable that has a memory space to be treated as a substitute for a file. (Memory stream function)
243
+
The variable specified by p1 will be the read source of the file specified by "MEM:filename"from now on.
244
+
p2 specifies the offset (starting position when reading).If0 is specified or omitted, it will be read from the beginning of the buffer.
245
245
p3 specifies the size to be read.If0 is specified or omitted, the entire variable buffer will be targeted.
246
-
It is possible to read image files by specifying the file image loaded in memory as "picload "MEM:a.jpg"".
247
-
Note that when mmload command or something that judges the extension as a file type, it is necessary to specify a dummy file name (such as "MEM:a.wav").
246
+
It is possible to load image files by specifying the file image loaded in memory as "picload "MEM:a.jpg"".
247
+
Please note that if the extension is used as a file type to determine, such as with the mmload command, it is necessary to specify a dummy file name (such as "MEM:a.wav").
248
248
^
249
-
The memory stream function is intended to be used only in special situations such as preparing a unique format archive or encryption format and expanding the contents as an image.
250
-
Note that the memory stream function is in principle not applied to file names passed to external DLLsor extension plugins.
251
-
(Excluding extension plugins that support the memory stream functionofHSP3)
249
+
The memory stream function is intended to be used only in special situations, such as preparing a proprietary archive or encryption format and expanding the contents as an image by reading them.
250
+
Please note that the memory stream function is in principle not applied to file names passed to external DLLsor extension plugins.
251
+
(Excluding extension plugins that support the HSP3memory stream function)
252
252
253
253
%href
254
254
bload
@@ -260,27 +260,27 @@ Let
260
260
261
261
%index
262
262
chdpm
263
-
DPMFileSetting
263
+
DPMfile settings
264
264
%group
265
265
FileOperationCommands
266
266
%prm
267
267
"dpmname",p1,p2
268
-
"dpmname":DPMFileName
269
-
p1(-1) :EncryptionKeySpecification
270
-
p2(-1) :SlotNumber (0〜15)
268
+
"dpmname":DPMfilename
269
+
p1(-1) :Encryptionkey specification
270
+
p2(-1) :Slotnumber (0〜15)
271
271
272
272
%inst
273
-
Sets the .dpm file (data file packed with multiple files) to be read.
274
-
When the chdpm command is executed, the file specified by "dpmname" is treated as data packed inDPM format from then on.
273
+
Sets the .dpm file (data file in which multiple files are packed) to be read.
274
+
After the chdpm command is executed, the file specified by "dpmname" is treated as data packed inDPM format.
275
275
If an error occurs while initializing the DPM file, error12 ("File not found or invalid name") will occur.
276
276
^
277
-
The slot number is the number to which the DPM file is read.You can specify a value from 0 to 15.If you specify a negative value, a new slot number is automatically assigned.
278
-
This makes it possible to refer to andtarget multiple DPM format files simultaneously.
277
+
The slot number is the number of the location to which the DPM file is loaded.You can specify a value from 0 to 15.If you specify a negative value, a new slot number will be automatically assigned.
278
+
This makes it possible to simultaneously refer to andload multiple DPM format files.
279
279
Files embedded in the exe file have slot number 0.
280
-
If you specify an empty string ("") for the DPM file name, the specified slot number is discarded from the read target.
280
+
If you specify an empty string ("") for the DPM file name, the specified slot number will be discarded from the reading target.
281
281
^
282
-
By performing different encryption for each DPMfile, it is possible to provide more robust file protection.
283
-
For details, refer to the programming manual"File Packing and Encryption".
282
+
It is also possible to perform more powerful file protection by performing different encryption for each DPM file.
283
+
For details, please refer to the ProgrammingManual"File Packing and Encryption".
0 commit comments