Parser problem - "/*" not usable in function parameters
issueid=298 22-07-2011 19:12
Super Moderator
Number of reported issues by Petr Schreiber: 126
Parser problem - "/*" not usable in function parameters
It seems the /* and */ characters confuse the parser in certain situations

Hi Eros,

I found this problem by accident, but it is quite strange - if you include /* sequence in function parameter string, ThinBASIC gets confused.

Test code to demonstrate issue:
Dim s As String = "/* this is it*/"

MsgBox 0, Grab$(s, "/*", "*/")
... should display " this is it " but instead I get Run Time Error.


Petr
Issue Details
Issue Number 298
Project thinBasic
Category Core engine (thinCore.dll)
Status Fixed
Priority 1 - Highest
Affected Version 1.8.8
Fixed Version 1.8.9
Milestone thinBasic 1.8.9.0
Users able to reproduce bug 0
Users unable to reproduce bug 0
Assigned Users (none)
Tags (none)




28-07-2011 14:36
thinBasic author
Thanks Petr.
Weird parsing error

21-08-2011 19:45
thinBasic author
This should be now fixed.
Fix will be present in next release

+ Reply