Project

General

Profile

Feature #1821

AsINT, AsRAT could also take a STRING

Added by Anna Maria Bigatti 9 days ago. Updated 9 days ago.

Status:
Feedback
Priority:
Normal
Category:
enhancing/improving
Target version:
Start date:
13 Jun 2024
Due date:
% Done:

90%

Estimated time:
1.01 h
Spent time:

Description

I would find it handy to have AsINT, AsRAT.
There is a trivial implementation I can do.


Related issues

Related to CoCoA-5 - Bug #1820: Manual: why doesn't "?Commands and Functions for STRING" show the function RingElem?New2024-06-13

History

#1 Updated by Anna Maria Bigatti 9 days ago

  • Category set to enhancing/improving
  • Status changed from New to Feedback
  • Target version set to CoCoA-5.4.2
  • % Done changed from 0 to 90
  • Estimated time set to 1.01 h

(In NotBuiltin.cpkg)
Read the string as RingElem in QQ, then call AsINT/RAT for RingElem.
This is slower then the analogous function in CoCoALib, but also allows "AsINT("3+2")"
and faster to implement ;-)

#2 Updated by Anna Maria Bigatti 9 days ago

  • Related to Bug #1820: Manual: why doesn't "?Commands and Functions for STRING" show the function RingElem? added

Also available in: Atom PDF