#79 a blank after "StrCat" causes an error

compiler
closed-duplicate
John Hansen
NXC (53)
5
2010-01-04
2010-01-04
Anonymous
No

// trk_StrCat.nxc
#include "NXCDefs.h"

task main(){
string str1, str2;
str1=StrCat("a", "b"); // OK
str1=StrCat ("a", "b"); // error: string constant or var. of type
// string expected ??
// observations: a blank after word "StrCat" causes a problem

} // end main

Discussion

  • John Hansen
    John Hansen
    2010-01-04

    • status: open --> closed-duplicate