Skip to content

Instantly share code, notes, and snippets.

@ba0f3
Created June 18, 2015 18:59
Show Gist options
  • Save ba0f3/712051d4d6939e1b2075 to your computer and use it in GitHub Desktop.
Save ba0f3/712051d4d6939e1b2075 to your computer and use it in GitHub Desktop.
Hint: used config file '/Volumes/Data/Projects/Nim/config/nim.cfg' [Conf]
Hint: system [Processing]
Hint: test [Processing]
test.nim(1, 9) Error: undeclared identifier: 'newWideCString'
rgv151@airsupply /V/D/P/bogo-nim> nim -v
Nim Compiler Version 0.11.3 (2015-06-19) [MacOSX: amd64]
Copyright (c) 2006-2015 by Andreas Rumpf
git hash: 29b09a3c7d825cda6dad7c5d4030f752de266190
active boot switches: -d:release
rgv151@airsupply /V/D/P/bogo-nim> cat test.nim
var s = newWideCString("àáảãạaằắẳẵặăầấẩẫậâèéẻẽẹeềếểễệêìíỉĩịiòóỏõọoồốổỗộôờớởỡợơùúủũụuừứửữựưỳýỷỹỵy")
echo s.len
for r in s:
echo r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment