Global Array Save Load File

Saves all global array values to a file.

Settings

filename

Name of the file to save.

save to file

Opens a dialog box to choose a file name and save the file.

file extension

Default extension of the file to save or load.

save to file direct

Saves the file using the filename parameter. If the filename parameters is a NULL string it opens a dialog box to choose the file name.

load from file

Opens a dialog box to choose a file name and load the file.

load from file direct

Loads the file using the filename parameter. If the filename parameters is a NULL string it opens a dialog box to choose the file name.

filter list

List of global array names to save or load. If the list is empty it saves/loads all global arrays.

  • if the line starts with // it is ignored (comment)
  • the line can start with INCLUDE: myfilename.txt followed by a filename. The filename must be located inside the package of the application or 'nearby' the workspace
  • it can be a regex or containing wildcards like GA-*
  • if the line is the string WAIT the process will be suspended for 200ms
 MY-GA-NAME
 // a comment line
 INCLUDE: myGAList.txt
 GA-NAME-*
 WAIT

reject list

List of global array names to explicitly not save or load.

  • if the line starts with // it is ignored (comment)
  • the line can start with INCLUDE: myfilename.txt followed by a filename. The filename must be located inside the package of the application or 'nearby' the workspace
  • it can be a regex or containing wildcards like GA-*
  • if the line is the string WAIT the process will be suspended for 200ms
 MY-GA-NAME
 // a comment line
 INCLUDE: myGAList.txt
 GA-NAME-*
 WAIT

isolate list

List of global array names which contains array's of 0 or 1 to replace isolate on load input array.

  • if the line starts with // it is ignored (comment)
  • the line can start with INCLUDE: myfilename.txt followed by a filename. The filename must be located inside the package of the application or 'nearby' the workspace
  • it can be a regex or containing wildcards like GA-*
  • if the line is the string WAIT the process will be suspended for 200ms
 MY-GA-NAME
 // a comment line
 INCLUDE: myGAList.txt
 GA-NAME-*
 WAIT

processing

Sends 1 value when the module is currently saving or loading the file, 0 otherwise.

A flow-from-1-to-0 must be used to trigger something when the operation is completed or canceled.

canceled

Send 1 value when the open dialog operation has been canceled.

A flow-from-1-to-0 must be used to trigger something when the operation is completed or canceled.

isolate on load

Array of 0 or 1 with determines if the nth indexes are loaded (value 0) or not not (value 1). For example if the array is [0,0,1,0,0,0,...] it means that the global array values at the index 2 are not loaded.

silent edit

Disables the trace-panel information's when a file is loaded or saved.

fade duration

Duration of the fade applied on the loading operation.

See also

version 6.0.241021

Edit All Pages