Differences between revisions 1 and 40 (spanning 39 versions)
Revision 1 as of 2007-10-01 13:36:24
Size: 512
Editor: KaiJaeger
Comment:
Revision 40 as of 2013-10-02 18:18:08
Size: 2470
Editor: KaiJaeger
Comment: New version
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= APLTeamsUtil = = APLTreeUtils =
{{{APLTreeUtils}}} is part of the CategoryAplTree project.
Line 3: Line 4:
Almost all classes created by APL Team Ltd (with the important exception of ADOC) :Include the namespace script APLTeamUtil. <<TableOfContents>>
Line 5: Line 6:
That means that before you can load successfully one of these classes, you must make sure that this namescript script is already in the current workspace. Many classes in the [[CategoryAplTree|APLTree]] project (with the notable exception of [[ADOC]]) `:Include` the namespace script `APLTreeUtils`.
Line 7: Line 8:
||Original author:||KaiJaeger||
||Responsible:||KaiJaeger||
||Email:||kai@aplteam.com||
That means that before you can load successfully one of these classes you must make sure that the namespace script `#.APLTreeUtils` is already in the current workspace. (If you use `ScriptManager` it will deal with that for you)
Line 11: Line 10:
Goto the [:APLTeamUtilsDownloadPage:APLTeamUtilsDownloadPage] == List of functions ==

{{{
CreateUUID ⍝ Returns a UUID. See http://en.wikipedia.org/wiki/Universally_unique_identifier for details.
Enlist ⍝ Flattens the right argument no matter what it is.
FindPathTo ⍝ Usefulto find a certain script.
First ⍝ Returns the first scalar of its right argument no matter what `⎕ML` is.
FormatDateTime ⍝ Formats one to many date.
GoToWebPage ⍝ Fires up the default browser an displays the page specified as right argument.
IsChar ⍝ Returns a 1 if the right argument is of type Char.
IsUnicode ⍝ Returns a 1 if executed in a Unicode version of Dyalog.
Last ⍝ Returns the extension from a full path. Change default separator (`.`) via left argument.
Lowercase ⍝ Enforce lowercase for strings as well as a vector of strings.
Mix ⍝ Performs a "Mix" operation no matter what `⎕ML` actually is.
Nest ⍝ Enclose if right argument is simple.
ReadBytesAs8BitSignedIntegersFromFile
ReadUtf8File ⍝ Return contents of a UTF8 file.
Split ⍝ Split string . Default separator (CR+LF) can be changed by specifying a left argument.
SplitPath ⍝ Part Path from filename+extension. Change default separator (`\`) via left argument.
Uppercase ⍝ Enforce uppercase for strings as well as a vector of strings.
Where ⍝ Returns indices for Boolean scalar or vector `⍵`.
WriteBytesAs8BitSignedIntegersToFile
WriteUtf8File ⍝ Creates or overwrites a UTF8 file without BOM.
dlb ⍝ Delete leading blanks.
dmb ⍝ Delete multiple blanks.
dtb ⍝ Delete trailing blanks.
}}}

== Project Page ==

For bug reports, future enhancements and a full version history see [[APLTreeUtils/ProjectPage]]

||Original author: ||KaiJaeger ||
||Responsible: ||KaiJaeger ||
||Email: || kai@aplteam.com ||

<<Include(APLTreeDownloads)>>
Line 13: Line 49:
CategoryOpenSourceApl CategoryAplAplDyalog CategoryAplTree

APLTreeUtils

APLTreeUtils is part of the CategoryAplTree project.

Many classes in the APLTree project (with the notable exception of ADOC) :Include the namespace script APLTreeUtils.

That means that before you can load successfully one of these classes you must make sure that the namespace script #.APLTreeUtils is already in the current workspace. (If you use ScriptManager it will deal with that for you)

List of functions

CreateUUID      ⍝ Returns a UUID. See http://en.wikipedia.org/wiki/Universally_unique_identifier for details.
Enlist          ⍝ Flattens the right argument no matter what it is.
FindPathTo      ⍝ Usefulto find a certain script.
First           ⍝ Returns the first scalar of its right argument no matter what `⎕ML` is.
FormatDateTime  ⍝ Formats one to many date.
GoToWebPage     ⍝ Fires up the default browser an displays the page specified as right argument.
IsChar          ⍝ Returns a 1 if the right argument is of type Char.
IsUnicode       ⍝ Returns a 1 if executed in a Unicode version of Dyalog.
Last            ⍝ Returns the extension from a full path.  Change default separator (`.`) via left argument.
Lowercase       ⍝ Enforce lowercase for strings as well as a vector of strings.
Mix             ⍝ Performs a "Mix" operation no matter what `⎕ML` actually is.
Nest            ⍝ Enclose if right argument is simple.
ReadBytesAs8BitSignedIntegersFromFile
ReadUtf8File    ⍝ Return contents of a UTF8 file.
Split           ⍝ Split string . Default separator (CR+LF) can be changed by specifying a left argument.
SplitPath       ⍝ Part Path from filename+extension.   Change default separator (`\`) via left argument.
Uppercase       ⍝ Enforce uppercase for strings as well as a vector of strings.
Where           ⍝ Returns indices for Boolean scalar or vector `⍵`.
WriteBytesAs8BitSignedIntegersToFile 
WriteUtf8File   ⍝ Creates or overwrites a UTF8 file without BOM.
dlb             ⍝ Delete leading blanks.
dmb             ⍝ Delete multiple blanks.
dtb             ⍝ Delete trailing blanks.

Project Page

For bug reports, future enhancements and a full version history see APLTreeUtils/ProjectPage

Original author:

KaiJaeger

Responsible:

KaiJaeger

Email:

kai@aplteam.com


CategoryAplTree

APLTreeUtils (last edited 2018-03-03 11:46:51 by KaiJaeger)