User Tools

Site Tools


cookbooks:3.2.x:core

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
cookbooks:3.2.x:core [2011/12/12 09:19] – [syn_branch] 85.178.77.57cookbooks:3.2.x:core [2012/03/23 14:43] – [define] added trydef and redefine in define list 212.227.35.137
Line 59: Line 59:
   * #!else - swtich to false branch of ifdef/ifndef region   * #!else - swtich to false branch of ifdef/ifndef region
   * #!endif - end ifdef/ifndef region   * #!endif - end ifdef/ifndef region
 +  * #!trydef -  add a define if not already defined
 +  * #!redefine - force redefinition even if already defined
  
 Among benefits: Among benefits:
Line 1908: Line 1910:
               resetflag(b);  # equiv. to resetflag(2)                resetflag(b);  # equiv. to resetflag(2) 
  
 +==== is_int ====
 +Checks if a pseudo variable argument contains integer value. 
  
 +  if(is_int("$avp(foobar)")) {
 +    log("foobar contains an integer\n");
 +  }
  
 ==== log ==== ==== log ====
cookbooks/3.2.x/core.txt · Last modified: 2016/02/02 15:31 by alexh

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki