0

Hello to everyone,

i don't know how to create a simple "if else statement" like this

if username=user and password=pass then
msg("Access Granted")
else
msg("Acess Denied")
end if

Is there anyone who can help me? please... thx

2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by sDJh
0

You have to write that yourself. If you don't want to, than stick to a higher language.

Write a procedure that compares two strings. You need a loop that compares each byte in the strings. If all values are identical, then you can set the equal-flag, if not not you clear it.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.