#80 a blank after "StrCat" causes an error

compiler
closed-fixed
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

/// please ignore the previous article of the same contents (posted anonymously).

Discussion

  • John Hansen
    John Hansen
    2010-01-04

    • status: open --> closed-fixed
     
  • John Hansen
    John Hansen
    2010-01-04

    This error no longer occurs in the current test release of b36.