[V4REV] How correctly prepare stack for cross-platform use ?

Ruslan Zasukhin sunshine at public.kherson.ua
Sun Jun 12 00:04:12 CDT 2005


On 6/11/05 11:08 PM, "Trevor DeVore" <lists at mangomultimedia.com> wrote:

> On Jun 11, 2005, at 12:41 PM, Trevor DeVore wrote:

Hi Trevor,

Is it hard to improve this to work with subfolders ?

Our examples are in

    Examples
        SQL_way
            ex1
            ex2
        API_WAY
            ex    
            ex

> Sorry the handler I sent had some mistakes in it.  Here is a revised
> one that works:
> 
> on setExternals
>      answer folder "Select folder with stacks"
>      if it <> empty then
>          put it into tFolder
>          put defaultFolder into tOrigDefault
>          set defaultFolder to tFolder
>          put files() into tStacks
> 
>          repeat for each line tStack in tStacks
>              if char 1 of tStack = "." then next repeat
> 
>              get tFolder &slash& tStack
>              if there is a stack it then
>                  set the externals of stack it to "windows.dll" &cr&
> "mac.bundle"
>                  save stack it
>                  delete stack it    --> REMOVE FROM MEMORY
>              end if
>          end repeat
> 
>          set defaultFolder to tOrigDefault
>      end if
> end setExternals

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list