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

Changeset 116 for trunk/lingosource


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

added identifier @@ to prevent parameter evaluation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lingosource/castlib1/doCommandMovieScript.ls

    r113 r116  
    8585    repeat with thisParam in theParams 
    8686       
    87       theVal = value(thisParam) 
     87      ------- @@ is reserved to force treatment as string in any case 
     88      ------- sometimes (esp. svn commit messages) we do not want any evaluation of the parameter 
     89      if char 1 to 2 of string(thisParam) = "@@" then 
     90        thisParam = string(thisParam) 
     91        delete char 1 to 2 of thisParam 
     92        theVal = void 
     93      else 
     94        theVal = value(thisParam) 
     95      end if 
     96       
     97       
    8898      if voidP(theVal) then 
    8999        if (string(thisParam)).word.count > 0 then 
Note: See TracChangeset for help on using the changeset viewer.