Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
set @l = 0
set @s = buildrowsetfromstring("Baby shark|Mommy shark|Daddy shark|Grandma shark|Grandpa shark|Let's go hunt|Run away|Safe at last|It's the end","|")
for @v=1 to 36 do
set @m=mod(@v,4)
set @l=add(@l,iif(@m==1,1,0))
set @r = row(@s,@l)
set @f = field(@r,1)
outputline(v(@f),iif(@m>0,", doo doo doo doo doo doo","!"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment