From f1e70d2fcfc8c1145b1a77d86d53788c1b554282 Mon Sep 17 00:00:00 2001 From: niansa Date: Fri, 10 Apr 2020 14:30:13 +0200 Subject: [PATCH] Fixed typo in example script --- test.pil | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.pil b/test.pil index b4d79f4..d2687da 100644 --- a/test.pil +++ b/test.pil @@ -28,4 +28,4 @@ cmp isnotnum,$~birth year,0,print $~errnonum,exit 3 # Check if birth year is before current year cmp smaller,$~current year,$~birth year,"print Will ,$~name, be born in the future?","set yesno,$input Yes/No?: ","cmp equal,$lower $~yesno,no,exit 4","cmp nonequal,$lower $~yesno,yes,print I give you up... Bye!,exit 4","set wasword,will be" # Print result -print $~name, ,$~wasword, born in ,$~birth year,",", so I guess he is ,$"sub asint,$~current year,$~birth year", Years old! +print $~name, ,$~wasword, born in ,$~birth year,",", so I guess ,$~name, is ,$"sub asint,$~current year,$~birth year", years old!