{ Rouge }

An elegant, extendable code highlighter written in pure Ruby.

Available on GitHub

Server Error: A server error occurred while processing your request.
Dim f As FolderItem
f = GetOpenFolderItem(FileTypes1.jpeg) // defined in the File Type Set editor
rem - we should check for nil!
If not f.Exists Then
  Beep 'Just for fun
  MsgBox("The file " + f.NativePath + "doesn't ""exist.""")
Else // document exists
  ImageWell1.image=Picture.Open(f)
End If
if f isa folderitem then
  msgbox(f.name)
end if
Exception err As NilObjectException
  MsgBox("Invalid pathname!")