I had assumed that the question was about how to use Hangul in names of 
user-written procedures and reporters, or to embed Hangul in strings.  신대용, 
can you be more specific about what you want to be able to do?

On Thursday, October 9, 2014 2:30:05 PM UTC-5, Jason Bertsche wrote:
>
>  I can't say this is really a recommended thing to do, but... there are a 
> couple of ways to do it, and both involve changing essentially the same 
> file.  If you download the source code of NetLogo and look at 
> 'resources/system/tokens.txt', or open the 'NetLogo.jar' of your existing 
> NetLogo installation and find the file 'system/tokens.txt' (making sure to 
> reinsert this file into 'NetLogo.jar' after you've changed it), you will 
> see many rows of text in the following format:
>
> ```
> <'C' or 'R'> <NetLogo code> <equivalent primitive class under the hood>
> ```
>
> For example:
>
> ```
> C create-turtles _createturtles
> ```
>
> The 'C' is because it's a command—'R' is for reporters.  `create-turtles` 
> is the NetLogo code that we type to run this primitive in the NetLogo 
> application.  `_createturtles` is the primitive class that the NetLogo 
> internals will use to represent the instruction.
>
> We can, of course, edit this file to use whatever names we want for those 
> primitives by swapping out the middle term for one of our choosing.  So I 
> added this line to the file:
>
> ```
> C schaffen-sie-schildkröten _createturtles
> ```
>
> and now, after recompiling the code and launching NetLogo anew, I can 
> create 5 turtles by running `schaffen-sie-schildkröten 5`.
>
> Note that this won't change any existing models to display their 
> `create-turtles` calls as `schaffen-sie-schildkröten` calls.  There's not 
> really an easy way to do that, short of writing some sort of script that 
> goes into '.nlogo' files and translates the code.
>
> On 10/08/2014 10:27 PM, 신대용 wrote:
>  
>  I think, maybe this problem is surprisingly simple.
>  am i wrong??
>
>  please teach me about it...
>
>  -- 
> You received this message because you are subscribed to the Google Groups 
> "netlogo-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>
> 

-- 
You received this message because you are subscribed to the Google Groups 
"netlogo-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to