http://gilgamesh.hamsterrepublic.com/cgi-bin/bugzilla/show_bug.cgi?id=274

           Summary: Ascii from string: position off by 1
           Product: OHRRPGCE
           Version: 2006???? Ubersetzung
          Platform: PC
               URL: http://castleparadox.com/ohr/viewtopic.php?p=63183
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Plotscripts
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


For a string "ABCDE", asciifromstring(n, 1) returns the ASCII value for B.
Documentation says that should be A.

asciifromstring(n, 0) returns 0, so effectively the first character in a string
is inaccessible. Annoying!

For a test script, I refer you again to the CP thread conveniently re-linked
above. I thought I was losing my mind, but it turns out I was debugging for you
guys. The two are pretty similar.


-- 
Configure bugmail: 
http://gilgamesh.hamsterrepublic.com/cgi-bin/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

Reply via email to