cleanup code,define node for showing invalid date formats

This commit is contained in:
Carlosokumu 2024-08-24 17:12:46 +03:00
parent 6a35101d69
commit 37809a05b4
Signed by: carlos
GPG Key ID: 7BD6BC8160A5C953
9 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,4 @@
CATCH incorrect_date_format 21 1
LOAD save_yob 0 LOAD save_yob 0
MOUT back 0 MOUT back 0
HALT HALT

View File

@ -2,4 +2,5 @@ LOAD save_gender 0
MOUT back 0 MOUT back 0
HALT HALT
INCMP _ 0 INCMP _ 0
LOAD verify_yob 8
INCMP enter_location * INCMP enter_location *

View File

@ -0,0 +1,2 @@
Unsuported date format
Please provide date format as 12/01/1972

View File

@ -0,0 +1,6 @@
LOAD reset_incorrect_date_format 8
MOUT retry 1
MOUT quit 9
HALT
INCMP enter_yob 1
INCMP quit 9