ISaGRAF. Version 3.4


ST - 4


END_REPEAT ;

:

ISaGRAF REPEAT. REPEAT.

:

(*ST , REPEAT*)

(* "C" *)

(* *)

string := ''; (* empty string *)

nbchar := 0;

IF ComIsReady ( ) THEN

REPEAT

string := string + ComGetChar ( );

nbchar := nbchar + 1;

UNTIL ( (nbchar >= 16) OR NOT (ComIsReady ( )) )

END_REPEAT;

END_IF;

FOR

: FOR... TO... BY... DO... END_FOR

: ,

: FOR <index> := <mini> TO <maxi> BY <step> DO

<statement> ;

<statement> ;

END_FOR;

: index: ,

mini: ( )

maxi: -

step:

[BY step] - . 1.

While FOR:

index := mini;

while (index <= maxi) do

<statement> ;

<statement> ;

index := index + step;

end_while;




- -  - -  - -