ID:143373
 
Code:
        check_comments()
src << browse('comments.txt', "comments")


Problem description:
I have a text file in the directory I wanna view with a browser but its being mean to me!

src << browse(file('comments.dmi'),"window=name")//this makes it pop-up.

Remember to use the file() proc when accessing files.
In response to Kakashi24142
Comments.dmi makes no sense
In response to Hellonagol
Whatever I wasn't thinking, the point is, use the file() proc to access files.
In response to Kakashi24142
How can I show the updated version?
In response to Kakashi24142
Single quotes tell it that it's looking for a file already, file is usually only used when the file that you're looking for isn't clear at the time, it doesn't exist while compiling (created in-game at some point or something), or some situation like that.

Anyway, you didn't really specify a problem, so I'll just make some assumtions.

1) The file doesn't exist and you get an error.
2) There's no information in the file.
3) You're using custom interfaces, your browser hasn't been configured correctly.
4) Something else.

Also, as for your other question, the information being displayed isn't updated in real time.
You'll have to tell it to send the information again if you made changes and want them to appear.
src << browse(file2text("comments.txt"),"window=comments")