The invention provides a method for converting a
flow chart into an
executable language. The method comprises the following steps: a) obtaining and storing target
flow chart data, node data and node relational
data information; b) according to the node data and the node relational
data information, generating the node sequence of flow direction relationship between nodes; c) causing node numbers in the node data into corresponding statement mark numbers; d) according to the node
data information, generating an expression corresponding to each node of the
flow chart; e) according to the information of the next node in the node sequence, generating a goto statement. According to the method for converting the flow chart into the
executable language, which is disclosed by the invention, the
jumping function of the goto statement and the node flow direction relationship in the flow chart are fully utilized, and influence of chaos caused by using if conditional statements to
nest for multiple times in the process of converting the complex flow chart made by a user into the
executable language is avoided. The structure is clear, time for
programming personnel to detect wrong statements when programmed statements go wrong is shortened, thereby being convenient to maintain, and improving the
programming efficiency. According to the method for converting the flow chart into the executable language, which is disclosed by the invention, the user and the flow chart can be better interacted.