Development
: K-Meleon Forum
K-Meleon development related discussions.
Goto:
Forum List
•
Message List
•
Search
•
Log In
Your Name:
Subject:
Help information
BBcode help
Smileys help
[quote=JamesD] Really good find about the 'or' and 'and' words working with the if statement. They do not work with the older conditional statement. They seem to work for the while statement. If I get time tomorrow, I guess I had better do some update to MacroLanguage2. I need to put all of your points in the wiki page so user will not need to search so much for them. I also need to remember how to change the KM language file for Notepad++. The 'or' and 'and' do not show in keyword color. [code] _Snippet_RunCode { $_y = 0 ; $_x=prompt("","number?","1"); if($_x<3 or $_x>6) alert("","x<3 or x>6: YES"); else alert("","x<3 or x>6: NO"); # Does not work with older conditional statement #$_x<3 or $_x>6 ? alert("","x<3 or x>6: YES") : alert("","x<3 or x>6: NO"); if ($_x <= 6 and $_x < 3) alert("Both"); else alert("One or neither") ; while ($_y < 3 and $_x > 2) { alert($_y ." and ". $_x, "The values are") ; $_y = $_y +1; $_x = $_x -1; } } [/code] As for rebuildmenu, Groups2 and QuickStore both use it. It is when the macro uses code/data to change the menu. see: http://dl.dropbox.com/u/1522294/QuickStore.7z[/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
Bugs
Development