%[ | |
set @s = "Baby shark|Mommy shark|Daddy shark|Grandma shark|Grandpa shark|Let's go hunt|Run away|Safe at last|It's the end|" | |
for @i=1 to 112 do | |
set @c = substring(@s,@i,1) | |
if @c == "|" then | |
for @l=1 to 4 do | |
outputline(v(@v),iif(@l<4,", doo doo doo doo doo doo","!")) | |
next | |
set @v = "" | |
else | |
set @v = concat(@v,@c) | |
endif | |
next | |
]%% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment