Yoko
http://forum.yoko.com.ua/

Bug Report - backslash in the comment
http://forum.yoko.com.ua/viewtopic.php?f=19&t=12873
Page 1 of 1

Author:  Schonny [ 2007-12-09 18:55:19 ]
Post subject:  Bug Report - backslash in the comment

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:
sub exploit()
#Comment with \ backslash
uo.print('Hello')
end sub


#This works, because I haven't used any backslash.
Code:
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.

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/