Skip to content

Instantly share code, notes, and snippets.

@Maome
Created February 27, 2014 04:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Maome/9244627 to your computer and use it in GitHub Desktop.
Save Maome/9244627 to your computer and use it in GitHub Desktop.
Dim outputString as String
Dim accepted As Boolean
outputString = ''
accepted = true
If (bad thing logic here) Then
firstRecommendation = 'your thing is bad'
accepted = false
End if
If (bad load logic here) Then
secondRecommendation = 'your loan is bad lol'
accepted = false
End if
if accepted then
outputString = 'Accepted'
else
outputString = 'Not Accepted: '
if firstRecommendation != '' then
outputString.append(firstRecommendation)
end if
if secondRecommendation != '' then
outputString.append(secondRecommendation)
end if
end if
return outputString
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment