Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -3,17 +3,17 @@ IMPORT StdLog;
|
|||
|
||||
PROCEDURE Do*;
|
||||
VAR
|
||||
s: ARRAY 64 OF CHAR;
|
||||
(* s := "" <=> s[0] := 0X => s isEmpty*)
|
||||
s: ARRAY 64 OF CHAR;
|
||||
(* s := "" <=> s[0] := 0X => s isEmpty*)
|
||||
BEGIN
|
||||
s := "";
|
||||
StdLog.String("Is 's' empty?:> ");StdLog.Bool(s = "");StdLog.Ln;
|
||||
StdLog.String("Is not 's' empty?:> ");StdLog.Bool(s # "");StdLog.Ln;
|
||||
StdLog.Ln;
|
||||
(* Or *)
|
||||
s := 0X;
|
||||
StdLog.String("Is 's' empty?:> ");StdLog.Bool(s = 0X);StdLog.Ln;
|
||||
StdLog.String("Is not 's' empty?:> ");StdLog.Bool(s # 0X);StdLog.Ln;
|
||||
StdLog.Ln;
|
||||
s := "";
|
||||
StdLog.String("Is 's' empty?:> ");StdLog.Bool(s = "");StdLog.Ln;
|
||||
StdLog.String("Is not 's' empty?:> ");StdLog.Bool(s # "");StdLog.Ln;
|
||||
StdLog.Ln;
|
||||
(* Or *)
|
||||
s := 0X;
|
||||
StdLog.String("Is 's' empty?:> ");StdLog.Bool(s = 0X);StdLog.Ln;
|
||||
StdLog.String("Is not 's' empty?:> ");StdLog.Bool(s # 0X);StdLog.Ln;
|
||||
StdLog.Ln;
|
||||
END Do;
|
||||
END EmptyString.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue