This is an example of using The follow commands are run using FriCAS fricas (1) -> )version spad )abbrev package CAST cast cast(): exports == implementation where spad Compiling FriCAS source code from file /var/lib/zope2.10/instance/axiom-wiki/var/LatexWiki/76482798552469661-25px002.spad using old system compiler. CAST abbreviates package cast ------------------------------------------------------------------------ initializing NRLIB CAST for cast compiling into NRLIB CAST compiling exported cast1 : Integer -> Float CAST;cast1;IF;1 is replaced by LETji Time: 0 SEC. This command used to cause a "memory may be damaged" error:: fricas cast1(1)$CAST aldor #include "axiom" cast2(i: Integer): Float == { j:Float := (i pretend Float) } aldor Compiling FriCAS source code from file /var/lib/zope2.10/instance/axiom-wiki/var/LatexWiki/casta.as using Aldor compiler and options -O -Fasy -Fao -Flsp -lfricas -Mno-ALDOR_W_WillObsolete -DFriCAS -Y $FRICAS/algebra -I $FRICAS/algebra Use the system command )set compiler args to change these options. "/var/lib/zope2.10/instance/axiom-wiki/var/LatexWiki/casta.as", This command also used cause a "memory may be damaged" error:: fricas cast2(1) |