Home Applications ObjectScript-Math

ObjectScript-Math

This application is not supported by InterSystems Corporation. Please be notified that you use it at your own risk.
3.25
2 reviews
0
Awards
515
Views
484
IPM installs
0
6
Details
Releases
Reviews  (2)
Issues
Pull requests  (2)
Articles  (1)
Math library for InterSystems ObjectScript

What's new in this version

ZPM update

ObjectScript-Math

Math library for InterSystems ObjectScript. This library contains functions that are both standard to ObjectScript as well as functions that are not. For example TODO.

Once this library is installed, functions can be called two ways:

Set value=##class(Math.Math).LeastCommonMultiple(134,382)

or

Set value=$$$LeastCommonMultiple(134,382)

For installation guidance, follow the steps below.

If you would like to contribute, please follow the listed guidelines.

To report a bug or request an enhancement, please use the Issues feature.

Installing

With ZPM

If ZPM is not installed, see ZPM Open Exchange App for instructions.

Once Installed, enter the “zpm” command to enter the zpm shell:

SAMPLES>zpm
zpm: SAMPLES>

Once inside zpm, run “install objectscript-math” to install the package:

zpm: SAMPLES>install objectscript-math

[objectscript-math] Reload START
[objectscript-math] Reload SUCCESS
[objectscript-math] Module object refreshed.
[objectscript-math] Validate START
[objectscript-math] Validate SUCCESS
[objectscript-math] Compile START
[objectscript-math] Compile SUCCESS
[objectscript-math] Activate START
[objectscript-math] Configure START
[objectscript-math] Configure SUCCESS
[objectscript-math] Activate SUCCESS

Without ZPM

If ZPM is not installed and you do not plan on installing it, you can still quickly install this library.

If you plan on contributing, simply clone this Repository and load the files

If you would just like to use this library, please follow these steps:

  1. Navigate to the latest release
  2. Download the .xml file (ObjectScript-MathvX-X-X.xml) from the assets and copy the path to the file
  3. Run the following commands
Set path="COPIED PATH FROM STEP 2"
Do $system.OBJ.Load(path,"ck")

This will load Math.Math.cls, Math.Utils.cls, and Math.inc

Contributing

Please see the Contributing Guide

Made with
Install
zpm install objectscript-math download archive
Version
0.0.512 Nov, 2020
Category
Developer Environment
Works with
CachéInterSystems IRIS
First published
30 Dec, 2019
Last checked by moderator
15 Oct, 2024Doesn't work