Zum Hauptinhalt springen

B4A.BASE.JOBI.CONFIG-ADD

Description​

Details​

PropertyValue
TypeJOBI
FolderPACKAGES/BEST4AUTOMIC/B4A.BASE/SOURCE/CONFIGURATION
TitleAdd entry to module configuration VARA
Archive Key 1-
Archive Key 2-
CreatedSystem UC4 am: 2025-08-14 18:14:08
Last ModifiedWriter best4Automic am: 2026-08-03 15:12:13 3 x
Last Used-

Process​

:set &item# = "$ENTRY$"
:switch &$PLATFORM#
: case "UNIX"
:set &item# = resolve_var( &item# )
! create a string like this '"'"'
:set &quoted# = "'"
:set &quoted# = str_cat( &quoted#, '"' )
:set &quoted# = str_cat( &quoted#, "'" )
:set &quoted# = str_cat( &quoted#, '"' )
:set &quoted# = str_cat( &quoted#, "'" )
:set &item# = str_sub( &item#, "'", &quoted# )
echo '&item#' >> $b4a_config_file
: case "WINDOWS"
: inc BBC.SHARED.JOBI.ESCAPE4POWERSHELL $STRING$ = "&item#"
"&BBCS_ESCAPED_STRING_O#" | Add-Content $b4a_config_file.fullName
:endswitch