dynamic_array_classic_asp

Collection of libraries and classes for having dynamic arrays on classic asp.

https://github.com/r0mb0/dynamic_array_classic_asp

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (5.1%) to scientific vocabulary

Keywords

asp-classic class classic-asp classic-asp-lang classic-asp-language dynamic-array dynamic-arrays italian-developers library r0mb0
Last synced: 9 months ago · JSON representation ·

Repository

Collection of libraries and classes for having dynamic arrays on classic asp.

Basic Info
  • Host: GitHub
  • Owner: R0mb0
  • License: mit
  • Language: Classic ASP
  • Default Branch: main
  • Homepage:
  • Size: 102 KB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 7
Topics
asp-classic class classic-asp classic-asp-lang classic-asp-language dynamic-array dynamic-arrays italian-developers library r0mb0
Created over 1 year ago · Last pushed about 1 year ago
Metadata Files
Readme Contributing Funding License Code of conduct Citation Security Support

README.md

Dynamic array in Classic ASP

Codacy Badge

Maintenance Open Source Love svg3 MIT

Donate

## `Dynamic_array.asp`'s avaible Functions - **Initialize the array** -> `initialize_array()` - **Check if the array is initializated** -> `is_array_initializated()` - **Add an element into the array** -> `add_element_to_array(element)` - **Get element from index** -> `get_element_from_array(idx)` - **Remove last element from array** -> `remove_last_element_from_array()` - **Remove an element from array** -> `remove_all_occurences_from_array(element)` - **Remove the first element occurence from array** -> `remove_first_occurence_from_array(element)` - **Remove element from index** -> `remove_this_elements_from_array(idx)` - **Remove elements from indices** -> `remove_these_elements_from_array(indices_array)` - **Reset the array** -> `initialize_array()` - **Check if an element is in the array** -> `array_contains(element)` - **Retrieve the first index of an element in the array** -> `from_array_get_first_index_occurence_of(element)` - **Retrieve all indeces of an element inside the array (return an array)** -> `from_array_get_all_indeces_occurence_of(element)` - **Retrieve the entire array** -> `get_array()` - **Retrieve the array dimension** -> `get_array_dimension()` - **Write the entire array** -> `write_array()` ## How to use > From `Test1.asp` 1. Initialize the array and check it's status ```asp <%@LANGUAGE="VBSCRIPT"%> <% initialize_array() Response.Write("Array status: ") Response.Write(is_array_initializated() & "
") ``` 2. Use the functions to manage the array ```asp add_element_to_array("A") add_element_to_array("B") add_element_to_array("C") add_element_to_array("D") Response.Write("Elements inside: ") write_array() %> ```
## `Dynamic_arrays.asp`'s avaible Functions - **Initialize a dynamic array** -> `get_initializated_dynamic_array()` - **Add an element into a dynamic array** -> `add_element_to_dynamic_array(my_array,element)` - **Get element from index** -> `get_element_from_dynamic_array(my_array,idx)` - **Remove last element from a dynamic array** -> `remove_last_element_from_dynamic_array(my_array)` - **Remove all element occurences from a dyamic array** -> `remove_all_occurences_from_dynamic_array(my_array,element)` - **Remove first element occurence from a dynamic array** -> `remove_first_occurence_from_dynamic_array(my_array,element)` - **Remove element from index** -> `remove_this_elements_from_dynamic_array(my_array,idx)` - **Remove elements from indices** -> `remove_these_elements_from_dynamic_array(my_array,indices_array)` - **Reset a dynamic array** -> `get_initializated_dynamic_array()` - **Check if an element is in the dynamic array** -> `dynamic_array_contains(my_array,element)` - **Retrieve the first index of an element inside a dynamic array** -> `from_dynamic_array_get_first_index_occurence_of(my_array,element)` - **Retrieve all indeces of an element inside the dynamic array (return an array)** -> `from_dynamic_array_get_all_indeces_occurence_of(my_array,element)` - **Retrieve the dynamic array dimension** -> `get_dynamic_array_dimension(my_array)` - **Write an entire dynamic array** -> `write_dynamic_array(my_array)` ## How to use > From `Test.asp` 1. Create array and initialize it ```asp <%@LANGUAGE="VBSCRIPT"%> <% Dim test_array test_array = Array() test_array = get_initializated_dynamic_array() ``` 2. Pass the array to functions for manage ```asp add_element_to_dynamic_array test_array,"A" add_element_to_dynamic_array test_array,"B" add_element_to_dynamic_array test_array,"C" write_dynamic_array(test_array) %> ```
## `dArray.class.asp`'s avaible Functions - **Initialize class** -> `sub class_initialize()` - **Terminate class** -> `sub class_terminate()` - **Add an element** -> `Public Function add_element(element)` - **Get element from index** -> `Public Function get_element(idx)` - **Get array dimension** -> `Public Function get_dimension()` - **Remove last element** -> `Public Function remove_last_element()` - **Remove all element occurences** -> `Public Function remove_all_occurences(element)` - **Remove first element occurence** -> `Public Function remove_first_occurence(element)` - **Remove element from index** -> `Public Function remove_this_element(idx)` - **Remove elements from indices** -> `Public Function remove_these_elements(indices_array)` - **Reset** -> Re-initialize the class - **Check if an element is present** -> `Public Function contains(element)` - **Retrieve the first index of an element** -> `Public Function get_first_index_occurence_of(element)` - **Retrieve all indeces of an element (return an array)** -> `Public Function get_all_indeces_occurence_of(element)` - **Write the entire array** -> `Public Function write_array()` ## How to use > From `Test.asp` 1. Initialize the class ```asp <%@LANGUAGE="VBSCRIPT"%> <% Dim da Set da = new dArray ``` 2. Use the class ```asp da.add_element("A") da.add_element("B") da.add_element("C") da.add_element("D") da.add_element("A") da.add_element("B") da.add_element("C") da.add_element("D") da.add_element("A") Response.Write("Elements inside: ") da.write_array() %> ```

Not made by AI

Owner

  • Name: Francesco Rombaldoni
  • Login: R0mb0
  • Kind: user
  • Location: Italy
  • Company: INRCA/SIA

If I'm living in a crisis without realizing it?

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Rombaldoni"
  given-names: "Francesco"
title: "Dynamic_array_asp_classic"
version: 1.5.0
date-released: 2024-10-24
url: "https://github.com/R0mb0/Dynamic_array_asp_classic"

GitHub Events

Total
  • Release event: 7
  • Watch event: 1
  • Push event: 51
  • Create event: 6
Last Year
  • Release event: 7
  • Watch event: 1
  • Push event: 51
  • Create event: 6

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels