Skip to main content

BBC.SHARED.JOBI.TEMPFILE-ADD

Description

Details

PropertyValue
TypeJOBI
FolderPACKAGES/BEST-BLU/BBC.SHARED/SOURCE/TEMPFILES
TitleAdds text to a temporary file
Archive Key 1-
Archive Key 2-
CreatedAndreas Büsching am: 2020-09-09 15:27:56
Last ModifiedAndreas Büsching am: 2025-07-04 16:47:05 31 x
Last Used-

Process

:switch &$PLATFORM#
:case "UNIX"
:  set &item# = resolve_var( "$ENTRY$" )
: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#' >> $bbcs_temp_file
:case "WINDOWS"
:  inc BBC.SHARED.JOBI.ESCAPE4POWERSHELL $STRING$ = "$ENTRY$"
"&BBCS_ESCAPED_STRING_O#" | Add-Content $bbcs_temp_file.fullName
:other
:  p "unsupported platform &$PLATFORM#"
:endswitch