****************************** test3_py_pyix.txt ****************************** This is a python stub and needs the IXf macro preprocessor #python: test3_py.pyix #by: D@CC #on: 2024CMar19 #Stub: has some entity invocations #needs: IXf macro preprocessor #Purpose: example test3_py.pyix in Article 217 #Repository: current folder or ix/sPkg_py.py #SSD: KIOXIA_GTLL #uses: test3_py_entDefs.pyix # entities: count, count2 # ix macro: showIt.pyix # entities: v, isToPrint # requires("show(s,s,s,'v==00'") # most recent entity values are used i.e. print("ent.values in test3_py_entDefs.pyix will be used") # becomes # program test3_py.py #print("count:"+&count|+":") count=&count| #macros entity def must NOT be an entity showIt.pyix?v=count,isToPrint=1 #invokes show00("count",count,1) print("&count2|:"+str(&count2|)+":") #can print an entity value print("before for . . count+int(&count2|)") # here,neither is an entity invocations for i in range(count+int(&count2|)): #count is not type str but &count2 is print("for loop:",i+.1) print("In for, count2:"+&count2|+":") # prints the value of entity &count2 #for end ************************************************************************************** #/test3_py_pyix.txt