Differences between revisions 22 and 32 (spanning 10 versions)
Revision 22 as of 2009-12-31 20:28:40
Size: 1009
Editor: KaiJaeger
Comment:
Revision 32 as of 2011-07-18 18:22:00
Size: 2335
Editor: KaiJaeger
Comment: New version
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from APLTeamsUtil
= APLTeamUtils =
{{{APLTeamUtils}}} is part of the CategoryAplApl project.
= APLTreeUtils =
{{{APLTreeUtils}}} is part of the CategoryAplTree project.
Line 5: Line 4:
Almost all classes created by APL Team Ltd (with the important exception of [[ADOC]]) :Include the namespace script APLTeamUtil. Many classes in the [[CategoryAplTree|APLTree]] project (with the notable exception of [[ADOC]]) `:Include` the namespace script `APLTreeUtils`.
Line 7: 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. 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. (If you use `ScriptManager` it will deal with that for you)
Line 9: Line 8:
Note that this script injects an Open-Source copyright notice into any class that `:Include`s it. == 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
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.
Nest ⍝ Enclose if right argument is simple.
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.
WriteUtf8File ⍝ Creates or overwrites a UTF8 file without BOM.
dmb ⍝ Delete multiple blanks.
}}}
Line 12: Line 30:
In the APL wiki code repository you can access the APLTeamUtils sub project with: In the APL wiki code repository you can access the APLTreeUtils sub project with:
Line 15: Line 33:
svn list svn://aplteam.com/os/dyalog/APLTeamUtils svn list svn://aplteam.com/os/dyalog/APLTreeUtils
Line 17: Line 35:

== Project Page ==

For bug reports, future enhancements and a full version history see [[APLTreeUtils/ProjectPage]]
Line 20: Line 43:
||Current state: ||1.39 || ||Current state: ||1.9.0 ||
Line 22: Line 45:
[[http://aplwiki.com/APLTreeUtils?action=AttachFile&do=get&target=APLTreeUtils.zip|Download right now]]
Line 23: Line 47:
[[http://aplteam.com/aplwiki/APLTeamUtilsDownloadPage?action=AttachFile&do=get&target=APLTeamUtils.ZIP|Download right now]]

[[attachment:APLTeamUtils.ZIP|Manage the attachment]]
[[attachment:APLTreeUtils.ZIP|Manage the attachment]]
Line 28: Line 50:
CategoryAplApl 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 this namescript script 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
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.
Nest            ⍝ Enclose if right argument is simple.
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.
WriteUtf8File   ⍝ Creates or overwrites a UTF8 file without BOM.
dmb             ⍝ Delete multiple blanks.

Repository

In the APL wiki code repository you can access the APLTreeUtils sub project with:

svn list svn://aplteam.com/os/dyalog/APLTreeUtils

Project Page

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

Original author:

KaiJaeger

Responsible:

KaiJaeger

Email:

kai@aplteam.com

Current state:

1.9.0

Download right now

Manage the attachment


CategoryAplTree

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