*********************** showIt_pyix.txt (text) *********************** #showIt.pyix #the extension ".pyix" defines an IX Software macro def #by D@CC #on 2024CMar17 #deprecates: progD.py in Article 183 #by: D@CC on 2023ISep06 #mod: 2024CMar17 #Repository: mpkg_py.pyix #SSD: _KIOXIA_GTLL #Purpose: define and invoke the "show" function # using the showIt IX Software macro #Caveat 01: show() does no error checking #Caveat 02: has only been tested with v type:str #Caveat 03: presumes that show.pyix is not in a pkg (yet) #Caveat 04: does no error checking #Caveat 05: presumes that show.py is in the current directory # and can be found by python #requires: there is no function pair yet for requires() #Example: strA="a"; i=1; showIt.pyix?v=strA,isToPrint=i #using: the simple in-line showIt.pyix macro #test: showIt_pyix_test.py #v # parm1: the name of the variable to display #i = 0 isToPrint # parm2: tell show to NOT list anything #i = 1 isToPrint # parm2: tell show to list the contents of a variable #Note 01: macro to invoke the IX Software show() function #Note 02: Next version should show the line number also #&| ¯oIX|:showIt.pyix &| show('"&v|:"',&v|,&isToPrint|)? ************************************************************************** #/showIt.pyix