Yes/No Box?

BlitzMax Forums/BlitzMax Programming/Yes/No Box?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

' -----------------------------------------------------------------------------
' ccAddSlash: Adds a forward slash onto a path if it needs it
' -----------------------------------------------------------------------------
Function ccAddSlash$(path$)
If Right(path$, 1) <> "/" And Right(path$, 1) <> "\" Then
Return path$ + "/"
Else
Return path$
End If
End Function