WheretIB / nullc

Fast C-like programming language with advanced features
MIT License
163 stars 13 forks source link

string corrupt #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
>>script
import std.io;
char[] textVal = "";
void setTestStr(){    textVal = "testString";} 
int killTestStr(auto ref[] lParam){/* double d,  d1, d2, d3, d4, d5; */ return 
0;}
setTestStr();
Print(textVal);Print("\r\n");
killTestStr(0);
Print(textVal);Print("\r\n");
return 0;

>>out console

testString
☺

Original issue reported on code.google.com by TOLCli...@yandex.ru on 9 Feb 2013 at 6:09

GoogleCodeExporter commented 9 years ago
This issue has been fixed and I've added std.string and std.stringio modules 
for string manipulation in the recent block of changes with support for 
std::string-like set of functions.

Original comment by Where...@gmail.com on 19 May 2013 at 9:10