Progress 4GL Code Samples · Index · Part 1 · 2 · 3 · 4 · 5 · Expand · Web Feed


getUniqueFileName.p returns a unique file name with fully qualified path.
Usage:


DEF var cExtension AS CHAR NO-UNDO. /* .txt .wmf .bmp ....*/
DEF var cTargetPath AS CHAR init ? NO-UNDO. /* ?=tempDir or relative path from workdir like /globtools */
DEF var cUniqueFileName AS CHAR INIT ? NO-UNDO. /* ? on error, see return value */
RUN getUniqueFileName.p(
    INPUT cExtension,
    INPUT cTargetPath,
    OUTPUT cUniqueFileName).


Download getUniqueFileName.p. getUniqueFileName.p calls other routines, you should download ">getOsPath.p and getUUID.p too.



Convert special characters to lower ASCII stringsNext Page

Previous PageGet the absolute OS path


Progress 4GL Code Samples · Index · Part 1 · 2 · 3 · 4 · 5 · Expand · Web Feed



Author: Sebastian
Last Update: Friday, March 25, 2005   Web Feed

· Home

· Development

· P4GL Code

· Web Links

· Link to us

· Contact

· What's new

· Site map

· Get Help


Most popular:

· Site Feeds

· Database Design Guide

· Google Sitemaps

· smartDataPump

· Spider Support

· How To Link Properly


Free Tools:

· Sitemap Validator

· Simple Sitemaps

· Spider Spoofer

· Ad & Click Tracking



Search Google
Web Site

Add to My Yahoo!
Syndicate our Content via RSS FeedSyndicate our Content via RSS Feed



To eliminate unwanted email from ALL sources use SpamArrest!






Digg this · Add to del.icio.us · Add to Furl · We Can Help You!




Home · Categories · Articles & Tutorials · Syndicated News, Blogs & Knowledge Bases · Web Log Archives


Top of page

No Ads


Copyright © 2004, 2005 by Smart IT Consulting · Reprinting except quotes along with a link to this site is prohibited · Contact · Privacy