So, i will login, and i input some data, and if i save it, it will automatically saved with the username that already inputed from login form.
Need help, please... Thanks...
if i write my code with :
login form
Code: Select all
hasilDiagnosa::login(Nama),
Code: Select all
predicates
login : (string Nama) procedure(o)(i).
facts - memor_msg_txt
memor_msg_txt:(string).
login(Nama) :-
file::save(string::concat(Nama,".txt"),memor_msg_txt).