Skip to content

Avocado v2.2.1.0 Release Notes

Choose a tag to compare

@Programista-Art Programista-Art released this 31 Dec 06:03
· 23 commits to main since this release

[EN]

Avocado – update

Avocado now has 271 functions.
In this update, I added support for a text list object, which is an equivalent of TStringList from Pascal.

The object is available in two versions:

  • Polish: lista_tekstów / lista_tekstow
  • English: string_list

In the Avocado language, you can write in Polish with or without diacritical characters. All functions also have English aliases.


lista_tekstów object – available functions

Creation and basic usage:

  • tworz_lista_tekstów(s) – creates a new list
  • dodaj_lista(h, x) – adds an element to the list
  • ilosc(h) – returns the number of elements
  • teksty(h, i) – retrieves an element by index
  • h.tekst – outputs the entire list contents
  • h.zwolnij – frees the object from memory

New features – 10 new methods

List content modification:

  • wstaw_do_listy / insert_to_list – inserts an element at a specific position
  • usuń_z_listy / usun_z_listy / delete_to_list – removes an element by index
  • usuń_z_listy_id / usun_z_listy_id / delete_to_list_id – removes an element by value
  • wyczyść_listę / wyczysc_liste / clear_list – clears the entire list
  • ustaw_tekst / set_text – changes the value of an element

Sorting:

  • sortuj_listę / sort_list – automatic sorting
  • ręcznie_sortuj_listę / manually_sort_list – manual sorting

Searching:

  • znajdź_indeks_lista / find_index_list – finds the index of an element
  • szukaj_wartość_w_liście / search_value_in_list – fast search in a sorted list

File operations:

  • załaduj_z_pliku / load_from_file – loads the list from a file

Changes in Avocado IDE

View tab:

  • “Always on top” mode – the IDE is not covered by other windows
  • Standard mode – normal window behavior

Help tab:

  • New item “Patroni Avocado” – a list of people supporting the project

New templates

  • Added a basic console program template
    File → New → Console program

The project is being developed consistently – more features and improvements are in progress.
Thank you all for your support and feedback.

Polish documentation:
https://doc.avocado-code.com/

[PL]

Avocado – aktualizacja

Avocado posiada już 271 funkcji.
W tej aktualizacji dodałem obsługę obiektu listy tekstów, będącego odpowiednikiem TStringList z Pascala.

Obiekt dostępny jest w dwóch wersjach:

  • polska: lista_tekstów / lista_tekstow
  • angielska: string_list

W języku Avocado można pisać po polsku z użyciem polskich znaków diakrytycznych lub bez nich. Wszystkie funkcje posiadają również angielskie aliasy.


Obiekt lista_tekstów – dostępne funkcje

Tworzenie i podstawowa obsługa:

  • tworz_lista_tekstów(s) – tworzy nową listę
  • dodaj_lista(h, x) – dodaje element do listy
  • ilosc(h) – zwraca liczbę elementów
  • teksty(h, i) – pobiera element po indeksie
  • h.tekst – wypisuje całą zawartość listy
  • h.zwolnij – zwalnia obiekt z pamięci

Nowości – 10 nowych metod

Modyfikacja zawartości listy:

  • wstaw_do_listy / insert_to_list – wstawianie elementu na określoną pozycję
  • usuń_z_listy / usun_z_listy / delete_to_list – usuwanie elementu po indeksie
  • usuń_z_listy_id / usun_z_listy_id / delete_to_list_id – usuwanie elementu po wartości
  • wyczyść_listę / wyczysc_liste / clear_list – czyszczenie całej listy
  • ustaw_tekst / set_text – zmiana wartości elementu

Sortowanie:

  • sortuj_listę / sort_list – sortowanie automatyczne
  • ręcznie_sortuj_listę / manually_sort_list – sortowanie ręczne

Wyszukiwanie:

  • znajdź_indeks_lista / find_index_list – znalezienie indeksu elementu
  • szukaj_wartość_w_liście / search_value_in_list – szybkie wyszukiwanie w posortowanej liście

Operacje na plikach:

  • załaduj_z_pliku / load_from_file – wczytanie listy z pliku

Zmiany w IDE Avocado

Zakładka Widok:

  • Tryb „Zawsze na górze” – IDE nie jest zasłaniane przez inne okna
  • Tryb standardowy – normalne zachowanie okien

Zakładka Pomoc:

  • Nowy punkt „Patroni Avocado” – lista osób wspierających projekt

Nowe szablony:

  • Dodany podstawowy szablon programu konsolowego
    Plik → Nowy → Program konsolowy

Projekt rozwijany jest konsekwentnie – kolejne funkcje i usprawnienia są w trakcie realizacji.
Dziękuję wszystkim za wsparcie i feedback.

Dokumentacja po polsku link