From 8878b199c6eff17d654adfc7a13ee91b566bba8f Mon Sep 17 00:00:00 2001 From: Juju Adams Date: Sun, 16 Aug 2020 12:20:46 +0100 Subject: [PATCH 1/2] Update README.md --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 19ea183..ec971bb 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -

SNAP: Struct N' Array Parsing 3.3.0

+

SNAP: Struct N' Array Parsing 3.3.1

Easy struct/array saving and loading

@@ -160,3 +160,8 @@ _**N.B.** This script is only intended to read the .ini files and strings that G Convenience function that loads an .ini file from disk and passes it into `snap_from_ini_string()`. +  + +### string_from_file(filename) ### + +Convenience function that returns a string that contains all the data in the given file. From 89791215a5d34c2a4225f458c430763127149fb1 Mon Sep 17 00:00:00 2001 From: Juju Adams Date: Sun, 16 Aug 2020 12:21:35 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ec971bb..3a703a0 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,12 @@ The order that values are sent into `method` is guaranteed for arrays (starting   +### string_from_file(filename) ### + +Convenience function that returns a string that contains all the data in the given file. + +  + ### snap_deep_copy(struct/array) Returns a copy of the given `struct/array`, including a copy of any nested structs and arrays. @@ -159,9 +165,3 @@ _**N.B.** This script is only intended to read the .ini files and strings that G ### snap_from_ini_file(filename, [tryReal]) ### Convenience function that loads an .ini file from disk and passes it into `snap_from_ini_string()`. - -  - -### string_from_file(filename) ### - -Convenience function that returns a string that contains all the data in the given file.