Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save wvpv/a7c8d749f83d6303f9d05131aafbba2a to your computer and use it in GitHub Desktop.
Save wvpv/a7c8d749f83d6303f9d05131aafbba2a to your computer and use it in GitHub Desktop.
%%[
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 @l=substring(add(divide(add(@v,-1),4),1),1,1)
set @r = row(@s,@l)
set @f = field(@r,1)
outputline(v(@f),iif(mod(@v,4)>0,", doo doo doo doo doo doo","!"))
next
]%%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment