data format of dataPath

edited January 2018 in Questions about Code


Isn't the format of dataPath String? Although I wrote the following code, but A wasn't called. Why isn't the println("A") called?

String data_path = dataPath("test"); if(data_path == dataPath("test")) { println("A"); } else { println("B"); }

Best regards, gellpro


Sign In or Register to comment.