Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | File Exchange
ATOMS : Read data appended to a script or in comment blocks details
Login with GitLab

Read data appended to a script or in comment blocks

Read blocks of data appended to a script or in a file
(1 downloads for this version - 2666 downloads for all versions)
Details
Version
1.1
Author
Samuel GOUGEON
Owner Organization
Le Mans Université
Maintainer
S G
Category
License
Creation Date
October 30, 2024
Source created on
Scilab 2025.0.x
Binaries available on
Scilab 2024.0.x:
Windows 64-bit Windows 32-bit Linux 64-bit Linux 32-bit macOS
Scilab 2025.0.x:
Windows 64-bit Windows 32-bit Linux 64-bit Linux 32-bit macOS
Install command
--> atomsInstall("read_datablock")
Description
            
read_datablock() reads any comment block of data embedded in the currently
running or edited script or in a given file.

If you want to smartly append in a script the data that the script needs and
uses, without external files, this module is for you.

This solution keeps the code clear, without mixing instructions and literal --
possibly bulky -- data.

Several blocks of data can be appended and used in the same script. They are
identified by an implicit number or by tags.

Because the script includes its required data, it stands alone. You can
distribute it as is, without bundling it with external data files requiring a
zipped archive, unzipping, management of external file paths, etc.

This solution allows to print the script together with its appended data, in one
shot.

User manual (PDF)
-----------------
English: https://atoms.scilab.org/toolboxes/read_datablock/1.0/files/read_datablock.pdf
            
Files (3)
[191.63 kB]
Source code archive

[186.88 kB]
OS-independent binary for Scilab 2024.0.x

[186.88 kB]
OS-independent binary for Scilab 2025.0.x

News (0)
Comments (0)
Leave a comment
You must register and log in before leaving a comment.
Login with GitLab
Email notifications
Send me email when this toolbox has changes, new files or a new release.
You must register and log in before setting up notifications.