Replacing all horizontal whitespace with a visible underscore for debugging.
ID: 889
See: {@Whitespace}
using uCalcSoftware;
var uc = new uCalc();
var t = new uCalc.Transformer();
t.FromTo("{@Whitespace}", "_");
Console.WriteLine(t.Transform("x = 10 + y"));
x_=_10_+_y using uCalcSoftware; var uc = new uCalc(); var t = new uCalc.Transformer(); t.FromTo("{@Whitespace}", "_"); Console.WriteLine(t.Transform("x = 10 + y"));
#include
#include "uCalc.h"
using namespace std;
using namespace uCalcSoftware;
int main() {
uCalc uc;
uCalc::Transformer t;
t.FromTo("{@Whitespace}", "_");
cout << t.Transform("x = 10 + y") << endl;
}
x_=_10_+_y #include <iostream> #include "uCalc.h" using namespace std; using namespace uCalcSoftware; int main() { uCalc uc; uCalc::Transformer t; t.FromTo("{@Whitespace}", "_"); cout << t.Transform("x = 10 + y") << endl; }
Imports System
Imports uCalcSoftware
Public Module Program
Public Sub Main()
Dim uc As New uCalc()
Dim t As New uCalc.Transformer()
t.FromTo("{@Whitespace}", "_")
Console.WriteLine(t.Transform("x = 10 + y"))
End Sub
End Module
x_=_10_+_y Imports System Imports uCalcSoftware Public Module Program Public Sub Main() Dim uc As New uCalc() Dim t As New uCalc.Transformer() t.FromTo("{@Whitespace}", "_") Console.WriteLine(t.Transform("x = 10 + y")) End Sub End Module