Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
set post_fid [open H:\\CADCAM\\NX_Settings\\shop_doc\\tempvars\\posts r]
set postlistvar [split [gets $post_fid]]
close $post_fid
ComboBox -value $postlistvar
set postlistvar [split [gets $post_fid]]
set post_fid [open $shopdoc_temp_dir\posts r]
set postlist1 [split [gets $post_fid]]
set postlist2 [split [gets $post_fid]]
close $post_fid
::combobox::combobox $w.postcombo1\
-textvariable post \
-editable false\
-width 32
$w.postcombo1 configure -values $postlist1
grid $w.postcombo1 -row 1 -column 2
::combobox::combobox $w.postcombo2\
-textvariable post \
-editable false\
-width 32
$w.postcombo2 configure -values $postlist2
grid $w.postcombo2 -row 1 -column 3
set post_fid [open $shopdoc_temp_dir\posts r]
set postlist1 [split [gets $post_fid]]
set postlist2 [split [gets $post_fid]]
close $post_fid
::combobox::combobox $w.postcombo1 -value 1\
-textvariable post \
-editable false\
-width 32
#$w.postcombo1 configure -values $postlist1
grid $w.postcombo1 -row 1 -column 2
::combobox::combobox $w.postcombo2\
-textvariable post \
-editable false\
-width 32
#$w.postcombo2 configure -values $postlist2
grid $w.postcombo2 -row 1 -column 3
set shopdoc_temp_dir "H:\\CADCAM\\NX_Settings\\shop_doc\\tempvars\\"
set post_fid [open $shopdoc_temp_dir\posts r]
set postlist1 [split [gets $post_fid]]
set postlist2 $postlist1
close $post_fid
set shopdoc_addon_dir "H:\\CADCAM\\NX_Settings\\shop_doc\\"
source $shopdoc_addon_dir\combobox.tcl
::combobox::combobox .postcombo1 -value {1 2}\
-textvariable post1 \
-editable false
grid .postcombo1 -row 1 -column 1
lappend post1 {0 1 2 3 }
set proc_run_num 2
set position $proc_run_num+2
#here is a problem, the $position will be 2+2 instead of 4
puts "lrange $list $position $position"
#will write: lrange <the content of the list> 2+2 2+2
...set data [read $fid]
close $fid
set lines [split $data \n]
set posts [lrange $lines 0 0]
puts $posts