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

Ignore:
Timestamp:
03/21/10 11:39:48 (2 years ago)
Author:
alex
Message:

cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lingosource/castlib2/commonMovieScript.ls

    r244 r245  
    6666----------------------------------- 
    6767 
    68 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
    69 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
    70  
    71  
    72  
     68on _____________________PROPERTY_DECLARATION me 
     69end 
     70-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
     71property ancestor 
    7372property pGList 
    7473property pCaseLists 
     74 
     75 
     76-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
     77on ___________________STANDARD_EVENTS me 
     78end 
     79-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
     80 
     81on new me 
     82  Script_Root_Object = member("Script_Root_Object") 
     83  if ilk(Script_Root_Object) = #member then 
     84    if Script_Root_Object.type = #script then 
     85      ancestor = new(script "Script_Root_Object") 
     86      mSetScriptName me, "commonMovieScript" 
     87    end if 
     88  end if 
     89  return me 
     90end 
     91 
     92-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
     93 
     94on mFilterString me, string_Input, string_keyword 
     95  ----------------------------------- 
     96  -- CREATED: 26.02.2010 
     97  -- ACTION: Filter to constrain the results 
     98  --                       use "%" or "^" as the first char if the filter shall be => 
     99  --                                                     'word STARTS with <string_keyword>' 
     100  --                       use "$" as the last char if the filter shall be => 
     101  --                                                     'word ENDS with <string_keyword>' 
     102  --                       (HINT: if searching for the exact phrase use ^keyword$ as filter) 
     103  --                       otherwise the string <string_keyword> may appear anywhere in the word => 
     104  --                                                     'word CONTAINS <string_keyword>' 
     105  -- INPUT: <string_Input> ; string 
     106  --        <string_keyword> ; string 
     107  -- RETURNS: boolean (integer 1 or 0) ; true or false 
     108  -- EXAMPLE: put xscr().mFilterString("commonmoviescript", "%comm") -- STARTS 
     109  --          -- 1 
     110  --          put xscr().mFilterString("commonmoviescript", "ript$") 
     111  --          -- 1 
     112  --          put xscr().mFilterString("commonmoviescript", "%commonmoviescript$") 
     113  --          -- 1 
     114  --          put xscr().mFilterString("commonmoviescript", "movie") 
     115  --          -- 1 
     116  ----------------------------------- 
     117   
     118  string_Input = string(string_Input) 
     119  if length(string_Input) < 1 then return 0 
     120   
     121  string_keyword = string(string_keyword) 
     122  if length(string_keyword) < 1 then return 1 
     123   
     124  if string_keyword starts "^" then 
     125    delete char 1 of string_keyword 
     126    offs = offset(string_keyword, string_Input) 
     127    return (offs = 1) 
     128  else if string_keyword starts "%" then 
     129    delete char 1 of string_keyword 
     130    offs = offset(string_keyword, string_Input) 
     131    return (offs = 1) 
     132  else if the last char of string_keyword = "$" then 
     133    delete the last char of string_keyword 
     134    offs = offset(string_keyword, string_Input) 
     135    return (offs = (length(string_Input) - length(string_keyword) + 1)) 
     136  else 
     137    offs = offset(string_keyword, string_Input) 
     138    return (offs > 0) 
     139  end if 
     140   
     141end 
     142 
     143-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
    75144 
    76145on mGetGlobalList me 
     
    163232  ----------------------------------- 
    164233   
     234  delayedCallBackList = mGetGlobalValue(me, #delayedCallBackList) 
     235  if ilk(delayedCallBackList) = #proplist then 
     236    jobs = delayedCallBackList[#jobs] 
     237    repeat with n = count(jobs) down to 1 
     238      toName = jobs.getPropAt(n) 
     239      dto = timeout(toName) 
     240      if ilk(dto) = #timeout then dto.forget() 
     241    end repeat 
     242    delayedCallBackList[#jobs] = [:] 
     243  end if 
    165244   
    166245  sendAllSprites(#mStopMovieWasCalled) 
     
    218297    mSetGlobalValue(me, #playBackModeValueList, playBackModeValueList) 
    219298  end if 
    220   return playBackModeValueList[symbol_Prop] = any_value 
     299  playBackModeValueList[symbol_Prop] = any_value 
    221300end 
    222301 
     
    317396 
    318397on mGetFloatVersionNumber me, prodVers 
    319     offs = offset(".", prodVers) 
    320     if offs > 0 then 
    321       intVers = char 1 to offs of prodVers 
    322       delete char 1 to offs of prodVers 
    323     else 
    324       intVers = "" 
    325     end if 
    326     cnt = length(prodVers) 
    327     repeat with n = 1 to cnt 
    328       c = prodVers.char[n] 
    329       if integerP(integer(c)) then 
    330         put c after intVers 
    331       else if c <> "." then 
    332         exit repeat 
    333       end if 
    334     end repeat 
    335      
     398  offs = offset(".", prodVers) 
     399  if offs > 0 then 
     400    intVers = char 1 to offs of prodVers 
     401    delete char 1 to offs of prodVers 
     402  else 
     403    intVers = "" 
     404  end if 
     405  cnt = length(prodVers) 
     406  repeat with n = 1 to cnt 
     407    c = prodVers.char[n] 
     408    if integerP(integer(c)) then 
     409      put c after intVers 
     410    else if c <> "." then 
     411      exit repeat 
     412    end if 
     413  end repeat 
     414   
    336415  return value(intVers) 
    337416end 
     
    363442      env = gLameAuthoringHack_forSlowEnvironment_onMac 
    364443    else 
    365     env = the environment 
     444      env = the environment 
    366445    end if 
    367446     
     
    388467  if voidP(gPlatform) then 
    389468     
    390   isMac = the platform contains "Macintosh" 
    391   if isMac then 
     469    isMac = the platform contains "Macintosh" 
     470    if isMac then 
    392471       
    393472      onX = value(char 1 of (the last word of (mGetEnvironment(me)).osversion)) <= 5 
     
    553632  --         <p1 - p3> ; arbitrary parameters ; just in case additional parameters are required, 
    554633  --             which can not, for some reason, be stored in the object <callbackObject> itself 
    555   -- RETURNS: either a string or an integer. In case of 1 the callback was successfully called, otherwise 
     634  -- RETURNS: either a string or any value. In case of a parameter error 
    556635  --             an errorstring is returned and the callback was NOT successfully called. 
    557   -- EXAMPLE: xscr().mDoCallBack(callBackObject) 
     636  -- EXAMPLE: theResult = xscr().mDoCallBack(callBackObject) 
    558637  ----------------------------------- 
    559638   
     
    578657  case ilk(tgt) of 
    579658    #script, #instance: 
    580       call(hnd, [tgt], callbackObject, p1, p2, p3) 
     659      retval = call(hnd, [tgt], callbackObject, p1, p2, p3) 
    581660    #list, #proplist: 
    582661      if count(tgt) = 0 then 
     
    591670        put "p3:" && p3 
    592671        put "---------------------------" 
     672        retval = 1 
    593673      else 
    594       call(hnd, tgt, callbackObject, p1, p2, p3) 
     674        retval = call(hnd, tgt, callbackObject, p1, p2, p3) 
    595675      end if 
    596676       
     
    598678      spr = mGetKanal(me, tgt) 
    599679      if spr < 1 then return "callbackObject[#target] is neither an object nor a spritenumber/name:" && callbackObject[#target] 
    600       sendSprite(spr, hnd, callbackObject, p1, p2, p3) 
     680      retval = sendSprite(spr, hnd, callbackObject, p1, p2, p3) 
    601681  end case 
    602682   
     683  return retval 
     684end 
     685 
     686-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
     687 
     688on mDoDelayedCallback me, proplist_callbackObject, integer_DelayTime, any_param1, any_param2, any_param3 
     689  ----------------------------------- 
     690  -- CREATED: 04.02.2010 
     691  -- ACTION: Break the event chain by deleying a call by at least one milliseconds 
     692  -- INPUT:  <callbackObject> ; object (propertylist) ; required ; a callBack object of the format: 
     693  --             [#handler:symbol, #target:object], which can be any number of additional properties 
     694  --             since this object will be provided as parameter to the recipient 
     695  --             the recipient can access all these additional properties 
     696  --         <integer_DelayTime> ; integer ; timeoutlength in milliseconds, optional, default = 1 
     697  --         <any_param1 - any_param3> ; arbitrary parameters ; just in case additional parameters are required, 
     698  --             which can not, for some reason, be stored in the object <callbackObject> itself 
     699  -- RETURNS: true for success 
     700  -- EXAMPLE: cb = [#target:me, #handler:#foo] 
     701  --          xscr().mDoDelayedCallback(cb, 1, "abc", 3, []) 
     702  ----------------------------------- 
     703   
     704  delayedCallBackList = mGetGlobalValue(me, #delayedCallBackList) 
     705  if ilk(delayedCallBackList) <> #proplist then 
     706    delayedCallBackList = [:] 
     707    delayedCallBackList[#lastIndex] = 0 
     708    delayedCallBackList[#jobs] = [:] 
     709    mSetGlobalValue(me, #delayedCallBackList, delayedCallBackList) 
     710  end if 
     711   
     712  if ilk(integer_DelayTime) <> #integer then integer_DelayTime = 1 
     713  integer_DelayTime = max(1, integer_DelayTime) 
     714   
     715  delayedCallBackList[#lastIndex] = delayedCallBackList[#lastIndex] + 1 
     716  if delayedCallBackList[#lastIndex] = the maxinteger then delayedCallBackList[#lastIndex] = 1 
     717   
     718  toName = "delayedCallbackTimeout" & mGetMemoryAddress(me, me) & delayedCallBackList[#lastIndex] 
     719   
     720  delayedCallBackList[#jobs][toName] = [#cobj: proplist_callbackObject, #params:[any_param1, any_param2, any_param3]] 
     721   
     722  dto = mCreateTimeOut(me, toName, integer_DelayTime, #delayedCallCallback, me) 
     723   
    603724  return 1 
     725end 
     726 
     727-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
     728-- cal the callback after the delay timeout 
     729 
     730on delayedCallCallback me, dto 
     731  if ilk(dto) <> #timeout then exit 
     732  toName = dto.name 
     733  dto.forget() 
     734  delayedCallBackList = mGetGlobalValue(me, #delayedCallBackList) 
     735  if ilk(delayedCallBackList) <> #proplist then exit 
     736  thisJob = delayedCallBackList[#jobs][toName] 
     737  if voidP(thisJob) then exit 
     738  delayedCallBackList[#jobs].deleteProp(toName) 
     739  mDoCallBack me, thisJob[#cobj], thisJob[#params][1], thisJob[#params][2], thisJob[#params][3] 
    604740end 
    605741 
     
    8981034   
    8991035  tempMembers = mGetTempMemberList(me, aType) 
    900   tempMembers.add(aMember) 
     1036  if tempMembers.getPos(aMember) < 1 then tempMembers.add(aMember) 
    9011037   
    9021038end 
     
    14751611end 
    14761612 
     1613-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
     1614 
     1615on mGetMemoryAddress me, theObject 
     1616  ----------------------------------- 
     1617  -- CREATED: 08.12.2009 
     1618  -- ACTION: Convert argument into a string and chop the last char 
     1619  --         Usually used to get a unique identifier for a scriptinstance (=> the last word of string(me)) 
     1620  --         but without the trailing ">". 
     1621  --         Not only this looks nicer, but also if used for a filename the ">" character is problematic in a filename 
     1622  -- INPUT: <theObject> ; any ilk which can be converted to a string 
     1623  -- RETURNS: string ; the stringified object without the trailing char 
     1624  -- EXAMPLE: uniqueInstanceIdentifier = xscr().mGetMemoryAddress(me) 
     1625  ----------------------------------- 
     1626   
     1627  theObject = the last word of string(theObject) 
     1628  delete the last char of theObject 
     1629  return theObject 
     1630end 
     1631 
     1632-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
     1633 
     1634on mGetPropertyRecursive me, proplist_source, list_propnames 
     1635  ----------------------------------- 
     1636  -- CREATED: 08.03.2010 
     1637  -- ACTION: Dereference a proplist recursively 
     1638  -- INPUT: <proplist_source> ; property list ; the source list 
     1639  --        <list_propnames> ; linear list ; linear list with property names, which lead to the last property 
     1640  -- RETURNS: any value 
     1641  -- EXAMPLE: sourceList = [#one:[#two:[#three:3]]] 
     1642  --          val = xscr().mGetPropertyRecursive(sourceList, [#one, #two, #three]) 
     1643  ----------------------------------- 
     1644   
     1645  if ilk(proplist_source) <> #proplist then return void 
     1646  if not(listP(list_propnames)) then return void 
     1647  cnt = count(list_propnames) 
     1648  if cnt < 1 then return void 
     1649  if cnt = 1 then return proplist_source[list_propnames[1]] 
     1650  propname = list_propnames[1] 
     1651  list_propnames.deleteAt(1) 
     1652  return mGetPropertyRecursive(me, proplist_source[propname], list_propnames) 
     1653end 
    14771654 
    14781655-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
     
    15081685 
    15091686on mGetNextPowerOfTwo me, breite 
     1687  powerList = mGetPowerOf2List(me) 
     1688  retval = powerList.findPosNear(integer(breite)) 
     1689  return powerList[min(retval, powerList.count)] 
     1690end 
     1691 
     1692-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
     1693 
     1694on mGetNextLowerPowerOfTwo me, breite 
     1695  powerList = mGetPowerOf2List(me) 
     1696  if powerList.getPos(breite) > 0 then return breite 
     1697  return powerList[max(1, powerList.findPosNear(integer(breite)) - 1)] 
     1698end 
     1699 
     1700-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
     1701 
     1702on mGetPowerOf2List me 
    15101703  theGlobs = mGetGlobalList(me) 
    15111704  gPowerList = theGlobs.getaprop(#gPowerList) 
    15121705  if ilk(gPowerList) <> #list then 
    1513     gPowerList = [2,4,8,16,32,64,128,256,512,1024] 
     1706    gPowerList = [1,2,4,8,16,32,64,128,256,512,1024] 
    15141707    gPowerList.sort() 
    15151708    theGlobs[#gPowerList] = gPowerList 
    15161709  end if 
    1517   retval = gPowerList.findPosNear(integer(breite)) 
    1518   return gPowerList[min(retval, gPowerList.count)] 
    1519 end 
    1520  
    1521 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
    1522  
    1523 on mGetNextLowerPowerOfTwo me, breite 
    1524   theGlobs = mGetGlobalList(me) 
    1525   gPowerList = theGlobs.getaprop(#gPowerList) 
    1526   if ilk(gPowerList) <> #list then 
    1527     gPowerList = [1,2,4,8,16,32,64,128,256,512,1024] -- mac openGL only does 512 
    1528     gPowerList.sort() 
    1529     theGlobs[#gPowerList] = gPowerList 
    1530   end if 
    1531   if gPowerList.getPos(breite) > 0 then return breite 
    1532   return gPowerList[max(1, gPowerList.findPosNear(integer(breite)) - 1)] 
    1533 end 
    1534  
    1535  
     1710  return gPowerList 
     1711end 
    15361712 
    15371713-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
     
    16321808        mp = "" 
    16331809      else 
    1634       mp = the applicationpath 
     1810        mp = the applicationpath 
    16351811      end if 
    16361812      if length(mp) < 1 then 
     
    17391915  if delim = "\" then 
    17401916    if length(thePath) > 1 then 
    1741     if thePath.char[2] = ":" then 
    1742       num = charToNum(thePath.char[1]) 
    1743       if (num > 64 and num < 91) or (num > 96 and num < 123) then 
    1744         praef = thePath.char[1 .. 2] 
    1745         delete char 1 to 2 of thePath 
     1917      if thePath.char[2] = ":" then 
     1918        num = charToNum(thePath.char[1]) 
     1919        if (num > 64 and num < 91) or (num > 96 and num < 123) then 
     1920          praef = thePath.char[1 .. 2] 
     1921          delete char 1 to 2 of thePath 
     1922        else 
     1923          praef = "" 
     1924        end if 
    17461925      else 
    17471926        praef = "" 
    17481927      end if 
    1749     else 
    1750       praef = "" 
    1751     end if 
    17521928    else 
    17531929      praef = "" 
     
    17681944      praef = "" 
    17691945    end if 
     1946     
     1947    ----------- now we want to strip the domain too, because there could be a : for the port 
     1948    ----------- but : is one of the chars we want to translate, therefore we exclude the doamin also 
     1949    if length(praef) > 0 then 
     1950       
     1951      repeat with xy = 1 to 2 
     1952        if char 1 of thePath = "/" then 
     1953          praef = praef & "/" 
     1954          delete char 1 of thePath 
     1955        end if 
     1956      end repeat 
     1957       
     1958      domain = offset("/", thePath) 
     1959      if domain = 0 then domain = length(thePath) 
     1960      praef = praef & thePath.char[1 .. domain] 
     1961      delete char 1 to domain of thePath 
     1962    end if 
     1963    ------------ 
    17701964     
    17711965  else 
     
    18982092  if voidP(uebersetzung) then return mReplacePlaceHoldersInString(me, aString, variablesList) 
    18992093   
    1900     currLang = call(#mGetPrefValue, [mGetXScript(#GetSetPrefs)], #gLanguage) 
    1901     if voidP(currLang) then 
    1902       currLang = theGlobs.getaprop(#gSprache) 
    1903       if voidP(currLang) then currLang = 0 
    1904       call(#mSetPrefValue, [mGetXScript(#GetSetPrefs)], #gLanguage, currLang) 
    1905     end if 
    1906     ind = currLang + 1 
    1907     if ind > count(uebersetzung) then ind = 1 
     2094  currLang = call(#mGetPrefValue, [mGetXScript(#GetSetPrefs)], #gLanguage) 
     2095  if voidP(currLang) then 
     2096    currLang = theGlobs.getaprop(#gSprache) 
     2097    if voidP(currLang) then currLang = 0 
     2098    call(#mSetPrefValue, [mGetXScript(#GetSetPrefs)], #gLanguage, currLang) 
     2099  end if 
     2100  ind = currLang + 1 
     2101  if ind > count(uebersetzung) then ind = 1 
    19082102   
    19092103  return mReplacePlaceHoldersInString(me, uebersetzung[ind], variablesList) 
     
    20352229-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
    20362230 
     2231on mSymbolify me, any_var 
     2232  any_var = string(any_var) 
     2233  repeat while char 1 of any_var = "#" 
     2234    delete char 1 of any_var 
     2235  end repeat 
     2236  any_var = mString2Symb(me, any_var) 
     2237  return symbol(any_var) 
     2238end 
     2239 
     2240-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
     2241 
    20372242on mString2Symb me, str 
    20382243   
     
    20432248  end repeat 
    20442249   
     2250  offs = offset(".", str) 
     2251  repeat while offs > 0 
     2252    put "_d_" into char offs of str 
     2253    offs = offset(".", str) 
     2254  end repeat 
     2255   
     2256  offs = offset("-", str) 
     2257  repeat while offs > 0 
     2258    put "_b_" into char offs of str 
     2259    offs = offset("-", str) 
     2260  end repeat 
     2261   
    20452262  if integerP(integer(str.char[1])) then put "n__" before str 
    20462263   
     
    20572274    put " " into char offs to offs+2 of str 
    20582275    offs = offset("_s_", str) 
     2276  end repeat 
     2277   
     2278  offs = offset("_d_", str) 
     2279  repeat while offs > 0 
     2280    put "." into char offs to offs+2 of str 
     2281    offs = offset("_d_", str) 
     2282  end repeat 
     2283   
     2284  offs = offset("_b_", str) 
     2285  repeat while offs > 0 
     2286    put "-" into char offs to offs+2 of str 
     2287    offs = offset("_b_", str) 
    20592288  end repeat 
    20602289   
     
    21232352-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
    21242353 
    2125  
    2126  
    21272354on mUpperCase me, aString 
    21282355   
     
    21742401  end if 
    21752402   
    2176   -- pUPPERCASE = "ABCDEFGHIJKLMNOPQRSTUVWXYZZ¯Å¯Ä"&vA& "¯Ñ¯É¯Ö¯á¯â¯à¯ä¯ã¯ç¯å¯é¯è¯ë¯ì¯í¯î¯ñ¯ï¯ö¯ô‚Çš¯ú¯Ü¯òŒíŒÞ" 
    2177   -- pLowercase = "abcdefghijklmnopqrstuvwxyz¯°¯†"&"¯¢"&"¯§¯£¯•¯ß¯©¯®¯™¯Ž¯¯š¯Æ¯Ø¯±¯Ž¯¯¥¯ð¯µ¯Š¯þ¯ª¯º¯¶¯ÞŒì¯ø" 
    2178   pCaseLists.setaprop(#uppercase, ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "¯Å", "¯Ä", vA, "A", "¯Ñ", "¯É", "¯Ö", "¯á", "¯â", "¯à", "¯ä", "¯ã", "¯ç", "¯å", "¯é", "¯è", "¯ë", "¯ì", "¯í", "¯î", "¯ñ", "¯ï", "¯ö", "¯ô", "U", "¯ú", "¯Ü", "¯ò", "Œí", "ŒÞ"]) 
    2179   pCaseLists.setaprop(#lowercase, ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "¯°", "¯†", vA, "¯¢", "¯§", "¯£", "¯•", "¯ß", "¯©", "¯®", "¯™", "¯Ž", "¯", "¯š", "¯Æ", "¯Ø", "¯±", "¯Ž", "¯", "¯¥", "¯ð", "¯µ", "¯Š", "¯þ", "¯ª", "¯º", "¯¶", "¯Þ", "Œì", "¯ø"]) 
     2403  -- pUPPERCASE = "ABCDEFGHIJKLMNOPQRSTUVWXYZZÁÀ"&vA& "ÄÃà
     2404ÇÉÈÊËÍÌÎÏÑÓÒÔÖÕÚÙ€ÜÆØŒŞ" 
     2405  -- pLowercase = "abcdefghijklmnopqrstuvwxyzáà"&"â"&"ÀãåçéÚêëíìîïñóòÎöõúùûÌÊÞœÿ" 
     2406  pCaseLists.setaprop(#uppercase, ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "Á", "À", vA, "A", "Ä", "Ã", "à
     2407", "Ç", "É", "È", "Ê", "Ë", "Í", "Ì", "Î", "Ï", "Ñ", "Ó", "Ò", "Ô", "Ö", "Õ", "Ú", "Ù", "U", "Ü", "Æ", "Ø", "Œ", "Åž"]) 
     2408  pCaseLists.setaprop(#lowercase, ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "á", "à", vA, "â", "À", "ã", "Ã¥", "ç", "é", "Ú", "ê", "ë", "í", "ì", "î", "ï", "ñ", "ó", "ò", "ÃŽ", "ö", "õ", "ú", "ù", "û", "ÃŒ", "Ê", "Þ", "œ", "ÿ"]) 
    21802409   
    21812410end 
     
    21952424      li = ["Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag","Sonntag"] 
    21962425    "pt": 
    2197       li = ["Segunda-feira","Ter¯ßa-feira","Quarta-feira","Quinta-feira","Sexta-feira","S¯°bado","Domingo"] 
     2426      li = ["Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado","Domingo"] 
    21982427    "fr": 
    21992428      li = ["Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi","Dimanche"] 
    22002429    "es": 
    2201       li = ["Lunes","Martes","Mi¯©rcoles","Jueves","Viernes","S¯°bado","Domingo"] 
     2430      li = ["Lunes","Martes","Miércoles","Jueves","Viernes","Sábado","Domingo"] 
    22022431    "it": 
    2203       li = ["Luned¯š","Marted¯š","Mercoled¯š","Gioved¯š","Venerd¯š","Sabato","Domenica"] 
     2432      li = ["Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato","Domenica"] 
    22042433    "nl": 
    22052434      li = ["Maandag","Dinsdag","Woensdag","Donderdag","Vrijdag","Zaterdag","Zondag"] 
     
    26192848  put RETURN & "" after str 
    26202849   
    2621     put RETURN & "-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" after str 
     2850  put RETURN & "-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" after str 
    26222851  put RETURN & "-- xxxxxxxxxxxxxxxxxx put <html>, <title> and <body> tags around chunk in order to use it as html of a text member" after str 
    26232852  put RETURN & "on mHTMLize me, str" after str 
     
    26562885  return str 
    26572886end 
     2887 
     2888-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
     2889 
     2890on getReferenceString me 
     2891  return "xscr()" 
     2892end 
Note: See TracChangeset for help on using the changeset viewer.