Skip to content

sc.a2colrow returns weird values #970

@ledux

Description

@ledux

I try to get the column and row index when I have the ascii representation of a cell (i.e. "N3").

When I run the following code...

col, row = sc.a2colrow("N3")
sc.lsetnum(0, 0, col)
sc.lsetnum(0, 1, row)

...the contents of "A0" is 135 and the the contents of "A1" is -1348531637.

This is not just representational problem. The following code...

col, row = sc.a2colrow("N3")
sc.lsetstr(col, row, "hello")

...leaves the cell "N3" empty.

What am I doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions