Please enable JavaScript to view this site.

A-Shell Development History

Navigation: » No topics above this level «

Parameter Passing Fix

Scroll Prev Top Next More

 

Ordered map parameter passing bug fix: the value of an ordmap(varstr;varx) map was being incorrectly treated as string rather than unformatted when passing it to a function, causing the transfer to be terminated prematurely on the first null byte. For example:

dimx $m, ordmap(varstr;varx)

map1 mx, x, 0

...

call fn'foo($m(key$))   ! possible incomplete transfer of param

 

mx = fn'foo($m(key$))   

call fn'foo(mx)         ! ok