this function has been removed - you should use UTF8ToString(ptr, maxBytesToRead) instead!
Code : Tout sélectionner
function area_of_circle()
local Radious, Area;
DispG // start the Xcas DispG Windows
ClrIO // clean the DispG text output
printf( "Please enter the radius of a circle" );
input( Radious );
Area := 3.14 * Radious ^ 2;
printf( "The area is %gen", Area );
return "Done";
end;