wonkyadjective 1: turned or twisted toward one side 2: lopsided or misaligned

Did you know that the margins in your CRBasic program are supposed to look nice and neat? You should be able to see groupings of output statements in DataTables, If/Then/Else statements, and other logic.

Copying and pasting in CRBasic can cause the margins to go wonky, making it harder to read the program's logic. Selecting Edit | Rebuild Indentation (Ctrl I) reworks those margins.

Before using Rebuild Indentation:

DataTable (Test2,1,-1)
   DataInterval (0,15,Sec,10)
   Minimum (1,batt_volt,FP2,0,False)
      Sample (1,PTemp,FP2)
      Average (1,PTemp,FP2,False)
Maximum (1,PTemp,FP2,False,False)
         Minimum (1,PTemp,FP2,False,False)
EndTable

After:

DataTable (Test2,1,-1)
   DataInterval (0,15,Sec,10)
   Minimum (1,batt_volt,FP2,0,False)
   Sample (1,PTemp,FP2)
   Average (1,PTemp,FP2,False)
   Maximum (1,PTemp,FP2,False,False)
   Minimum (1,PTemp,FP2,False,False)
EndTable

So, the next time your program looks discombobulated, use Ctrl I before throwing in the towel. See this tip in action in the CRBasic Features tutorial.

Wonkily,

   

We're active on social media!
Stay informed with our latest updates by following us on these platforms: