Xcas online - function has been removed

Messages in english

Modérateur : xcasadmin

compsystems
Messages : 554
Inscription : sam. févr. 04, 2017 11:34 pm
Localisation : Colombia
Contact :

Xcas online - function has been removed

Message par compsystems » ven. juin 05, 2020 7:40 pm

Hello, when I run this program in the online version it throws the following error message

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;

Répondre