Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
soc:2009:lynusvaz:notes:scripting_doc:features_added [2009/08/16 00:11]
lynusvaz
soc:2009:lynusvaz:notes:scripting_doc:features_added [2009/08/16 00:16]
lynusvaz
Line 1: Line 1:
 =====Scripting Features===== =====Scripting Features=====
-The features mentioned here are NOT YET part of mainline gPXE, and are still under development. The modified code can be found in my git repository, in the [[http://​git.etherboot.org/?​p=people/​lynusvaz/​gpxe.git;​a=shortlog;​h=refs/​heads/​offset|offset]] branch.+The features mentioned here are NOT YET part of mainline gPXE, and are still under development. The modified code can be found in my git repository, in the [[http://​git.etherboot.org/?​p=people/​lynusvaz/​gpxe.git;​a=shortlog;​h=refs/​heads/​expt|expt]] branch.
  
   - Identifiers   - Identifiers
Line 22: Line 22:
 Arithmetic expressions can be evaluated by placing them within $(). Arithmetic expressions can be evaluated by placing them within $().
 The following operators are supported (in order of decreasing precedence):​ The following operators are supported (in order of decreasing precedence):​
-  - !, ~          (logical NOT and bitwise negation) +  - ''​!, ~'' ​         ​(logical NOT and bitwise negation) 
-  - *, /, %       ​(multiplication,​ division, and modulo) +  - ''​*, /, %'' ​      (multiplication,​ division, and modulo) 
-  - +, -          (addition, subtraction) +  - ''​+, -'' ​         ​(addition,​ subtraction) 
-  - <<, >> ​       (left- and right-shift) +  - ''​<<, >>'' ​       ​(left- and right-shift) 
-  - <, <=, >, >=  (inequality) +  - ''​<, <=, >, >='' ​ ​(inequality) 
-  - !=, ==        (equal, not equal) +  - ''​!=, =='' ​       ​(equal,​ not equal) 
-  - &             ​(bitwise AND) +  - ''​&'' ​            (bitwise AND) 
-  - |             ​(bitwise OR) +  - ''​|'' ​            (bitwise OR) 
-  - ^             ​(bitwise EX-OR) +  - ''​^'' ​            (bitwise EX-OR) 
-  - && ​           (logical AND) +  - ''​&&'' ​           ​(logical AND) 
-  - ||            (logical OR)+  - ''​||'' ​           ​(logical OR)
 The == and != operators also act on strings. Identifiers are expanded by placing them within ${}. The == and != operators also act on strings. Identifiers are expanded by placing them within ${}.
 E.g.: E.g.:

Navigation

* [[:start|Home]] * [[:about|About our Project]] * [[:download|Download]] * [[:screenshots|Screenshots]] * Documentation * [[:howtos|HowTo Guides]] * [[:appnotes|Application Notes]] * [[:faq:|FAQs]] * [[:doc|General Doc]] * [[:talks|Videos, Talks, and Papers]] * [[:hardwareissues|Hardware Issues]] * [[:mailinglists|Mailing lists]] * [[http://support.etherboot.org/|Bugtracker]] * [[:contributing|Contributing]] * [[:editing_permission|Wiki Edit Permission]] * [[:wiki:syntax|Wiki Syntax]] * [[:contact|Contact]] * [[:relatedlinks|Related Links]] * [[:commerciallinks|Commercial Links]] * [[:acknowledgements|Acknowledgements]] * [[:logos|Logo Art]]

QR Code
QR Code soc:2009:lynusvaz:notes:scripting_doc:features_added (generated for current page)