Farbflash projects: Imaging lingo table | 3-D scene list | Find all | Handler menu | Lingo message window

Changeset 118 for branches


Ignore:
Timestamp:
01/25/08 00:14:46 (4 years ago)
Author:
alex
Message:

added identifier @@ to prevent parameter evaluation

Location:
branches/beta
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/beta/castlib1/doCommandMovieScript.ls

    r112 r118  
    8787    repeat with thisParam in theParams 
    8888       
    89       theVal = value(thisParam) 
     89      ------- @@ is reserved to force treatment as string in any case 
     90      ------- sometimes (esp. svn commit messages) we do not want any evaluation of the parameter 
     91      if char 1 to 2 of string(thisParam) = "@@" then 
     92        thisParam = string(thisParam) 
     93        delete char 1 to 2 of thisParam 
     94        theVal = void 
     95      else 
     96        theVal = value(thisParam) 
     97      end if 
     98       
    9099      if voidP(theVal) then 
    91100        if (string(thisParam)).word.count > 0 then 
     
    150159end 
    151160 
    152   
Note: See TracChangeset for help on using the changeset viewer.