Changeset 245 for trunk/lingosource/castlib2/commonMovieScript.ls
- Timestamp:
- 03/21/10 11:39:48 (2 years ago)
- File:
-
- 1 edited
-
trunk/lingosource/castlib2/commonMovieScript.ls (modified) (25 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lingosource/castlib2/commonMovieScript.ls
r244 r245 66 66 ----------------------------------- 67 67 68 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 69 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 70 71 72 68 on _____________________PROPERTY_DECLARATION me 69 end 70 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 71 property ancestor 73 72 property pGList 74 73 property pCaseLists 74 75 76 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 77 on ___________________STANDARD_EVENTS me 78 end 79 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 80 81 on 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 90 end 91 92 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 93 94 on 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 141 end 142 143 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 75 144 76 145 on mGetGlobalList me … … 163 232 ----------------------------------- 164 233 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 165 244 166 245 sendAllSprites(#mStopMovieWasCalled) … … 218 297 mSetGlobalValue(me, #playBackModeValueList, playBackModeValueList) 219 298 end if 220 returnplayBackModeValueList[symbol_Prop] = any_value299 playBackModeValueList[symbol_Prop] = any_value 221 300 end 222 301 … … 317 396 318 397 on mGetFloatVersionNumber me, prodVers 319 offs = offset(".", prodVers)320 if offs > 0 then321 intVers = char 1 to offs of prodVers322 delete char 1 to offs of prodVers323 else324 intVers = ""325 end if326 cnt = length(prodVers)327 repeat with n = 1 to cnt328 c = prodVers.char[n]329 if integerP(integer(c)) then330 put c after intVers331 else if c <> "." then332 exit repeat333 end if334 end repeat335 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 336 415 return value(intVers) 337 416 end … … 363 442 env = gLameAuthoringHack_forSlowEnvironment_onMac 364 443 else 365 env = the environment444 env = the environment 366 445 end if 367 446 … … 388 467 if voidP(gPlatform) then 389 468 390 isMac = the platform contains "Macintosh"391 if isMac then469 isMac = the platform contains "Macintosh" 470 if isMac then 392 471 393 472 onX = value(char 1 of (the last word of (mGetEnvironment(me)).osversion)) <= 5 … … 553 632 -- <p1 - p3> ; arbitrary parameters ; just in case additional parameters are required, 554 633 -- 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, otherwise634 -- RETURNS: either a string or any value. In case of a parameter error 556 635 -- an errorstring is returned and the callback was NOT successfully called. 557 -- EXAMPLE: xscr().mDoCallBack(callBackObject)636 -- EXAMPLE: theResult = xscr().mDoCallBack(callBackObject) 558 637 ----------------------------------- 559 638 … … 578 657 case ilk(tgt) of 579 658 #script, #instance: 580 call(hnd, [tgt], callbackObject, p1, p2, p3)659 retval = call(hnd, [tgt], callbackObject, p1, p2, p3) 581 660 #list, #proplist: 582 661 if count(tgt) = 0 then … … 591 670 put "p3:" && p3 592 671 put "---------------------------" 672 retval = 1 593 673 else 594 call(hnd, tgt, callbackObject, p1, p2, p3)674 retval = call(hnd, tgt, callbackObject, p1, p2, p3) 595 675 end if 596 676 … … 598 678 spr = mGetKanal(me, tgt) 599 679 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) 601 681 end case 602 682 683 return retval 684 end 685 686 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 687 688 on 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 603 724 return 1 725 end 726 727 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 728 -- cal the callback after the delay timeout 729 730 on 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] 604 740 end 605 741 … … 898 1034 899 1035 tempMembers = mGetTempMemberList(me, aType) 900 tempMembers.add(aMember)1036 if tempMembers.getPos(aMember) < 1 then tempMembers.add(aMember) 901 1037 902 1038 end … … 1475 1611 end 1476 1612 1613 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 1614 1615 on 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 1630 end 1631 1632 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 1633 1634 on 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) 1653 end 1477 1654 1478 1655 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx … … 1508 1685 1509 1686 on mGetNextPowerOfTwo me, breite 1687 powerList = mGetPowerOf2List(me) 1688 retval = powerList.findPosNear(integer(breite)) 1689 return powerList[min(retval, powerList.count)] 1690 end 1691 1692 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 1693 1694 on 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)] 1698 end 1699 1700 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 1701 1702 on mGetPowerOf2List me 1510 1703 theGlobs = mGetGlobalList(me) 1511 1704 gPowerList = theGlobs.getaprop(#gPowerList) 1512 1705 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] 1514 1707 gPowerList.sort() 1515 1708 theGlobs[#gPowerList] = gPowerList 1516 1709 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 1711 end 1536 1712 1537 1713 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx … … 1632 1808 mp = "" 1633 1809 else 1634 mp = the applicationpath1810 mp = the applicationpath 1635 1811 end if 1636 1812 if length(mp) < 1 then … … 1739 1915 if delim = "\" then 1740 1916 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 1746 1925 else 1747 1926 praef = "" 1748 1927 end if 1749 else1750 praef = ""1751 end if1752 1928 else 1753 1929 praef = "" … … 1768 1944 praef = "" 1769 1945 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 ------------ 1770 1964 1771 1965 else … … 1898 2092 if voidP(uebersetzung) then return mReplacePlaceHoldersInString(me, aString, variablesList) 1899 2093 1900 currLang = call(#mGetPrefValue, [mGetXScript(#GetSetPrefs)], #gLanguage)1901 if voidP(currLang) then1902 currLang = theGlobs.getaprop(#gSprache)1903 if voidP(currLang) then currLang = 01904 call(#mSetPrefValue, [mGetXScript(#GetSetPrefs)], #gLanguage, currLang)1905 end if1906 ind = currLang + 11907 if ind > count(uebersetzung) then ind = 12094 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 1908 2102 1909 2103 return mReplacePlaceHoldersInString(me, uebersetzung[ind], variablesList) … … 2035 2229 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 2036 2230 2231 on 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) 2238 end 2239 2240 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 2241 2037 2242 on mString2Symb me, str 2038 2243 … … 2043 2248 end repeat 2044 2249 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 2045 2262 if integerP(integer(str.char[1])) then put "n__" before str 2046 2263 … … 2057 2274 put " " into char offs to offs+2 of str 2058 2275 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) 2059 2288 end repeat 2060 2289 … … 2123 2352 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 2124 2353 2125 2126 2127 2354 on mUpperCase me, aString 2128 2355 … … 2174 2401 end if 2175 2402 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, "â", "À", "ã", "Ã¥", "ç", "é", "Ú", "ê", "ë", "Ã", "ì", "î", "ï", "ñ", "ó", "ò", "ÃŽ", "ö", "õ", "ú", "ù", "û", "ÃŒ", "Ê", "Þ", "Å", "ÿ"]) 2180 2409 2181 2410 end … … 2195 2424 li = ["Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag","Sonntag"] 2196 2425 "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"] 2198 2427 "fr": 2199 2428 li = ["Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi","Dimanche"] 2200 2429 "es": 2201 li = ["Lunes","Martes","Mi ¯©rcoles","Jueves","Viernes","S¯°bado","Domingo"]2430 li = ["Lunes","Martes","Miércoles","Jueves","Viernes","Sábado","Domingo"] 2202 2431 "it": 2203 li = ["Luned ¯š","Marted¯š","Mercoled¯š","Gioved¯š","Venerd¯š","Sabato","Domenica"]2432 li = ["Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato","Domenica"] 2204 2433 "nl": 2205 2434 li = ["Maandag","Dinsdag","Woensdag","Donderdag","Vrijdag","Zaterdag","Zondag"] … … 2619 2848 put RETURN & "" after str 2620 2849 2621 put RETURN & "-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" after str2850 put RETURN & "-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" after str 2622 2851 put RETURN & "-- xxxxxxxxxxxxxxxxxx put <html>, <title> and <body> tags around chunk in order to use it as html of a text member" after str 2623 2852 put RETURN & "on mHTMLize me, str" after str … … 2656 2885 return str 2657 2886 end 2887 2888 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 2889 2890 on getReferenceString me 2891 return "xscr()" 2892 end
Note: See TracChangeset
for help on using the changeset viewer.
