Variables and anchors
ID: 193
using uCalcSoftware;
var uc = new uCalc();
var t = uc.NewTransformer();
t.FromTo("is {etc} see", "({@Self})");
Console.WriteLine(t.Transform("This is a test to see how anchors/variables work"));
This (is a test to see) how anchors/variables work using uCalcSoftware; var uc = new uCalc(); var t = uc.NewTransformer(); t.FromTo("is {etc} see", "({@Self})"); Console.WriteLine(t.Transform("This is a test to see how anchors/variables work"));
#include
#include "uCalc.h"
using namespace std;
using namespace uCalcSoftware;
int main() {
uCalc uc;
auto t = uc.NewTransformer();
t.FromTo("is {etc} see", "({@Self})");
cout << t.Transform("This is a test to see how anchors/variables work") << endl;
}
This (is a test to see) how anchors/variables work #include <iostream> #include "uCalc.h" using namespace std; using namespace uCalcSoftware; int main() { uCalc uc; auto t = uc.NewTransformer(); t.FromTo("is {etc} see", "({@Self})"); cout << t.Transform("This is a test to see how anchors/variables work") << endl; }
Imports System
Imports uCalcSoftware
Public Module Program
Public Sub Main()
Dim uc As New uCalc()
Dim t = uc.NewTransformer()
t.FromTo("is {etc} see", "({@Self})")
Console.WriteLine(t.Transform("This is a test to see how anchors/variables work"))
End Sub
End Module
This (is a test to see) how anchors/variables work Imports System Imports uCalcSoftware Public Module Program Public Sub Main() Dim uc As New uCalc() Dim t = uc.NewTransformer() t.FromTo("is {etc} see", "({@Self})") Console.WriteLine(t.Transform("This is a test to see how anchors/variables work")) End Sub End Module