Posted on June 12, 2007 by bayuadji
Tcl mempunyai 2 jenis variabel scope (atau mungkin bila diterjemahkan
menjadi lingkup ).
global
global variabel dapat diakses diseluruh script, akan tetapi sebuah
prosedur/method dapat melakukan overshadow global variabel dengan
mendefinisikan variable lokal dengan nama yang sama.
lokal
lokal variabel hanya dapat diakses dalam lingkup sebuah fungsi.
bila didalam fungsi/method ingin menggunakan variabel global, maka
kita menggunakan peringah global, berikut ini adalah contoh [...]
Filed under: Software Dev, tcl/tk | Leave a Comment »
Posted on June 12, 2007 by bayuadji
Recently I couldn’t debug my application using eclipse 3.2, it will throw “Could not connect to VM”. And in the console there is a log
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=JVMTI_ERROR_INTERNAL(113)
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_LOAD(509) ["debugInit.c",L476]
JDWP exit error JVMTI_ERROR_INTERNAL(113): No transports initialized
I am using Ubuntu 7.04, after a googling [...]
Filed under: Software Dev | Leave a Comment »