hello everyone![]()
I have 2 questions and hope someone can help me.
1. how (if) can I use AND/OR in an IF statement?
i tried many different kinds but all I get are error messages.
example:
if (DesiredUserName == "CANCEL" OR DesiredUserName == "") then
Dialog.Message("Title", "ERROR")
end
or:
if (DesiredUserName == "CANCEL") OR (DesiredUserName == "") then
Dialog.Message("Title", "ERROR")
end
...
where is the error? is there no way to use AND/OR in IF-Statements anymore?
i get this:
Syntax Error: [Location="Info:btnOrder", Event "On Click", Line=4]
Error Detail: [`)' expected near `OR'] in [if (DesiredUserName == "CANCEL" OR DesiredUserName == "") then]
2. if i use _SourceFolder for a single executable file to open a textfile and write into it it doesnt seem to work. will the file be deleted after closing the single executable?? do i have to specify an absolute path for the file to load/read?
bye:

