Statement: Action, Type: Initial
Delete Data File
Format: Delete Data File
Description
The Delete Data File identifier will delete and external TEXT file that was loaded from the Load Data File action command.
Example
In the script, we loaded a data file "C:\BotDir\bets.txt" and process the data to place bets on three layouts. Now, we immediately delete the file using the Delete Data File action command. This is to prevent the data from being loaded again on the next spin of the wheel. The following example will perform this task.
RX Script | Copy Code |
---|---|
Load Data File "C:\BotDir\bets.txt" for 3 seconds Bet Data File Delete Data File |
Results from example
Before the Delete Data File action command. A TEXT file "bets.txt" located in folder "C:\BotDir\" which contains a comma delimited layout and their bets.
After the Delete Data File action command. The file "bets.txt" is deleted.