Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Report Error on newline (http://www.chiefdelphi.com/forums/showthread.php?t=147098)

Arhowk 12-04-2016 21:02

Report Error on newline
 
If I have this code

Code:

wpilib.DriverStation.reportError("error1", false)
wpilib.DriverStation.reportError("error2", false)

It shows up as

Code:

error1error2
Jow do i get it to show up as
Code:

error1
error2

I tried things along the lines of \n, \r\n but it still was no help

virtuald 12-04-2016 23:07

Re: Report Error on newline
 
Hm, looks like it's just a passthrough? Might try a sample java program and see what happens?

Christopher149 12-04-2016 23:24

Re: Report Error on newline
 
What if you try?

Code:

wpilib.DriverStation.reportError("error1\n", false)
wpilib.DriverStation.reportError("error2\n", false)



All times are GMT -5. The time now is 09:52.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi