The problem is
VB and Java define functions differently.
1) Java encloses the body of the function in curly braces while
VB uses an End Function keyword.
2) Java uses the return keyword while
VB uses [function name] = [return value]
So unfortunately I cannot write 1 function for both languages. What I really need is a way to initialize a variable to the contents of a file. Maybe access the file via the script itself with a file object? Would this be a bad way of going about it?
Thanks,
Mike