On Wednesday, May 10, 2017 at 10:09:11 PM UTC-5, oldk1331 wrote:
>
> Nasser: 
>
> You can use the 'integer' function for type SExpression: 
>
> (1) -> r := integer elapsedUserTime()$Lisp 
>
>    (1)  17 
>                                                         Type: 
> PositiveInteger 
>
>
> By using ')show SExpression', you can find a list of functions 
> available for SExpression. 
>

Thanks. This worked. I find Fricas very confusing actually. All these types 
:)

I only saw reference to Integer and said types have to be UpperCase. Did 
not know there is a function integer() also.  btw, I find writing   r := 
integer(elapsedUserTime()$Lisp) more clear to me, as it show more clearly 
now integer() is a function. 

Thanks for the help.

--Nasser

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to