Bug Report - backslash in the comment

The ways it works

Moderators: Murderator+, Murderator

Post Reply
Schonny
Posts: 1
Joined: 2007-12-09 18:30:36

Bug Report - backslash in the comment

Post by Schonny »

Hi, I found a bug (maybe a strange feature). If You write '\' anywhere into the comment, the next row of code is automatically taken as comment too. See the exploit:


This doesn't work, because the row under comment is taken as comment to.

Code: Select all

sub exploit()
#Comment with \ backslash
uo.print('Hello')
end sub


#This works, because I haven't used any backslash.

Code: Select all

sub hello()
#Comment with no backslash
uo.print('Hello')
end sub


I found it when I was using uo.playwav("C:\...") and I tried to put rows like this into comment.

I use ver. 505.18.
Post Reply