close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 21 years ago

Closed 18 years ago

Last modified 18 years ago

#112 closed defect (fixed)

Sometimes A is not equal to ASCII(Char(A))

Reported by: request Owned by: Víctor de Buen Remiro
Priority: normal Milestone:
Component: Text Version: head
Severity: minor Keywords:
Cc:

Description

Sometimes A is not equal to ASCII(Char(A))

Real ascii01 = 130;
Real ascii02 = ASCII(Char(130));

Real ctr01 = If(EQ(ascii01,ascii02),

{ WriteLn("\nare equal"); TRUE },
{ WriteLn("\nare not equal"); TRUE });

Set View(ascii01, ascii02?, "");

If a character is not a classic byte 0..255 then
this must appear very clear

Change History (6)

comment:1 Changed 21 years ago by manuelb

Status: newassigned

comment:2 Changed 21 years ago by manuelb

Owner: changed from danirus to manuelb
Status: assignednew

comment:3 Changed 21 years ago by manuelb

Status: newassigned

comment:4 Changed 18 years ago by Víctor de Buen Remiro

Owner: changed from manuelb to Víctor de Buen Remiro
Status: assignednew

comment:5 Changed 18 years ago by Víctor de Buen Remiro

Resolution: fixed
Status: newclosed

Problem has been solved in CVS.
A test has been added to tol_tests/tol/Bugzilla/bug_000112

Thanks to report

comment:6 Changed 18 years ago by Víctor de Buen Remiro

bug_file_loc: http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000112
Note: See TracTickets for help on using tickets.