Skip to content

Simple extension for getting Maximum/Minimum value of YailList

License

Notifications You must be signed in to change notification settings

watermelonoof/MaxMinTools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MaxMinTools Extension for App Inventor 2

Simple extension for getting Maximum/Minimum value of YailList


Blocks

blocks.png

Description

Blocks Description
when Error occurred Raises when error occured (All errors can be view in Errors part)
call GetMaxValue Get maximum value of a list
call GetMinValue Get minimum value of a list
call GetValue Get maximum/minimum value. To get max value, method should be 1, otherwise 0.
Maximum Return 1 for max method
Minimum Return 0 for min method

Errors

Error Code Error
0 Input method should either be 0 or 1
1 Input list should be a list
2 Input list cannot be empty
3 Exception error
4 Unknown error, output is empty

Changelog

Version 3

  • Image resized to 16x16
  • Removed unnecessary code

Version 2

  • Return "error" instead of empty string when error occurred.
  • Code optimized, suggested by @Mohamed_Tamer in Kodular community. Related post here

Reference

Kodular community

Note

This extension is made in appybuilder code editor.

About

Simple extension for getting Maximum/Minimum value of YailList

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages