Stack plug-in: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
No edit summary
m (Added some more wiki formatting.)
Line 2: Line 2:


== Links ==
== Links ==
Download v1.2:<br>
Download v1.2:<br>
<attach>Stack.zip</attach>
<attach>Stack.zip</attach>
Line 12: Line 11:


This is NSIS plug-in for stack.
This is NSIS plug-in for stack.


'''Functions for working with NSIS stack (linear):'''
== DLL Functions ==
*ns_push_front
 
-Adds an element to the top of the NSIS stack (same as Push)
=== For NSIS stack (linear) ===
<br><br>
 
*ns_pop_front
;ns_push_front
-Removes the element from the top of the NSIS stack and puts it in the variable (same as Pop)
:Adds an element to the top of the NSIS stack (same as Push)
<br><br>
 
*ns_push_back
;ns_pop_front
-Adds an element to the beginning of the NSIS stack.
:Removes the element from the top of the NSIS stack and puts it in the variable (same as Pop)
<br><br>
 
*ns_stack_read
;ns_push_back
-Finds the NSIS element with index and puts it in the variable.
:Adds an element to the beginning of the NSIS stack.
<br><br>
 
*ns_stack_write
;ns_stack_read
-Finds the NSIS element with index and rewrite it.
:Finds the NSIS element with index and puts it in the variable.
<br><br>
 
*ns_stack_size
;ns_stack_write
-Gets the number of elements in the NSIS stack.
:Finds the NSIS element with index and rewrite it.
<br><br>
 
*ns_stack_clear
;ns_stack_size
-Clears all NSIS stack
:Gets the number of elements in the NSIS stack.
<br><br>
 
;ns_stack_clear
:Clears all NSIS stack
 
=== For private plug-in stack (bilinear) ===
 
;dll_push_front
:Adds an element to the top of the private stack.
 
;dll_pop_front
:Removes the element from the top of the private stack and puts it in the variable.
 
;dll_push_back
:Adds an element to the beginning of the private stack.
 
;dll_pop_back
:Removes the element from the beginning of the private stack and puts it in the variable.
 
;dll_stack_read
:Finds the private element with index and puts it in the variable.
 
;dll_stack_write
:Finds the private element with index and rewrite it.
 
;dll_stack_insert
:Finds the private element with index and inserts new element in it index.
 
;dll_stack_exchange
:Finds the elements with indexes and exchanges them.
 
;dll_stack_reverse_range
:Reverse range of elements.
 
;dll_stack_delete
:Finds the private element with index, puts it in the variable and removes it.
 
;dll_stack_delete_range
:Finds the elements between indexes and removes.
 
;dll_stack_move
:Finds the element with index and move it to the new index.
 
;dll_stack_move_range
:Finds the elements by indexes and move them to the new index.
 
;dll_push_sort
:Pushs element to the stack and sorts alphabetically in ascending or descending.
 
;dll_stack_sort
:Sorts the stack alphabetically in ascending or descending.
 
;dll_stack_size
:Gets the number of elements in the private stack.


'''Functions for working with private stack (bilinear):'''
;dll_stack_clear
*dll_push_front
:Clears all private stack
-Adds an element to the top of the private stack.
<br><br>
*dll_pop_front
-Removes the element from the top of the private stack and puts it in the variable.
<br><br>
*dll_push_back
-Adds an element to the beginning of the private stack.
<br><br>
*dll_pop_back
-Removes the element from the beginning of the private stack and puts it in the variable.
<br><br>
*dll_stack_read
-Finds the private element with index and puts it in the variable.
<br><br>
*dll_stack_write
-Finds the private element with index and rewrite it.
<br><br>
*dll_stack_insert
-Finds the private element with index and inserts new element in it index.
<br><br>
*dll_stack_exchange
-Finds the elements with indexes and exchanges them.
<br><br>
*dll_stack_reverse_range
-Reverse range of elements.
<br><br>
*dll_stack_delete
-Finds the private element with index, puts it in the variable and removes it.
<br><br>
*dll_stack_delete_range
-Finds the elements between indexes and removes.
<br><br>
*dll_stack_move
-Finds the element with index and move it to the new index.
<br><br>
*dll_stack_move_range
-Finds the elements by indexes and move them to the new index.
<br><br>
*dll_push_sort
-Pushs element to the stack and sorts alphabetically in ascending or descending.
<br><br>
*dll_stack_sort
-Sorts the stack alphabetically in ascending or descending.
<br><br>
*dll_stack_size
-Gets the number of elements in the private stack.
<br><br>
*dll_stack_clear
-Clears all private stack


[[Category:Plugins]]
[[Category:Plugins]]

Revision as of 12:15, 2 September 2005

Author: Instructor (talk, contrib)


Links

Download v1.2:
Stack.zip (70 KB)

Discussion:
Forum thread

Description

This is NSIS plug-in for stack.

DLL Functions

For NSIS stack (linear)

ns_push_front
Adds an element to the top of the NSIS stack (same as Push)
ns_pop_front
Removes the element from the top of the NSIS stack and puts it in the variable (same as Pop)
ns_push_back
Adds an element to the beginning of the NSIS stack.
ns_stack_read
Finds the NSIS element with index and puts it in the variable.
ns_stack_write
Finds the NSIS element with index and rewrite it.
ns_stack_size
Gets the number of elements in the NSIS stack.
ns_stack_clear
Clears all NSIS stack

For private plug-in stack (bilinear)

dll_push_front
Adds an element to the top of the private stack.
dll_pop_front
Removes the element from the top of the private stack and puts it in the variable.
dll_push_back
Adds an element to the beginning of the private stack.
dll_pop_back
Removes the element from the beginning of the private stack and puts it in the variable.
dll_stack_read
Finds the private element with index and puts it in the variable.
dll_stack_write
Finds the private element with index and rewrite it.
dll_stack_insert
Finds the private element with index and inserts new element in it index.
dll_stack_exchange
Finds the elements with indexes and exchanges them.
dll_stack_reverse_range
Reverse range of elements.
dll_stack_delete
Finds the private element with index, puts it in the variable and removes it.
dll_stack_delete_range
Finds the elements between indexes and removes.
dll_stack_move
Finds the element with index and move it to the new index.
dll_stack_move_range
Finds the elements by indexes and move them to the new index.
dll_push_sort
Pushs element to the stack and sorts alphabetically in ascending or descending.
dll_stack_sort
Sorts the stack alphabetically in ascending or descending.
dll_stack_size
Gets the number of elements in the private stack.
dll_stack_clear
Clears all private stack