Thanks.

If deploy application which uses resource:, it have to be place in same dir?

I'll change to MEMO: run once.

I thought encoding table is almost never changing.

Thanks to your clear advice, Slava. :-)



2009/2/10 Slava Pestov <sl...@factorcode.org>:
> On Mon, Feb 9, 2009 at 7:44 PM, Jong-Hyouk Yun <ageld...@gmail.com> wrote:
>> Thanks, Dan.
>>
>> I'll convert resource file into hard-coded lookup table, because I'm
>> not sure it works when it deployed as an image.
>
> If you want the table to be loaded at parse time, then use VALUE:, or
> force the memo word to run once with a top-level form:
>
> MEMO: foo-table ... file-contents ;
>
> ...
>
> foo-table drop
>
> Please don't put hard-coded tables inside Factor source code. If your
> original encoding description ever changes, you'll have to re-generate
> your table by hand, which is not very good from a maintainability
> standpoint.
>
> Slava
>
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code to
> build responsive, highly engaging applications that combine the power of local
> resources and data with the reach of the web. Download the Adobe AIR SDK and
> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
> _______________________________________________
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to