![Smile :-)](./images/smilies/icon_e_smile.gif)
If I .prepend or .log an array nothing happens (with .log it prints the date line).
Is it done on purpose these can't display arrays?
Code: Select all
a:=Class_Console("a",100,100,800,500)
array:=[1,2,3,4,5,[1,2,3,4,5],7,8,[1,[1,2],2],10]
a.append(array)
array:={"a":1,"b":2,"c":3,"d":4,"e":5,"f":{"fa":1,"fb":2,"fc":3,"fd":4,"fe":5},"g":7,"h":8,"i":{"ia":1,"ib":{"iba":1,"ibb":2},"ic":3},"j":10}
a.append(array)
a.show()
return
Code: Select all
a:=new console("a",100,100,800,400)
a.append("text")
a.show()
return
Code: Select all
a:=new console("ab",100,100,800,400)
a.append("text")
a.show()
return
Code: Select all
ab:=new console("ab",100,100,800,400)
ab.append("text")
ab.show()
return
Code: Select all
array:={a:"b",c: {d:"e",f:"g"},h:"i"}
a:=new console("a",100,100,800,400)
a.show()
a.append("appending some text") ; works
a.log("logging some text") ; works
a.append(array) ; works
sleep 500
a.append("appending some text") ; works
a.log(array) ; doesn't work
sleep 500
a.prepend("prepending some text") ; works
sleep 500
a.prepend(array) ; doesn't work
return
Esc::
critical
exitapp
return
where is the bug? i ll fix it... because it seems to work fine...it fails to start due to VarSetCapacity not implemented
wheres the bug? tell me, so i can fix it.. :OAfterLemon wrote:(Not much experience with LibCon, it fails to start due to VarSetCapacity not implemented)
Hey, try not to offtopic the thread. :]joedf wrote:wheres the bug? tell me, so i can fix it.. :OAfterLemon wrote:(Not much experience with LibCon, it fails to start due to VarSetCapacity not implemented)
Code: Select all
array:={a:"b"}
Class_Console("a",100,100,800,400)
a.show()
a.append(array) ; only shows arr["a"]= instead of arr["a"]=b
Return
Code: Select all
array:={a:"b",c: {d:"e",f:"g"},h:"i"}
Class_Console("a",100,100,800,400)
a.show()
loop 10
a.prepend("prepending some text")
sleep 1500
a.prepend(array)
return
Return to “Scripts and Functions (v1)”
Users browsing this forum: No registered users and 252 guests