LoadText(Url:object)

BlitzMax Forums/BlitzMax Programming/LoadText(Url:object)

what's the use of URL? I thought it could be used to specify a real URL, but it doesn't work.

print LoadText("http://www.blide.org/version.txt")


should open a internet text file, and show ints contents, but it's not working, so, what's exactly this URL parameter? it's confusing...

[EDIT]
I see, not 'standar' notation, it has to be:
print LoadText("http::www.blide.org/version.txt")

You need to specify the protocol correctly. BlitzMax does not use the same syntax as a browser. You should use "protocolname::" like this:
Print LoadText("http::www.blide.org/version.txt")


thanks, is this notation standard in any platform?

Yep, it's the same for Windows, Max, and Linux.