Allright I solved the problem by changing some of the procedures so everything is fine! But thank you very much for all your help...
Thanks
Matilde... :o)
Yes it's already declared... I almost bearly started on Delphi programming so I'm not that much in to it, it might be better to put it in to a class... I just can't figure out this problem.!
I decided not to do the way you suggested because there is a infinite amount of different functions and I want the program to be as user friendly as possible... So I kept on doing the input thing. So now i'm doing a program first to read the function that the user inputs. The best way I could...
I'm doing this program about graphing and I need to be able to read the functions from a user input... This is a little part of the program, and it's where I call the raised function it makes an error...
procedure multi(start:integer;slut:integer);
var
r:integer;
answ:real;
begin
for r:=start...
I'm doing this graphing program in delphi, but i was wondering how can you make the program draw functions that you input in an edit box....
Thanks!
Matilde... :O)
How do you return more than one value in a function? i.e. if you calculate several results and you want to reurn them...
double equation(double a = 0, double b = 0, double c = 0)
{
double sol1 = 0;
double sol2 = 0;
sol1 = (-b+sqrt((b*b)-4*a*c)/2*a;
sol2 = (-b-sqrt((b*b)-4*a*c)/2*a...
you can use the filesystemobject to create files, delete them etc.
set xxx = CreateObject("scripting.FileSystemObject")
xxx.yyy and here you put the required parameters
'xxx = doesn't matter just a variable.
'yyy = any method you want to use. ex: CopyFile, DeleteFile, MoveFile...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.