uaarray.kbs seems odd (Language Help)

by Jim ⌂ @, Russell, KY, Friday, February 21, 2014, 16:23 (1128 days ago) @ JD Baker

JD,

Wow, I wrote that a long time ago with 4 different bits of code that failed miserably back in 0.9.6... Since then the variable class was created storing variables and arrays in a c++ vector not a mallocd array.

The assigning a list to a variable deletes the old contents (an array or atomic value) and then creates an initialized array. The dim is built in and if you did this assignment to an existing array it would de-allocate the entries first.

Just assigning an array element in a non-array variable still barfs because the behavior of the previous value / or unassigned value is totally undefined in BASIC.

I should probably delete that test :)

Jim


Complete thread:

 RSS Feed of thread

powered by my little forum