Learn Mewar's unique Tell, Show, Explain and Goal features through practical examples.
set nums to [10, 20, 30] say "Max of list:" tell max of nums say "Min of list:" tell min of nums say "Sum of list:" tell sum of nums say "Average of list:" tell average of nums say "Count of list:" tell count of nums
set a to 10 set b to "Hello" set nums to [1, 2, 3] show newline show a newline show b newline show nums
set kings to ["Pratap","Sanga","Kumbha"] show kings
set score to 95 explain score
set nums to [10, 20, 30] for n in nums then explain loop end
set age to 20 set rank to "Captain" explain age > 18 and rank is "Captain"
set a to 10 set b to 20 say (a + b) explain program
#1 profram goal sum == 10 goal "Sum must be correct" set a to 3 set b to 4 set sum to a + b explain program newline #2 program say "second program" goal sum == 10 goal "Sum must be correct" set a to 6 set b to 4 set sum to a + b explain program
matrix A = [[1,2],[3,4]] say "Matrix A:" show A