#203 closed defect (fixed)
ERROR in ToName functions
Reported by: | César Pérez Álvarez | Owned by: | danirus |
---|---|---|---|
Priority: | lowest | Milestone: | |
Component: | Text | Version: | head |
Severity: | trivial | Keywords: | |
Cc: |
Description
This functions returns the Text argument changing the ilegal letters for variables
identifier purposes, to underlines "_". But if we put the character ' (ASCII(39)), we
obtain the same char. and we could not use it like identifier.
Change History (3)
comment:1 Changed 19 years ago by
comment:2 Changed 19 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Bug fixed. Some examples:
Text t1 = ToName("1id"); --> "_1id"
Text t2 = ToName("'id"); --> "_'id"
Text t3 = ToName("@id"); --> "_id"
Text t4 = ToName("multiple word id"); --> "multiple_word_id"
The backward compatibility has been broken (example 1 and 2).
comment:3 Changed 18 years ago by
bug_file_loc: | → http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000203 |
---|
Note: See
TracTickets for help on using
tickets.
Which functions are you talking about?