In the easy language, if if true, what is the difference between judging

Updated on technology 2024-05-23
11 answers
  1. Anonymous users2024-02-11

    If: two judgments will be made, if the latter is true, then the corresponding steps are executed, if the latter is false, then the content under it is not executed, and the content indicated by the arrow is executed.

    Difference: If true is true, it will be executed all the way down, and if it is true, only the corresponding command will be executed. The arrows are not executed.

  2. Anonymous users2024-02-10

    Version 2 Assembly Window Assembly 1, add three buttons in the startup window, named them as: If True Button, If Button, Judge button, double-click in the blank space of the window, paste all ** here into Window Assembly 1, run the program test.

    If the subroutine is true, it only needs to be handled on a single condition.

    Local variables Input, textual.

    Input box ("Please enter a number!") ",1", input content, enter integer) if true (input content 1").

    When the input is the number 1, the window moves to the far left of the screen.

    0 on the left side of the launch window

    If it's really over.

    If the subprogram is an example, it is necessary to deal with the condition of being true and not being valid.

    Local variables Input, textual.

    Input box ("Please enter a number!") ",1", input content, enter integer) if (input content 1).

    When the input is the number 1, the window moves to the far left of the screen.

    0 on the left side of the launch window

    Otherwise. When the input is not the number 1, the window moves to the far right of the screen.

    To the left of the startup window, take the width of the screen () The width of the startup window.

    If it ends. Subroutine Judgment For example, multiple conditions need to be processed.

    Local variables Input, textual.

    Input box ("Please enter a number!") ",1", Input, Input) (Input 1").

    When the input is the number 1, the window moves to the far left of the screen.

    0 on the left side of the launch window

    Judgment (Input 2").

    When the input is the number 2, the window moves to the far right of the screen.

    To the left of the startup window, take the width of the screen () The width of the startup window.

    Judgment (Input 3").

    When the input content is the number 3, the window moves to the middle and top of the screen, and the left side of the startup window takes the screen width () startup window width) 2

    Launch window top edge 0

    Judgment (Input 4").

    When the input content is the number 3, the window moves to the middle and bottom of the screen, and the left side of the startup window takes the screen width () startup window width) 2

    The top edge of the startup window takes the screen height () The height of the startup window.

    Default. End of judgment.

    The subroutine If True button is clicked.

    If it's true, give an example ().

    The subroutine If button is clicked.

    If you give an example ().

    The subroutine Judge button is clicked.

    Judgment Example ().

  3. Anonymous users2024-02-09

    If true is equivalent to if there is no otherwise part of the judgment is to satisfy the support of multiple conditions.

  4. Anonymous users2024-02-08

    If it's good, you can also buy the Purple Wing Dragon, it's not good, it's not good, it's enough to bring a blue with the Purple Wing Dragon, okay.

  5. Anonymous users2024-02-07

    Hello,I'm the butler Q&A group's Xinbao web page shows that there may be an error.,Generally speaking, if the QQ icon in your level is lit up,It's lit.。 There may be an error on the page. My QQ webpage is also shown to be unlit, but the icon is lit.

    Don't worry, thank you.

  6. Anonymous users2024-02-06

    If true is usually used to deal with a simple judgment behavior, and only commands that are true can be executed.

    Judgment] is mostly used to judge greater than two conditions. When the condition is true, it is not judged. Otherwise, continue down the left arrow.

    If] adds a reaction when the condition is false on top of If True. The same is true of judgment. When the condition is true, it is not judged. Otherwise, continue down the left arrow, where the "if" and "judgment" are the same.

  7. Anonymous users2024-02-05

    Version 2

    Assembly Window Assembly 1, add three buttons to the startup window, named them as: If True Button, If Button, Judge button, double-click in the blank space of the window, paste all ** here into Window Assembly 1, and run the program test.

    If the subroutine is true, it only needs to be handled on a single condition.

    Local variables Input, textual.

    Input box ("Please enter a number!") ",1", enter content, enter an integer).

    If true (input 1").

    When the input is the number 1, the window moves to the far left of the screen.

    Launch the window. 0 on the left

    If it's really over.

    If the subprogram is an example, it is necessary to deal with the condition of being true and not being valid.

    Local variables Input, textual.

    Input box ("Please enter a number!") ",1", enter content, enter an integer).

    If (Input 1).

    When the input is the number 1, the window moves to the far left of the screen.

    Launch the window. 0 on the left

    Otherwise. 'When the input is not the number 1, the window moves to the far right of the screen.

    Launch the window. On the left, take the width of the screen () to launch the window. Width.

    If it ends. Subroutine Judgment For example, multiple conditions need to be processed.

    Local variables Input, textual.

    Input box ("Please enter a number!") ",1", enter content, enter an integer).

    Judgment Start (Input 1).

    When the input is the number 1, the window moves to the far left of the screen.

    Launch the window. 0 on the left

    Judgment (Input 2").

    When the input is the number 2, the window moves to the far right of the screen.

    Launch the window. On the left, take the width of the screen () to launch the window. Width.

    Judgment (Input 3").

    When the input is the number 3, the window moves to the middle and top of the screen to launch the window. On the left, take the width of the screen () to launch the window. width) 2

    Launch the window. Top edge 0

    Judgment (Input 4").

    When the input is the number 3, the window moves to the middle and bottom of the screen to launch the window. On the left, take the width of the screen () to launch the window. width) 2

    Launch the window. The top edge of the screen height () launches the window. Height.

    Default. End of judgment.

    The subroutine If True button is clicked.

    If it's true, give an example ().

    The subroutine If button is clicked.

    If you give an example ().

    The subroutine Judge button is clicked.

    Judgment Example () This is also the information I found from the Internet, and it seems that I still know more about Yi Language.

  8. Anonymous users2024-02-04

    If true is equivalent to if there is no otherwise part of the judgment is to satisfy the support of multiple conditions.

  9. Anonymous users2024-02-03

    There are commands about judgment in the core support library of Easy Language, which mainly depends on what kind of needs you have.

    Take this login window as an example, when logging in, determine his username and password.

    This is the if command, and of course the "judge" command is used in the same way as this "if" command.

    For details, you can also refer to the process control commands in the core support library, mainly depending on what function you want to achieve.

  10. Anonymous users2024-02-02

    Here's how:

    Come 1Determine the command operating system.

    Self-system support: Windows, Linux, UNIX Category: Process ControlThis command decides whether to change the execution position of the program according to the value of the logical parameter provided, if the value of the logical parameter provided is true, the program continues to execute down in order, otherwise jump to the next branch to continue to judge.

    Syntax: No return value judgment (conditional).

    2.Use routines:

    3.Note: This command and if command can be used interchangeably, and the usage is similar to if the command is similar, and the condition must be logical, and multiple conditions can be used.

    When the check condition for the check box is true, the judgment tag is run. Border 6, the border of the judgment label becomes a gradient frame type, and when the selection condition of the judgment frame change selection box is not true, the judgment label is run. Border 5, the border of the judging label becomes a single-line border.

    Note: The condition of a judgment statement can be connected with multiple conditions with or , and multiple conditions Example: Judgment (Condition 1 = Condition 2 or Condition 2 ≠Condition 3) Example: Judgment (Condition 1 = Condition 2 and Condition 2 ≠ Condition 3).

  11. Anonymous users2024-02-01

    .Version 2

    Subroutine button 1 is clicked.

    If (Box 1.)Content.

    Version "01" or Box 1Content 02" or Box 1Content 03" or Box 1Content 04").

    End () otherwise. If it ends.

    It's very simple, don't know how to ask again!

Related questions
17 answers2024-05-23

Version 2 supports library specs

Assemblies Window Assembly 1 >>>More

15 answers2024-05-23

You can take advantage of the tag properties of the tag component. It's easy to implement your features, you can try it out, and if you have any questions, you can send a private message.

17 answers2024-05-23

The following is the source code:

The subroutine Startup Window is created. >>>More

15 answers2024-05-23

I don't quite understand what you mean.