kwote

Sarah Reichelt sarah.reichelt at gmail.com
Sun Nov 13 22:05:15 EST 2005


> Well, I need to do it - it's one of the script processing functions I
> haven't written:
>
> function script_Inline someScript, functionCalled
>      -- take the function replace the call with transcript code
> extracted from the text of the functionCalled
>      return newScript
> end script_Inline
>
> function script_ReplaceFunctionCall someScript, functionCallName,
> newFunctionCallName
>      -- take the function replace the call with the name of the new
> function
>      return newScript
> end script_ReplaceFunctionCall
>
> function script_ReNameFunction someScript, functionCallName,
> newFunctionCallName
>      -- take the script
>      -- rename the function
>      -- then replace the function calls with the name of the new
> function
>      return newScript
> end script_ReNameFunction
>

Your 2nd & 3rd functions can be done using Rev's Find & Replace. So
you only need to concentrate on #1.

Sarah



More information about the use-livecode mailing list