Numerical conversion problems in Delphi

Updated on technology 2024-02-09
14 answers
  1. Anonymous users2024-02-05

    After reading your **, let's explain the problem in your ** to you.

    The first question is:

    Your readability is very unfriendly, you must pay attention to the indentation problem, beginners, to develop a good habit.

    Each indentation is two spaces.

    The second question is:

    You obviously don't understand the manipulation of the dataset.

    The insert method inserts a new record below the current record in the dataset.

    POST is to submit dataset data to the database.

    The third question is:

    Below I will modify according to your **, I hope to solve your problem, **as follows:

    procedure tform6_: tobject);

    begina := ;

    b := ;

    c := ;

    d := ;

    if c <>d then

    beginshowmessage('The password entered twice is inconsistent');

    exit;end;

    if 'Name', a, [then

    beginif b = 'Password').asstring then;

    Password').asstring := c;

    showmessage('The password was successfully changed');

    The following two sentences don't seem to be needed, you try to see if the following two sentences don't work, := false;

    true;

    end;end;

    end;

  2. Anonymous users2024-02-04

    Pro: It's not a numerical conversion....The value you write is null and not allowed....Look into this area; In general, you have to add a B <>''or b <>null; Since you are the new value-added append, changing the password should be update...., added whether there is a field written yes"null"?Maybe that's the error...

    Try it when you update it againrefresh, haven't used adotable in a long time....Adoquery is more convenient.

  3. Anonymous users2024-02-03

    number:=number+a

    In SQL statements, you don't need to use :=, just use =

  4. Anonymous users2024-02-02

    Of course not, if you really want to calculate. I can only think of a way, it can be like this. Use the pos function to set the * to a position, and then take it. Calculate again!

  5. Anonymous users2024-02-01

    There is an * sign in the middle, can this be converted to a value? I don't think so.

  6. Anonymous users2024-01-31

    Use TadoConnection instead!

    Modified to: provider=; password=database password; persist security info=true;user id=sa;initial catalog=database name; data source = server name.

  7. Anonymous users2024-01-30

    Write the username and database name of the connection to SQL2000, for example: SA; The database name is the name of the SQL 2000 connection configured in ODBC. Try it.

  8. Anonymous users2024-01-29

    It's not that simple.

    edit1''It is a string of numbers and operators, and the value of the expression cannot be directly derived. It is necessary to separate the numbers from the operators, and then decide what operations to perform based on what operators are.

  9. Anonymous users2024-01-28

    Agree with the above, hehe.

    There's a very simple way to deal with it.

    That is. Add a botton, after clicking.

    Haha, I can't do it, I still need to say that.

    Do you make calculators?

    Or you can refer to how someone else makes a calculator.

  10. Anonymous users2024-01-27

    :=floattostr(

    It's simple enough.

    I don't know what exactly you're going to do, I can't understand your questions.

    I'll know if I can try it, but I've tried it anyway.

  11. Anonymous users2024-01-26

    dword(longword) 4 bytes 0 to 4,294,967,295

    Extended 10 bytes 19 significant digits, exponent -4932 to +4932

    j:extended ;

    j:=i sizeof

  12. Anonymous users2024-01-25

    There are two ways of dividing in delphi, and div, which is used for floating-point calculations, and divs are used for integer calculations.

    Look at your **, it should be integer division, change it to j:= i div sizeof(a certain object) try!

  13. Anonymous users2024-01-24

    Numeric types do not need to add two single quotation marks, and character types and date types need to add two single quotation marks.

    The split family set storagenum=storagenum-'+' where '

  14. Anonymous users2024-01-23

    Have you ever learned speech analytics? If it's just these seven sounds, it can be made with a little effort.

    First of all, it is necessary to determine each syllable through speech analysis (this is similar to endpoint detection technology). Then you can analyze the characteristics of this syllable, that is, the pattern (there are several methods). Then you can build your own database, and it's easy to do with the library.

    I don't know if I understand it wrong, but it's key to find out the characteristics, there are waveforms, there are energy.

Related questions
8 answers2024-02-09

1.Create a new m file and store the integrand:

function f=fun(x) >>>More

10 answers2024-02-09

a = "n c hundred du q49232 ah ah ah pp"

mid(trim(a), 9, 5) 'From the 9th character from left to right (spaces are also counted), count 5 characters you want. >>>More

12 answers2024-02-09

option explicit statement.

Used at the module level to force all variables in the module to be explicitly declared. >>>More

8 answers2024-02-09

Absolute coordinates. 1.Cartesian.

Cartesian coordinates are represented by the x, y, and z coordinate values of the point, and the coordinate values are separated by commas. >>>More

29 answers2024-02-09

Many couples start by recognizing their sister!!

When I was in elementary school, I had a good brother who recognized the girl in my class as a sister, and guess what happened? >>>More