There have been a few changes, mostly additional functions and the odd tweak in favour of better functionality.
Significant in the additions are a few functions for sending emails:
ThunderbirdSend. If I remember correctly,
ErrorEmailhas been around for a while, but is included here for completeness sake.
A while back Derek Parnell wrote a replacement for Euphoria's
ShowStructureand a support routine
AsStringmake this available to the VBScript programmer. By the way, in case you haven't heard, Euphoria is now open-source!
The output, then, from code such as this:would bewhich maybe leads on toward data serialisation ...
There've been some additions to the file handling space, with the addition of routines to read and write unicode files (
ReadFirstLineUand its ANSI equivalent,
Logging has been worked on. It's something I'm unlikely to be totally happy with, but there's now a
ClearLogas well as the standard
Log(and, given the possibility of confusion with the logarithm system, maybe I should change it to Trace (oh man, how many scripts that would break!))
What else? Well,
BuildTreebuilds a directory tree.
FirstLineOfreturns the first vbNewLine-delimited line from a string (useful where you've used
ReadFileUto inhale an entire file.)
FirstLineOfdoes but for the end of the file, and
NthLineOfgets you the ... nth ... line.
I've actually forgotten what I wrote
UpToAndAfterfor, but it's included anyway.
ResolveIPfunction with the IP address 220.127.116.11 (which points somewhere on linux.org) to see if you are still on line.
SetPriorityuses the same code as used in BOOST to set process priority.
StrInArrayfinds a string in an array of strings, with optional case sensitivity.
StringMapscans a string for the presence of items in one array and swaps them for the equivalently indexed elements in the second array. If the second array is a string, they get swapped for that string.
HTASleep, so that it can be used in .VBS files and .HTA files.
ModalThing2shows a modal dialog (only works in .HTA files)
Obviously, if you see something that needs to be fixed, fix it. And tell me to fix it so that it can be fixed in the distribution and your name can be added to the list of contributors.
© Copyright Bruce M. Axtens, 2008