Author Topic: GUID Generator  (Read 12973 times)

Lisa

  • Senior Community Member
  • Posts: 238
  • Hero Points: 24
  • User-friendly geek-speak translator extraordinaire
GUID Generator
« on: July 22, 2008, 03:36:08 PM »
You don't have to leave SlickEdit to generate GUIDs (Globally Unique IDentifiers) for your databases, file names, and URLs. Just click the menu item Tools > GUID Generator (or use the gui_insert_guid command). The GUID Generator lets you pick from seven different formats for the new GUID (including brace, paren, and number formats as well as some predefined language structures), and provides buttons to copy and/or insert at the cursor location.

GUIDs can also be inserted without the dialog by using the insert_guid command. This command takes an optional one-letter parameter for the GUID format, which is one of  [BGPNCDO].  The default is B, for brace format.

Here is an example of a GUID in the DEFINE_GUID (D) format:

/*{13B53C03-4C99-451E-8645-1D55D2F2DDF2}*/
DEFINE_GUID(<<name>>, 0x13B53C03, 0x4C99, 0x451E, 0x86, 0x45, 0x1D, 0x55, 0xD2, 0xF2, 0xDD, 0xF2);