IonicWind Snippit Manager 2.xx Released! Install it on a memory stick and take it with you! With or without IWBasic!
Started by aurelCB, August 27, 2020, 02:20:10 pm
0 Members and 1 Guest are viewing this topic.
Quote from: aurelCB on August 28, 2020, 03:23:03 amI agree and i know that very wellbut both of you miss my point look into red variables again:SUB colorize(w1 , ctl, linenum)def lineStart, lineLength : intdef i, ctl, linenum, char_start ; intdef p, pLine :intdo you see now ,one time is same variable defined as argument of function and then is again defined as local...so i am wondering again what is a point in this if we load some value into argument var-> linenum then again is terminated by local declaration linenum : inti am sorry but not make any sense to me !
Quote from: aurelCB on August 29, 2020, 11:35:54 amyes but with same name ..which is not very smart
test: proc options(main); call hello(5); hello: proc(n); dcl n fixed bin(31); dcl i fixed bin(31); do i = 1 to n; put skip list('Hello World!'); end; end hello; end test;